powered by
Dowloads snotel data based upon a subset of the sno-tel info as provided by snotel_info()
snotel_download(site_id, network = "sntl", path = tempdir(), internal = FALSE)
subset of the sites listed by snotel_info()
network list to query (default = sntl, for SNOTEL)
where to save downloaded files (default = tempdir())
return data to workspace, TRUE or FALSE (default = FALSE)
TRUE
FALSE
if (FALSE) { # download data for SNOTEL site 429 and 1287, returning data to # the R workspace df <- snotel_download(site_id = c(429,1287), internal = TRUE) # list a few first rows head(df) }
Run the code above in your browser using DataLab