Skip to content
An R package providing the ASRC NYS Atmospheric Chemistry Database
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
old_R Delete redundant ultrafine file Apr 20, 2019
vignettes Add database documentation as vignette Apr 3, 2019
.Rbuildignore Add R package template files Mar 5, 2019
.gitignore Add database documentation as vignette Apr 3, 2019 Treat zero WindDir_SD1_WVT as indicator of instrument malfunction Mar 1, 2019
LICENSE Add license info for mediator.c Apr 16, 2019

The ASRC NYS Atmospheric Chemistry Database

The ASRC NYS Atmospheric Chemistry Database is a PostgreSQL database containing atmospheric chemistry data from ASRC sites in New York State.

The nysatmoschem R package provides utilities to reproduce the database, along with functions to generate various reports and processed datasets, and tools to visualize the data.


nysatmoschem builds on the etl package and follows the etl syntax and design structure. To reproduce the database, run etl_create() with a nysatmoschem dataset object. Users require a username and password to download the data, which can be obtained from the ASRC AQM Data Products page.


# create a postgres database connection and nysatmoschem dataset object
dbcon = src_postgres(dbname = 'nysacdb', user = 'user')
nysac = etl('nysatmoschem', db = dbcon, dir = 'data')

# set up the database and add data from the ASRC's atmoschem server
nysac %>% etl_create(user = 'user', password = 'pass')


Install nysatmoschem from R using the remotes package:


The package requires the PostgreSQL server to be running locally, and the database user account must have the required postgres privileges.


nysatmoschem is released under the open source MIT license.

You can’t perform that action at this time.