View source: R/gsodr_dataset.R
gsodr_dataset | R Documentation |
Create GSOD Weather Dataset from (UDER DEVELOPMENT)
gsodr_dataset( x = NULL, ..., description_url = "https://www7.ncdc.noaa.gov/CDO/GSOD_DESC.txt", location_code0 = "GSOD_%s", variable_code0 = "GSODR_%s", location_url = gsod_defaults("location_url"), use_limitations = gsod_defaults("use_limitations"), location_source = gsod_defaults("location_source"), crs = 4326, measurement_types = gsod_defaults("measurement_types") )
x |
data frame returned from a call of |
... |
arguments for |
description_url, location_url, location_source, use_limitations |
attributes for |
location_code0, variable_code0 |
attributes for |
crs |
Coordinate refence system. Default is 4326 (epsg). |
measurement_types |
data frame from a CSV file containing table with measuremet type attributes . It must contain an additional column |
library(readr) x <- system.file("west_africa_gsod_extdata/gsod_bf.csv",package="SuSnowDB") %>% read_csv() out <- gsodr_dataset(x=x) ## Not run: t <- system.time(out <- gsodr_dataset(years=2020,country="IT")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.