R/snotel_download.r
snotel_download.Rd
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(),
metric = TRUE,
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 metric values, TRUE
or FALSE
(default = TRUE
), when false returns the raw data files
return data to workspace, TRUE
or FALSE
(default = FALSE
)