PWFSLSmoke (version 1.2.100)

monitor_extractDataFrame: Extract dataframes from ws_monitor objects

Description

These functions are convenient wrappers for extracting the dataframes that comprise a ws_monitor object. These functions are designed to be useful when manipulating data in a pipe chain.

Below is a table showing equivalent operations for each function.

Function Equivalent Operation
monitor_extractData(ws_monitor) ws_monitor[["data"]]

Usage

monitor_extractData(ws_monitor)

monitor_extractMeta(ws_monitor)

Arguments

ws_monitor

ws_monitor object to extract dataframe from.

Value

A dataframe from the given ws_monitor object

Examples

Run this code
# NOT RUN {
ws_monitor <- Northwest_Megafires

NMData <- ws_monitor %>%
  monitor_subset(
    stateCodes = "WA",
    tlim = c(20150801, 20150831)
  ) %>%
  extract_data()

monitor_subset(
    stateCodes = "WA",
    tlim = c(20150801, 20150831)
  ) %>%
  extract_meta()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab