rcaaqs icon indicating copy to clipboard operation
rcaaqs copied to clipboard

An R package to facilitate the calculation of air quality metrics according to Canadian Ambient Air Quality Standards

Results 9 rcaaqs issues
Sort by recently updated
recently updated
newest added

Round results for rcaaqs::pm_24h_caaqs() is inconsistent depending on the range of data set. In the example below, if data provided is from 2011-2015, the metric_value for 2015 is 28, but...

``` ==> devtools::test() ℹ Testing rcaaqs ✔ | F W S OK | Context ✔ | 16 | utility functions ✖ | 1 4 | dates ───────────────────────────────────────────────────────────────────────── Failure (test-2_dates.R:26:3): format_caaqs_dt...

The following error appears when running pm_annual_caaqs() is executed: _Error in cut.default(x, breaks = breaks, labels = labels, ordered_result = TRUE, : lengths of 'breaks' and 'labels' differ_ Close inspection...

E.g. `initial_check()` has `"date_time"` hard-coded

bug

`fill_gaps()` + functions for rolling averages. Also has parallel versions using `future` package.

Some of the colours chosen are design choices we have made for our specific reporting requirements but are not mandated by caaqs. Should probably pull these out or generalize them...

CRAN-publication
maintenance

I think there's a potential workflow where airzone info is added back into the full caaqs object, then airzone_metric works on that - the nice thing about that is that...

- Add source example data sets documentation to package README - Review station data file -> could be a smaller, subset of the source file for the purpose of providing...