download_NEON_soilmoist.Rd
Download NEON Soil Water Content and Soil Salinity data by date and site name
download_NEON_soilmoist(
site,
avg = "all",
var = "all",
startdate = NA,
enddate = NA,
outdir
)
four letter NEON site code name(s). If no site is specified, it will download all of them (chr) (e.g "BART" or c("SRER", "KONA", "BART"))
averaging interval (minutes): 1, 30, or both ("all") . default returns both
variable of interest: "SWC" (soil water content) or "SIC" (soil ion content) or both ("all") default returns both. Both variables will be saved in outdir automatically (chr)
start date as YYYY-mm. If left empty, all data available will be downloaded (chr)
start date as YYYY-mm. If left empty, all data available will be downloaded (chr)
out directory to store the following data: .rds list files of SWC and SIC data for each site and sensor position, sensor positions .csv for each site, variable description .csv file, readme .csv file
List of specified variable(s) AND prints the path to output folder