stations {GHCNr} | R Documentation |
Get GHCNd Inventory
Description
Get GHCNd Inventory
Usage
stations(filename, variables = c("tmin", "tmax", "prcp"))
Arguments
filename |
Character of the filename of the inventory, if already downloaded. |
variables |
Character, vector of the variables to include. |
Details
If filename is not provided, this will download the inventory from <"https://www.ncei.noaa.gov/pub/data/ghcn/daily/ghcnd-inventory.txt">. In alternative, you can download the invetory yourself and load it (see examples).
Value
The table with the GHCNd stations.
Examples
## Not run:
dest <- tempfile()
download_inventory(dest)
s <- stations(dest)
## End(Not run)
[Package GHCNr version 0.8.0 Index]