| inmet_read | R Documentation |
Parses CSV files inside annual INMET archives into a consistent data frame.
inmet_read(
years,
stations = NULL,
dest_dir = tools::R_user_dir("rmet", "cache"),
tz = "UTC",
variables = NULL,
start_date = NULL,
end_date = NULL,
quiet = FALSE
)
years |
Integer vector of years. |
stations |
Optional station codes. Matching is case-insensitive. |
dest_dir |
Directory containing |
tz |
Output time zone. Defaults to |
variables |
Optional meteorological columns to retain. |
start_date, end_date |
Optional inclusive date limits in |
quiet |
Suppress progress messages. |
A data frame. Identifier and station metadata columns are always retained when data are available.
inmet_get(), inmet_download(), inmet_stations()
df <- inmet_read(2023, stations = "A801", dest_dir = tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.