PWFSLSmoke (version 1.2.100)

createEmptyMetaDataframe: Create Empty Site Location Metadata Dataframe

Description

The list of columns in the returned meta dataframe is:

> 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

createEmptyMetaDataframe(rows = 0)

Arguments

rows

number of rows

Value

A empty meta dataframe for use in a ws_monitor object.

Examples

Run this code
# NOT RUN {
meta_3 <- createEmptyMetaDataframe(rows=3)
all(is.na(meta_3))
# }

Run the code above in your browser using DataCamp Workspace