library(rcrea)
exc_cities<- rcrea::exceedances(country=c('IN'), city=c('Delhi', 'Jaipur', 'Mumbai', 'Hyderabad'))
exc_cities
plot_exceedances(exc_cities, average_by='week')

Plot only the daily standards

plot_exceedances(exc_cities[exc_cities$aggregation_period=='day',], average_by='week')

Plot only the year-based standards: in that case, the red indication mentions the day we know standard is going to bee breached this year, no mater how clean the air will be from then till the end of the year.

plot_exceedances(exc_cities[exc_cities$aggregation_period=='year',], average_by='week')


hubert-thieriot/crea_r_package documentation built on June 11, 2025, 11:31 p.m.