stations | R Documentation |
Get GHCNd Inventory
stations(
filename,
variables = c("tmin", "tmax", "prcp"),
first_year,
last_year
)
filename |
Character, the filename of the inventory, if already downloaded. |
variables |
Character, vector of the variables to include. |
first_year |
Integer, the year since when data should be recorded. |
last_year |
Integer, the year until when data should be recorded. |
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).
The table with the GHCNd stations.
## Not run:
dest <- tempfile()
download_inventory(dest)
s <- stations(dest)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.