ceip_download: Download zipped Centre on Emission Inventories and...

Description Usage Arguments Value Examples

Description

The download routine will recreate the CEIP file structure in the output directory (sorting files in folders by year).

Usage

1
2
ceip_download(pollutant = c("SOx", "NOx"), year = 2000:2016,
  out_dir = tempdir())

Arguments

pollutant

character string with pollutants (CO, NH3, NMVOC, NOx, PM2_5, PM10, PMcoarse, SOx)

year

years to download (all = 2000:2016)

out_dir

output directory (default = tempdir())

Value

Downloads ceip zip files into the output directory. CRAN policy does not allow default settings to write to the userspace so tempdir() is the default. However, a different directory can be used for caching.

Examples

1
2
3
4
5
## Not run: 
ceip_download(pollutant = "SOx",
              year = 2000)

## End(Not run)

khufkens/ceipr documentation built on May 20, 2019, 11:58 a.m.