raws_getDataframe: Extract dataframes from _raws_timeseries_ objects

raws_getDataframeR Documentation

Extract dataframes from raws_timeseries objects

Description

These functions are convenient wrappers for extracting the dataframes that comprise a raws_timeseries object. These functions are designed to be useful when manipulating data in a pipeline chain using %>%.

Usage

raws_getData(rawsObject = NULL, forOpenair = FALSE)

raws_getMeta(rawsObject = NULL)

Arguments

rawsObject

raws_timeseries object to extract dataframe from

forOpenair

Logical instructions to clean data for use with openair

Value

A dataframe from the given raws_timeseries object

Examples


library(RAWSmet)

data <-
  example_cefa_Saddle_Mountain %>%
  raws_getData(forOpenair = TRUE)

# openair::timePlot(
#  data,
#  pollutant = "temperature"
# )

example_cefa_Saddle_Mountain %>%
  raws_getMeta() %>%
  head()



MazamaScience/RAWSmet documentation built on May 6, 2023, 6:57 a.m.