{
  "_id": "6a1d33bc1d7bb097a0a3c02e",
  "Package": "GHCNr",
  "Title": "Download Weather Station Data from GHCNd",
  "Version": "1.4.6",
  "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": "2025-10-27 13:12:33 UTC",
  "RemoteUrl": "https://github.com/emilio-berti/ghcnr",
  "RemoteRef": "HEAD",
  "RemoteSha": "e9c8d2c1008ff868b3a444af4e42189b65bb9073",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 07:08:59 UTC",
    "User": "root"
  },
  "Author": "Emilio Berti [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9286-011X>)",
  "Maintainer": "Emilio Berti <emilio.berti@idiv.de>",
  "MD5sum": "397a3d019fd30f0eab39444e6049a7ad",
  "_user": "emilio-berti",
  "_type": "src",
  "_file": "GHCNr_1.4.6.tar.gz",
  "_fileid": "261c291c622e8b756f66c4d52d71af98bb5b81a4421be146e0ffbbe53db87bcd",
  "_filesize": 816148,
  "_sha256": "261c291c622e8b756f66c4d52d71af98bb5b81a4421be146e0ffbbe53db87bcd",
  "_created": "2026-06-01T07:08:59.000Z",
  "_published": "2026-06-01T07:24:44.361Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78803125438,
      "time": 214,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7325419077"
    },
    {
      "job": 78803125424,
      "time": 207,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325417417"
    },
    {
      "job": 78803125422,
      "time": 234,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7325570130"
    },
    {
      "job": 78803125527,
      "time": 225,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325589715"
    },
    {
      "job": 78802704191,
      "time": 205,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325362842"
    },
    {
      "job": 78803125409,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325397676"
    },
    {
      "job": 78803125467,
      "time": 235,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7325425287"
    },
    {
      "job": 78803125514,
      "time": 205,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7325416938"
    },
    {
      "job": 78803125559,
      "time": 183,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325412156"
    }
  ],
  "_buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/26740352162",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/emilio-berti/ghcnr",
  "_commit": {
    "id": "e9c8d2c1008ff868b3a444af4e42189b65bb9073",
    "author": "emilio-berti <emilio.berti90@gmail.com>",
    "committer": "emilio-berti <emilio.berti90@gmail.com>",
    "message": "fix: newdata with update vignette call\n",
    "time": 1761570753
  },
  "_maintainer": {
    "name": "Emilio Berti",
    "email": "emilio.berti@idiv.de",
    "login": "emilio-berti",
    "description": "",
    "uuid": 38787972,
    "orcid": "0000-0001-9286-011X"
  },
  "_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
    }
  ],
  "_tags": [
    {
      "name": "v1.4.6",
      "date": "2025-10-27"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "emilio-berti",
      "count": 89,
      "uuid": 38787972
    }
  ],
  "_userbio": {
    "uuid": 38787972,
    "type": "user",
    "name": "Emilio Berti"
  },
  "_downloads": {
    "count": 169,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/GHCNr"
  },
  "_devurl": "https://github.com/emilio-berti/ghcnr",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/GHCNr.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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",
    "rappdirs",
    "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,
  "_indexed": true,
  "_nocasepkg": "ghcnr",
  "_universes": [
    "emilio-berti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.6",
      "date": "2026-06-01T07:11:33.000Z",
      "distro": "noble",
      "commit": "e9c8d2c1008ff868b3a444af4e42189b65bb9073",
      "fileid": "9ae1e3e96e19252167547fd7aa9e4cdf018357be46b5b26c1be46b481e792f37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/26740352162"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.6",
      "date": "2026-06-01T07:11:28.000Z",
      "distro": "noble",
      "commit": "e9c8d2c1008ff868b3a444af4e42189b65bb9073",
      "fileid": "d6825dd76010e2cbadfda206aebd7363afc35cd4eb99d40057b69b53def432ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/26740352162"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.6",
      "date": "2026-06-01T07:21:37.000Z",
      "commit": "e9c8d2c1008ff868b3a444af4e42189b65bb9073",
      "fileid": "554e926b84d019224767bfc8c95f7feee4b904bab52afd9ac80bc1f4c4ab8658",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/26740352162"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.6",
      "date": "2026-06-01T07:22:40.000Z",
      "commit": "e9c8d2c1008ff868b3a444af4e42189b65bb9073",
      "fileid": "0aa68d332d6cd30d9820248c483891d441a24e6db37507e5f69c0eaaed1324ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/26740352162"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.6",
      "date": "2026-06-01T07:11:37.000Z",
      "commit": "e9c8d2c1008ff868b3a444af4e42189b65bb9073",
      "fileid": "f87c3abb6108345b54a219ec7deaba875604789f9f986d6560b24394944a2317",
      "status": "success",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/26740352162"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.6",
      "date": "2026-06-01T07:11:39.000Z",
      "commit": "e9c8d2c1008ff868b3a444af4e42189b65bb9073",
      "fileid": "4be588d10d369703e068b6aae8025b937d5096d73f5fd298add6e6fda156a889",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/26740352162"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.6",
      "date": "2026-06-01T07:11:08.000Z",
      "commit": "e9c8d2c1008ff868b3a444af4e42189b65bb9073",
      "fileid": "9ec2b959aea5ac49ede6d516c3829bcfa9f5e86c081984d9d4b84bda79a20873",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/26740352162"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.6",
      "date": "2026-06-01T07:10:57.000Z",
      "commit": "e9c8d2c1008ff868b3a444af4e42189b65bb9073",
      "fileid": "633b65b3654aa33e32d219e6d6e1f8d73dac50f4df6b427a894966bd42e53d8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emilio-berti/actions/runs/26740352162"
    }
  ]
}