demo/get_soil_moisture_all_sites.R

##Demo getting all data for all sites with soil moisture
library(soilmoisturetools)

sites = scan_sites_by_element_code('SMS')

#Just use the default start/end date
data = scan_data(sites, depth = -2)

metadata = scan_sites_metadata(sites)
USGS-R/soilmoisturetools documentation built on May 9, 2019, 9:32 p.m.