createEmptyMetaDataframe: Create Empty Site Location Metadata Dataframe

Description Usage Arguments Value Examples

View source: R/createEmptyMetaDataframe.R

Description

The list of columns in the returned meta dataframe is:

1
2
3
4
5
6
7
> names(meta)
 [1] "monitorID"             "longitude"             "latitude"             
 [4] "elevation"             "timezone"              "countryCode"          
 [7] "stateCode"             "siteName"              "agencyName"           
[10] "countyName"            "msaName"               "monitorType"          
[13] "monitorInstrument"     "aqsID"                 "pwfslID"              
[16] "pwfslDataIngestSource" "telemetryAggregator"   "telemetryUnitID"      

For each row, all values will be set to NA with the appropriate type, either numeric or character.

An empty dataframe can be generated by setting rows=0.

Usage

1

Arguments

rows

number of rows

Value

A empty meta dataframe for use in a ws_monitor object.

Examples

1
2
meta_3 <- createEmptyMetaDataframe(rows=3)
all(is.na(meta_3))

PWFSLSmoke documentation built on Nov. 23, 2021, 5:06 p.m.