get_nwos: get_nwos

View source: R/get_nwos.R

get_nwosR Documentation

get_nwos

Description

Extracts the data for a given NWOS cycle/study from the NWOS and returns it as an nwos.object, including metadata, weights, imputations, and plot-level data.

Usage

get_nwos(
  cycle = "2018",
  study = "base",
  states = NA,
  questions = NA,
  strict.intensification = FALSE
)

Arguments

cycle

is a string containing the NWOS cycle desired.

study

is a string containing the NWOS study desired.

states

is a character vector containing one or more states to extract.

questions

is a character vector containing the names of one or more NWOS questions to extract.

yrs

is a logical value determining whether ONLY intensified plots should be selected.

Details

This function must be run on a machine with an ODBC connection to the USFS FIA production database through a user with read permissions.

Value

a nwos.object

Examples

get_nwos(cycle='2018',study='base',states='44',questions='AC_LAND',strict.intensification=FALSE)


familyforestresearchcenter/nwos documentation built on April 12, 2025, 11:54 a.m.