read_daily_pollution: Read daily air pollution

Description Usage Arguments Details Value Examples

View source: R/read_daily_pollution.R

Description

read_daily_pollution can read both .CSV and .xlsx formats. Date columns for dob and date are automatically parsed. If participant ID, DOB, and measurement date columns are not automatically recognized, the user will be prompted to select the corresponding variables in the input data frame.

Usage

1
read_daily_pollution(path, n_lines = NULL)

Arguments

path

character; folder path of input data frame

n_lines

numeric; number of lines of input data frame to read. This is useful to preview the data.

Details

columns are not present

Value

a data frame with properly named and formatted date variables.

Examples

1
2
3
4
## Not run: 
read_daily_pollution(path, n_lines = NULL)

## End(Not run)

wolfeclw/geocrew documentation built on Dec. 23, 2021, 6:10 p.m.