ambient_temperature: Ambient Temperature

Description Usage Arguments Value See Also Examples

View source: R/ambient_temperature.R

Description

PurpleAir monitor reports include internal temperature, which is on average slightly higher than ambient temperature. More information can be found on their FAQ.

Usage

1
ambient_temperature(dataset, variable = temperature, change = 8)

Arguments

dataset

The dataset containing temperature values to adjust

variable

The column name of temperature data (in ºF) which to apply the change

change

Numeric: The value which to subtract from the original temperature value

Value

Dataset with two new columns for ambient temperature, and temperature in ºC:

temperature

Ambient temperature in ºF

temperature_c

Ambient temperature in ºC

temperature_inernal

Internal temperature in ºF

temperature_internal_c

Internal temperature in ºC

See Also

unit_convert()

Other miscellaneous functions: adjust_timezone(), apply_date_tags(), apply_hour_tags(), column_dt(), filter_df(), group_stad(), organize_stad(), rounding_w_zeroes(), unit_convert(), wrangle_meta()

Examples

1
ambient_temperature(head(july_api_raw[1:3]))

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