Description Usage Arguments Value Examples
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"]] |
monitor_extractMeta(ws_monitor) | ws_monitor[["meta"]]
|
1 2 3 | monitor_extractData(ws_monitor)
monitor_extractMeta(ws_monitor)
|
ws_monitor |
ws_monitor object to extract dataframe from. |
A dataframe from the given ws_monitor object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | library(PWFSLSmoke)
ws_monitor <- Northwest_Megafires
data <- ws_monitor %>%
monitor_subset(
stateCodes = "WA",
tlim = c(20150801, 20150831)
) %>%
monitor_extractData()
meta <- ws_monitor %>%
monitor_subset(
stateCodes = "WA",
tlim = c(20150801, 20150831)
) %>%
monitor_extractMeta()
dplyr::glimpse(meta)
dplyr::glimpse(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.