acquire_neon_data {neonSoilFlux}R Documentation

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
)

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).

Value

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

Author(s)

John Zobitz zobitz@augsburg.edu

Examples


out_env_data <- acquire_neon_data("SJER","2022-06")


[Package neonSoilFlux version 1.0.0 Index]