Package: vayuayan 0.2.0.9001

Saket Choudhary

vayuayan: Air Quality Data from CPCB, OAQ, and WUSTL Satellite PM2.5

Download and analyze air pollution data from three sources. CPCB (Central Pollution Control Board) CAAQMS stations provide historical and real-time PM2.5, PM10, and AQI readings across 400+ sites in India. OAQ (Open Air Quality) aggregates low-cost sensor networks such as Airnet, also in India. WUSTL ACAG V5GL04 provides satellite-derived PM2.5 at 1 km resolution globally (1998-2022). Includes geospatial station matching, AQI categorization, and NetCDF raster extraction for arbitrary regions.

Authors:Saket Choudhary [aut, cre], Mahesh Kumar Prajapat [aut], Darakhshan [email protected] Nehal [ctb]

vayuayan_0.2.0.9001.tar.gz
vayuayan_0.2.0.9001.zip(r-4.7-any)vayuayan_0.2.0.9001.zip(r-4.6-any)vayuayan_0.2.0.9001.zip(r-4.5-any)
vayuayan_0.2.0.9001.tgz(r-4.6-any)vayuayan_0.2.0.9001.tgz(r-4.5-any)
vayuayan_0.2.0.9001.tar.gz(r-4.7-any)vayuayan_0.2.0.9001.tar.gz(r-4.6-any)
vayuayan_0.2.0.9001.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
vayuayan/json (API)

# Install 'vayuayan' in R:
install.packages('vayuayan', repos = c('https://saketlab.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/saketlab/vayuayanr/issues

Pkgdown/docs site:https://vayuayanr.saketlab.org

On CRAN:

Conda:

3.00 score 1 stars 38 exports 45 dependencies

Last updated from:04ddae8f84. Checks:7 WARNING, 1 ERROR, 1 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develWARNING222
source / vignettesERROR294
linux-releaseWARNING240
macos-releaseWARNING142
macos-oldrelWARNING137
windows-develWARNING181
windows-releaseWARNING184
windows-oldrelWARNING137
wasm-releaseOK197

Exports:analyze_station_dataclean_station_namecpcb_add_coordscpcb_download_city_datacpcb_download_station_datacpcb_get_all_indiacpcb_get_city_listcpcb_get_complete_listcpcb_get_file_pathcpcb_get_live_aqi_datacpcb_get_live_aqi_data_for_stationcpcb_get_nearest_stationcpcb_get_state_listcpcb_get_station_listcpcb_get_system_locationget_aqi_categoriesget_aqi_categoryhaversine_distancenearest_stationsoaq_fetch_monthly_stationsoaq_get_annualoaq_get_city_latestoaq_get_dailyoaq_get_hierarchyoaq_get_monthlyoaq_get_station_24hoaq_get_stations_latestoaq_list_providersoaq_sessionpm25_clear_cachepm25_download_netcdfpm25_get_statspm25_list_cached_filespm25_load_netcdf_bboxpm25_read_netcdf_bboxpm25_v5gl04_pathstations_to_dataframevayuayan_welcome

Dependencies:askpasscellrangerclassclassIntclicpp11crayoncurlDBIdplyre1071genericsgeospheregluehmshttrjsonliteKernSmoothlifecyclelubridatemagrittrmimeopensslpillarpkgconfigprettyunitsprogressproxyR6Rcppreadxlrematchrlangs2sfsysterratibbletidyselecttimechangeunitsutf8vctrswithrwk

Readme and manuals

Help Manual

Help pageTopics
Analyze station dataanalyze_station_data
Clean station nameclean_station_name
Add coordinates to station listcpcb_add_coords
Download city-level AQI datacpcb_download_city_data
Download station-level AQI datacpcb_download_station_data
Get all India monitoring stationscpcb_get_all_india
Get list of cities in a statecpcb_get_city_list
Fetch complete station and city list from CPCBcpcb_get_complete_list
Get file path for CPCB data downloadcpcb_get_file_path
Get live AQI datacpcb_get_live_aqi_data
Get live AQI data for a stationcpcb_get_live_aqi_data_for_station
Find nearest monitoring stationcpcb_get_nearest_station
Get list of states with AQI datacpcb_get_state_list
Get station list for a citycpcb_get_station_list
Get system location via IP geolocationcpcb_get_system_location
Vectorized AQI categoryget_aqi_categories
Get AQI categoryget_aqi_category
Calculate haversine distancehaversine_distance
Find the nearest stations between two sets of pointsnearest_stations
Fetch monthly station data for a provider across one or more monthsoaq_fetch_monthly_stations
Get annual aggregated data for a sensoroaq_get_annual
Get latest AQI for a cityoaq_get_city_latest
Get daily historical data for a sensoroaq_get_daily
Get provider geographic hierarchyoaq_get_hierarchy
Get monthly aggregated data for a sensoroaq_get_monthly
Get last 24 hours of data for a sensoroaq_get_station_24h
Get latest readings from all stationsoaq_get_stations_latest
List all OAQ data providersoaq_list_providers
Establish an OAQ API sessionoaq_session
Clear PM2.5 cachepm25_clear_cache
Download PM2.5 NetCDF filepm25_download_netcdf
Get PM2.5 statistics for a regionpm25_get_stats
List cached PM2.5 NetCDF filespm25_list_cached_files
Load a gridded PM2.5 raster cropped to a region's bounding boxpm25_load_netcdf_bbox
Mean gridded PM2.5 over a region's bounding boxpm25_read_netcdf_bbox
Build the file path for a WUSTL V5GL04 monthly NetCDFpm25_v5gl04_path
Convert station data to data framestations_to_dataframe
Print vayuayan welcome messagevayuayan_welcome