getPackage: Get NEON data package

View source: R/getPackage.R

getPackageR Documentation

Get NEON data package

Description

Get a zipped file for a single data product, site, and year-month combination. Use the NEON data portal or API to determine data availability by data product, site, and year-month combinations.

Usage

getPackage(dpID, site_code, year_month, package = "basic", savepath = getwd())

Arguments

dpID

The identifier of the NEON data product to pull, in the form DPL.PRNUM.REV, e.g. DP1.10023.001

site_code

A four-letter NEON research site code, such as HEAL for Healy.

year_month

The year and month of interest, in format YYYY-MM.

package

Either 'basic' or 'expanded', indicating which data package to download. Defaults to basic.

savepath

The location to save the output files to

Value

A zipped monthly file

Author(s)

Christine Laney claney@battelleecology.org

References

License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007


neonUtilities documentation built on Oct. 18, 2023, 9:09 a.m.