nwos_export: nwos_export

View source: R/nwos_export.R

nwos_exportR Documentation

nwos_export

Description

Exports NWOS data and metadata as CSVs, in multiple formats.

Usage

nwos_export(x, dir = "~", format = "wide", imputations = "none")

Arguments

x

is a nwos.object

dir

is the directory to export to

format

is a character string containing the values 'wide','long', or 'full'

imputations

is string containing which imputation set is to be used in place of non-response, if any. Valid responses are "none","random","1","2","3","4","5"

Value

a data.frame

Examples

nwos_export(foo,dir='~',format='long',imputations="1")


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