read.madavi: Import CSV data as provided by madavi.de

Description Usage Arguments Value Examples

View source: R/read.madavi.R

Description

Import CSV data as provided by madavi.de

Usage

1
read.madavi(path, dropEmptyCols = TRUE, tz = "Europe/Berlin")

Arguments

path

Either a path to a single CSV file, or to a directory which is then being scanned for CSV files.

dropEmptyCols

Logical, whether to drop all columns without any data.

tz

Time zone, used to calculate local time from the UTC raw data.

Value

An object of class airData.

Examples

1
2
3
4
5
6
7
8
## Not run: 
# import single CSV file ~/fine_dust_data/data-esp8266-1234567-2019-12-10.csv
x <- read.madavi(file.path("~","fine_dust_data","data-esp8266-1234567-2019-12-10.csv"))

# import all CSV files from directory ~/fine_dust_data
x <- read.madavi(file.path("~","fine_dust_data"))

## End(Not run)

unDocUMeantIt/paRticulates documentation built on Jan. 20, 2020, 5:15 p.m.