Learn R Programming

neonSoilFlux (version 1.0.0)

acquire_neon_data: Acquire NEON data for processing

Description

Given a site code and dates, apply the neonUtilities package to download the data from NEON API

Usage

acquire_neon_data(
  site_name,
  download_date,
  time_frequency = "30_minute",
  provisional = FALSE
)

Value

A list containing stacked environmental data (`site_data`) and soil properties (`site_megapit`).

Arguments

site_name

Required. NEON code for a particular site (a string)

download_date

Required. Date where we end getting NEON data. Format: YYYY-MM (can't specify day). So "2020-05" means it will grab data for the entire 5th month of 2020. (a string). Downloads data for a given month only

time_frequency

Required. Will you be using 30 minute ("30_minute") or 1 minute ("1_minute") recorded data? Defaults to 30 minutes.

provisional

Required. Should you use provisional data when downloading? Defaults to FALSE. See NEON Data Releases. Defaults to FALSE (similar to include.provisional in loadByProduct).

Author

John Zobitz zobitz@augsburg.edu

Examples

Run this code
# \donttest{
out_env_data <- acquire_neon_data("SJER","2022-06")
# }

Run the code above in your browser using DataLab