Skip to content

An R package to collect, assemble and model air pollution, weather and health data

Notifications You must be signed in to change notification settings

kehraProject/kehra

Repository files navigation

kehra: an R package to collect, assemble and model air pollution, weather and health data

DOI

Travis-CI Build Status Coverage Status

CRAN Status Badge CRAN Total Downloads CRAN Monthly Downloads

The package kehra allows to collect, assemble and model air pollution, weather and health data. The package is being developed as part of the British Council's funded KEHRA project and builds upon other R packages such as rdefra to retrieve pollution data from the UK-AIR database hosted by the UK Department for Enviornment, Food and Rural Affairs, and the bnlearn to model the assembled database using Bayesian Networks.

Dependencies

The kehra package depends on the Geospatial Data Abstraction Library (gdal) and some additional CRAN packages. Check for missing dependencies and install them using the commands below:

packs <- c('Hmisc', 'raster', 'reshape2', 'stringr', 'sp', 'xts', 'zoo', 
           'devtools', 'rgdal')
new.packages <- packs[!(packs %in% installed.packages()[,'Package'])]
if(length(new.packages)) install.packages(new.packages)

Installation

Get the released version from CRAN:

install.packages('kehra')

Or the development version from github using devtools:

devtools::install_github('kehraProject/kehra')

Load the kehra package:

library('kehra')

Meta

About

An R package to collect, assemble and model air pollution, weather and health data

Resources

Stars

Watchers

Forks

Packages

No packages published