Skip to content

Bring Bogota Air Quality Data to your R session 🇨🇴 .

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

quishqa/bogotAIR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bogotAIR

This package downloads the meteorological and air quality data from Bogota Air Quality Network. It returns a data.frame ready to be used for analyzis.

Installation

To install bogotAIR you need first to install devtools. You can do it by:

install.package("devtools")

Then install bogotAIR by:

devtools::install_github("quishqa/bogotAIR")

How to use

Currently bogotAIRhas one function: download_rmcab_data(). To use this function you need to know the code of the station. You can check it by:

library(bogotAIR)
rmcab_aqs

For example, If we want to download data for the first week of 2023 for Usaquen station. We do the following:

library(bogotAIR)
rmcab_aqs # To check Usaquen code

usaquen_code <- 1
start <- "01-01-2023"
end <- "07-01-2023"

usaquen_data <- download_rmcab_data(aqs_code = usaquen_code, 
                                    start_date = start,
                                    end_date = end)

rmcab_params # To check parameters units

Acknowledgment

Thanks to RMCAB for sharing their air quality data.

About

Bring Bogota Air Quality Data to your R session 🇨🇴 .

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages