envair 0.4.0.600
R version 4.3.1
Trying to use get_captures on a dataframe retrieved from an importBC_data call:
data<-envair::importBC_data(parameter_or_station = c("pm25",
"pm10"),
years=2022,
use_openairformat = FALSE) %>%
dplyr::filter(STATION_NAME=="Sparwood Centennial Square" &
lubridate::year(DATE_PST)==2022)
captures<-envair::get_captures(param=data,
years = 2022)
Produces this error:
