aqer_file_list: Function to get remote file lists containing Air Quality...

Description Usage Arguments Value Author(s) Examples

View source: R/aqer_file_list.R

Description

Function to get remote file lists containing Air Quality e-Reporting (AQER) observational data.

Usage

1
2
3
4
5
6
7
8
9
aqer_file_list(
  country = "",
  pollutant = "",
  start = 2013,
  end = NA,
  station = "",
  source = "all",
  verbose = FALSE
)

Arguments

country

Country code to filter file list to.

pollutant

Pollutant code to filter file list to.

start

Start year to filter file list to.

end

End year to filter file list to.

station

Station code to filter file list to.

source

What data source should be used? Can be either "all", "e1a" for validated and reported data, or "e2a" for near real time data which are not validated data.

verbose

Should the function give messages?

Value

Character vector.

Author(s)

Stuart K. Grange

Examples

1
2
3
4
5
6
7
8
# Get all swiss files
aqer_file_list(country = "ch")

# Get all validated/reported for Switzerland
aqer_file_list(country = "ch", source = "e1a")

# Get all uk files for 2018
aqer_file_list(country = "gb", start = 2018, end = 2018)

skgrange/aqerimportr documentation built on Aug. 10, 2021, 11:42 p.m.