importGiosFromXLSX: Import data for one station, multiple years and polutants.

Description Usage Arguments Value Examples

View source: R/import.R

Description

Import data for one station, multiple years and polutants.

Usage

1
2
importGiosFromXLSX(station, polutants = NULL, years = NULL,
  path = getwd(), noHours = "1", skip = 3, exact = FALSE)

Arguments

station

chr, name of the chosen station.

polutants

chr, names of chosen polutants.

years

chr, chosen years (yyyy).

path

chr, path to folder containing .xlsx file or path to .xlsx file.

noHours

chr, 1 or 24, defaults to 1 (hourly meas.)

skip

int, number of rows to skip, defaults to 3. Do not change if unchanged GIOŚ files are used.

exact

lgl, TRUE if path is a path to .xlsx file.

Value

tibble

Examples

1
2
3
4
5
6
7
## Not run: 
importGiosFromXLSX("DsWrocKorzA", c("NOx", "SO2"), c("2015", "2014"))
# Default settings, .xlsx files are in the working directory.
importGiosFromXLSX("DsWrocKorzA", c("NOx", "SO2"), c("2015", "2014"), "path-to-the-folder")
# Importing from a different (not working) directory.

## End(Not run)

mstaniak/giosDownloader documentation built on Aug. 27, 2019, 6:33 a.m.