{
  "_id": "6ace09b9a14063b82c3aed03",
  "Package": "GHCNr",
  "Title": "Download Weather Station Data from GHCNd",
  "Version": "1.4.7",
  "Authors@R": "person(\"Emilio\", \"Berti\", , \"emilio.berti@idiv.de\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-9286-011X\"))",
  "Description": "The goal of 'GHCNr' is to provide a fast and friendly\ninterface with the Global Historical Climatology Network daily\n(GHCNd) database, which contains daily summaries of weather\nstation data worldwide\n(<https://www.ncei.noaa.gov/products/land-based-station/global-historical-climatology-network-daily>).\nGHCNd is accessed through the web API\n<https://www.ncei.noaa.gov/access/services/data/v1>. 'GHCNr'\nmain functionalities consist of downloading data from GHCNd,\nfilter it, and to aggregate it at monthly and annual scales.",
  "License": "MIT + file LICENSE",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libgdal-dev gdal-bin libgeos-dev libicu-dev\nlibssl-dev libproj-dev libsqlite3-dev libx11-dev",
  "Repository": "https://emilio-berti.r-universe.dev",
  "Date/Publication": "2026-06-15 12:06:57 UTC",
  "RemoteUrl": "https://github.com/emilio-berti/ghcnr",
  "RemoteRef": "HEAD",
  "RemoteSha": "88bfba1d348d35f8542613b5925d0ef19f15312d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 10:31:31 UTC",
    "User": "root"
  },
  "Author": "Emilio Berti [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9286-011X>)",
  "Maintainer": "Emilio Berti <emilio.berti@idiv.de>",
  "_user": "emilio-berti",
  "_type": "src",
  "_file": "GHCNr_1.4.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/c7598f5c831b568361eb0781dc7f721f8073e6f4a34383f0db8fe200fb1f0c9d",
  "_filesize": 813439,
  "_sha256": "c7598f5c831b568361eb0781dc7f721f8073e6f4a34383f0db8fe200fb1f0c9d",
  "_expires": "2027-01-21T10:36:39.000Z",
  "_created": "2026-10-13T10:31:31.000Z",
  "_published": "2026-10-13T10:36:41.042Z",
  "_buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/38383606504",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115251158738,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11804792773"
    },
    {
      "job": 115251158886,
      "time": 196,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11804846094"
    },
    {
      "job": 115251158905,
      "time": 250,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11804841652"
    },
    {
      "job": 115251158822,
      "time": 246,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11804049276"
    },
    {
      "job": 115249965827,
      "time": 177,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11803974754"
    },
    {
      "job": 115251158836,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11804768261"
    },
    {
      "job": 115251158887,
      "time": 138,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11804049073"
    },
    {
      "job": 115251158835,
      "time": 168,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11804408544"
    },
    {
      "job": 115251158951,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11803809884"
    }
  ],
  "_upstream": "https://github.com/emilio-berti/ghcnr",
  "_commit": {
    "id": "88bfba1d348d35f8542613b5925d0ef19f15312d",
    "author": "emilio-berti <emilio.berti90@gmail.com>",
    "committer": "emilio-berti <emilio.berti90@gmail.com>",
    "message": "Update version\n",
    "time": 1781525217
  },
  "_maintainer": {
    "name": "Emilio Berti",
    "email": "emilio.berti@idiv.de",
    "login": "emilio-berti",
    "description": "",
    "uuid": 38787972,
    "orcid": "0000-0001-9286-011X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "emilio-berti",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-44",
      "n": 5
    },
    {
      "week": "2026-25",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.4.6",
      "date": "2025-10-27"
    },
    {
      "name": "v1.4.7",
      "date": "2026-06-15"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "emilio-berti",
      "count": 91,
      "uuid": 38787972
    }
  ],
  "_userbio": {
    "uuid": 38787972,
    "type": "user",
    "name": "Emilio Berti",
    "followers": 15
  },
  "_downloads": {
    "count": 465,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/GHCNr"
  },
  "_devurl": "https://github.com/emilio-berti/ghcnr",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/GHCNr.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/emilio-berti/ghcnr",
  "_realowner": "emilio-berti",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.8.0",
      "date": "2024-12-13"
    },
    {
      "version": "1.0.0",
      "date": "2024-12-20"
    },
    {
      "version": "1.4.5",
      "date": "2025-01-07"
    },
    {
      "version": "1.4.6",
      "date": "2025-10-27"
    },
    {
      "version": "1.4.7",
      "date": "2026-06-15"
    }
  ],
  "_exports": [
    ".add_variables",
    ".api_error",
    ".check_flags",
    ".drop_flags",
    ".extract_flag",
    ".flags",
    ".max",
    ".mean",
    ".min",
    ".missing_variables",
    ".s3_annual",
    ".s3_anomaly",
    ".s3_daily",
    ".s3_monthly",
    ".s3_quarterly",
    ".sum",
    "annual",
    "annual_coverage",
    "anomaly",
    "as_daily",
    "coverage",
    "daily",
    "download_inventory",
    "elevation_stations",
    "filter_stations",
    "get_countries",
    "get_country",
    "monthly",
    "monthly_coverage",
    "period_coverage",
    "quarterly",
    "remove_flagged",
    "stations"
  ],
  "_datasets": [
    {
      "name": "CA003076680",
      "title": "Daily data for Station CA003076680",
      "object": "CA003076680",
      "class": [
        "ghcn_daily",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "station",
        "tavg",
        "tmin",
        "tmax",
        "prcp",
        "prcp_flag",
        "tmax_flag",
        "tmin_flag",
        "tavg_flag"
      ],
      "rows": 7547,
      "table": true,
      "tojson": true
    },
    {
      "name": "country_codes",
      "title": "Countries ISO Codes",
      "object": "country_codes",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "name",
        "iso3"
      ],
      "rows": 253,
      "table": true,
      "tojson": true
    },
    {
      "name": "USC00010655",
      "title": "Daily data for Station USC00010655",
      "object": "USC00010655",
      "class": [
        "ghcn_daily",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "station",
        "tmin",
        "tmax",
        "prcp",
        "prcp_flag",
        "tmax_flag",
        "tmin_flag"
      ],
      "rows": 8001,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "dot-add_variables",
      "title": "Add Columns to Handle Summarize",
      "topics": [
        ".add_variables"
      ]
    },
    {
      "page": "dot-api_error",
      "title": "Handles API Errors",
      "topics": [
        ".api_error"
      ]
    },
    {
      "page": "dot-check_flags",
      "title": "Check Flags Columns",
      "topics": [
        ".check_flags"
      ]
    },
    {
      "page": "dot-daily_request",
      "title": "Request Daily Summaries",
      "topics": [
        ".daily_request"
      ]
    },
    {
      "page": "dot-daily_url",
      "title": "Create Request URL for Daily Summaries",
      "topics": [
        ".daily_url"
      ]
    },
    {
      "page": "dot-drop_flags",
      "title": "Drop Flags Columns",
      "topics": [
        ".drop_flags"
      ]
    },
    {
      "page": "dot-elevation_url",
      "title": "The GHCNd Station URL with Elevation",
      "topics": [
        ".elevation_url"
      ]
    },
    {
      "page": "dot-extract_flag",
      "title": "Extract GHCNd Flags",
      "topics": [
        ".extract_flag"
      ]
    },
    {
      "page": "dot-flags",
      "title": "GHCNd Flags",
      "topics": [
        ".flags"
      ]
    },
    {
      "page": "dot-inventory_url",
      "title": "The GHCNd Inventory URL",
      "topics": [
        ".inventory_url"
      ]
    },
    {
      "page": "dot-max",
      "title": "Calculate Maximum",
      "topics": [
        ".max"
      ]
    },
    {
      "page": "dot-mean",
      "title": "Calculate Mean",
      "topics": [
        ".mean"
      ]
    },
    {
      "page": "dot-min",
      "title": "Calculate Minimum",
      "topics": [
        ".min"
      ]
    },
    {
      "page": "dot-missing_variables",
      "title": "Check Which Variables Are Absent",
      "topics": [
        ".missing_variables"
      ]
    },
    {
      "page": "dot-s3_annual",
      "title": "Annual Class Constructor",
      "topics": [
        ".s3_annual"
      ]
    },
    {
      "page": "dot-s3_anomaly",
      "title": "Anomaly Constructor",
      "topics": [
        ".s3_anomaly"
      ]
    },
    {
      "page": "dot-s3_daily",
      "title": "Daily Class Constructor",
      "topics": [
        ".s3_daily"
      ]
    },
    {
      "page": "dot-s3_monthly",
      "title": "Monthly Class Constructor",
      "topics": [
        ".s3_monthly"
      ]
    },
    {
      "page": "dot-s3_quarterly",
      "title": "Annual Quarter Constructor",
      "topics": [
        ".s3_quarterly"
      ]
    },
    {
      "page": "dot-sum",
      "title": "Calculate Sum",
      "topics": [
        ".sum"
      ]
    },
    {
      "page": "annual",
      "title": "Calculate Annual Timseries",
      "topics": [
        "annual"
      ]
    },
    {
      "page": "annual_coverage",
      "title": "Calculate Annual Coverage",
      "topics": [
        "annual_coverage"
      ]
    },
    {
      "page": "anomaly",
      "title": "Temperature Anomaly",
      "topics": [
        "anomaly"
      ]
    },
    {
      "page": "as_daily",
      "title": "Cast Table to Daily",
      "topics": [
        "as_daily"
      ]
    },
    {
      "page": "CA003076680",
      "title": "Daily data for Station CA003076680",
      "topics": [
        "CA003076680"
      ]
    },
    {
      "page": "country_codes",
      "title": "Countries ISO Codes",
      "topics": [
        "country_codes"
      ]
    },
    {
      "page": "coverage",
      "title": "Calculate Coverage of Daily Summaries",
      "topics": [
        "coverage"
      ]
    },
    {
      "page": "daily",
      "title": "Download Daily Summaries",
      "topics": [
        "daily"
      ]
    },
    {
      "page": "download_inventory",
      "title": "Download GHCNd Inventory File",
      "topics": [
        "download_inventory"
      ]
    },
    {
      "page": "elevation_stations",
      "title": "Get GHCNd Station Elevation",
      "topics": [
        "elevation_stations"
      ]
    },
    {
      "page": "filter_stations",
      "title": "Spatial Filtering of Stations",
      "topics": [
        "filter_stations"
      ]
    },
    {
      "page": "get_countries",
      "title": "Download multiple countries' shapefiles from geoBoundaries",
      "topics": [
        "get_countries"
      ]
    },
    {
      "page": "get_country",
      "title": "Download country shapefile from geoBoundaries",
      "topics": [
        "get_country"
      ]
    },
    {
      "page": "monthly",
      "title": "Calculate Monthly Summaries",
      "topics": [
        "monthly"
      ]
    },
    {
      "page": "monthly_coverage",
      "title": "Calculate Monthly Coverage",
      "topics": [
        "monthly_coverage"
      ]
    },
    {
      "page": "period_coverage",
      "title": "Calculate Period Coverage",
      "topics": [
        "period_coverage"
      ]
    },
    {
      "page": "plot.ghcn_annual",
      "title": "Plot GHCNd Timeseries",
      "topics": [
        "plot.ghcn_annual"
      ]
    },
    {
      "page": "plot.ghcn_anomaly",
      "title": "Plot GHCN Timeseries",
      "topics": [
        "plot.ghcn_anomaly"
      ]
    },
    {
      "page": "plot.ghcn_daily",
      "title": "Plot GHCNd Timeseries",
      "topics": [
        "plot.ghcn_daily"
      ]
    },
    {
      "page": "plot.ghcn_monthly",
      "title": "Plot GHCNd Timeseries",
      "topics": [
        "plot.ghcn_monthly"
      ]
    },
    {
      "page": "plot.ghcn_quarterly",
      "title": "Plot GHCNd Timeseries",
      "topics": [
        "plot.ghcn_quarterly"
      ]
    },
    {
      "page": "quarterly",
      "title": "Calculate Quarterly Timseries",
      "topics": [
        "quarterly"
      ]
    },
    {
      "page": "remove_flagged",
      "title": "Remove Flagged Recrods",
      "topics": [
        "remove_flagged"
      ]
    },
    {
      "page": "stations",
      "title": "Get GHCNd Inventory",
      "topics": [
        "stations"
      ]
    },
    {
      "page": "USC00010655",
      "title": "Daily data for Station USC00010655",
      "topics": [
        "USC00010655"
      ]
    }
  ],
  "_readme": "https://github.com/emilio-berti/ghcnr/raw/HEAD/.github/README.md",
  "_rundeps": [
    "askpass",
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "httr2",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "Rcpp",
    "readr",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "daily.Rmd",
      "filename": "daily.html",
      "title": "Daily Weather Data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Select GHCNd stations",
        "Download daily timeseries",
        "Remove flagged records",
        "Temporal coverage",
        "Monthly and annual timeseries, climatological normals"
      ],
      "created": "2024-12-09 08:01:17",
      "modified": "2025-10-27 13:12:33",
      "commits": 16
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "ghcnr",
  "_universes": [
    "emilio-berti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.7",
      "date": "2026-10-13T10:33:51.000Z",
      "distro": "resolute",
      "commit": "88bfba1d348d35f8542613b5925d0ef19f15312d",
      "fileid": "https://r2.ropensci.org/af8563fe02fa5f5a5af74f4c3e787204c5fb4876116881396b052ce711cff3d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/38383606504"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.7",
      "date": "2026-10-13T10:33:49.000Z",
      "distro": "resolute",
      "commit": "88bfba1d348d35f8542613b5925d0ef19f15312d",
      "fileid": "https://r2.ropensci.org/e78de0c97e999379bde75a8d5b7913c17399d8b3f14cef850b4d63139f575358",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/38383606504"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.7",
      "date": "2026-10-13T10:34:31.000Z",
      "commit": "88bfba1d348d35f8542613b5925d0ef19f15312d",
      "fileid": "https://r2.ropensci.org/50d1cc0640aa4a23f086ce534d8ca254bfe09e336227bbdd389f352b6adcca52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/38383606504"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.7",
      "date": "2026-10-13T10:34:16.000Z",
      "commit": "88bfba1d348d35f8542613b5925d0ef19f15312d",
      "fileid": "https://r2.ropensci.org/0e3cff5ca94852f0f8479358a87250e1c2641025a457cef9b31be98e079c53db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/38383606504"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.7",
      "date": "2026-10-13T10:33:55.000Z",
      "commit": "88bfba1d348d35f8542613b5925d0ef19f15312d",
      "fileid": "https://r2.ropensci.org/4b3952b70f5f22038ff11e6d05543592775144a8ab919693ef777b1c3c5ad5f4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/38383606504"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.7",
      "date": "2026-10-13T10:32:51.000Z",
      "commit": "88bfba1d348d35f8542613b5925d0ef19f15312d",
      "fileid": "https://r2.ropensci.org/e7779ea65029e474228f9442fc0c7c245c43a71db4c52d4fc283d6339157ef77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/38383606504"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.7",
      "date": "2026-10-13T10:33:02.000Z",
      "commit": "88bfba1d348d35f8542613b5925d0ef19f15312d",
      "fileid": "https://r2.ropensci.org/a270837e7c5c8a0fd1ea8fd1f0a8810ff4b11f58293574db307b258e4fb56b78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/38383606504"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.7",
      "date": "2026-10-13T10:32:52.000Z",
      "commit": "88bfba1d348d35f8542613b5925d0ef19f15312d",
      "fileid": "https://r2.ropensci.org/ebc5fbfa31fa7023ee413be45288230fa62a440b4d9abae8e0c12193f07fdce0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/38383606504"
    }
  ]
}