read_local_meta: Create a data frame of locally loaded monitor data

Description Usage Arguments Value See Also Examples

View source: R/read_local_meta.R

Description

Load PurpleAir monitor data based on locally stored data, extracting relevant information from the file names. See

Usage

1
2
3
4
5
read_local_meta(
  folder_path = input_path,
  pattern = NULL,
  timezone = input_timezone
)

Arguments

folder_path

Character; the file path for the folder that contains the monitor data frames

pattern

Character, optional; filter for a specific location (by label in the file title)

timezone

Character of valid Olson name for timezone of the monitors

Value

A wrangled data frame of monitor location data from a local folder of PurpleAir data

See Also

Other PA local functions: read_local_folder(), read_local_single(), wrangle_local()

Examples

1
2
3
4
5
## Not run: 
read_local_meta("data-raw/local", timezone = "America/Los_Angeles")
read_local_meta("data-raw/local", timezone = "America/Los_Angeles", pattern = "Lincoln")

## End(Not run)

gmcginnis/AirVizR documentation built on Dec. 20, 2021, 11:49 a.m.