Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing AQHI PM2.5 Sparwood Centennial Square 2022 #24

Open
DonnaHaga opened this issue Jan 19, 2024 · 4 comments
Open

Missing AQHI PM2.5 Sparwood Centennial Square 2022 #24

DonnaHaga opened this issue Jan 19, 2024 · 4 comments

Comments

@DonnaHaga
Copy link

envair version 0.4.0.300

Sparwood Centennial Square has PM2.5 data during 2022, but the AQHI PM2.5 is not in the AQHI dataset:

aqhi<-envair::importBC_data(parameter_or_station = "aqhi",
                            years = 2022,
                            use_openairformat = FALSE) %>%
  dplyr::filter(STATION_NAME=="Sparwood Centennial Square")

#preview the data
head(aqhi %>%
       dplyr::select(PARAMETER,
                     DATE_PST,
                     STATION_NAME,
                     contains("AQHI")))

pm25<-envair::importBC_data(parameter_or_station = "pm25",
                            years = 2022,
                            use_openairformat = FALSE) %>%
  dplyr::filter(STATION_NAME=="Sparwood Centennial Square")

head(pm25 %>%
       dplyr::select(PARAMETER,
                     DATE_PST,
                     STATION_NAME,
                     RAW_VALUE))

2024-01-19 scs aqhi pm25

@DonnaHaga DonnaHaga reopened this Jan 19, 2024
@ZoeGao218
Copy link
Collaborator

Hi Donna, it is available in envair, may be just the version issue. Please try v.0.4.0.800.

aqhi_Sparwood <- envair::importBC_data("aqhi", years = 2022) %>%
dplyr::filter(STATION_NAME == "Sparwood Centennial Square")
view(aqhi_Sparwood)
image

@DonnaHaga
Copy link
Author

Thanks @ZoeGao218, I get an error when I tried again, now I can't get any data. envair 0.4.2.100

aqhi<-envair::importBC_data(parameter_or_station = "aqhi",
                            years = 2022,
                            use_openairformat = FALSE) %>%
  dplyr::filter(STATION_NAME=="Sparwood Centennial Square")

2024-05-30 aqhi sparwood

@ZoeGao218
Copy link
Collaborator

Hi Donna, this is due to the open data portal and Github are in updating process. I'm currently publishing finalized 2022 annual AQ and AQHI datasets. Please try "years = 2022:2023" and then filter by year to get 2022 data. I'll let you know once the process is complete. Sorry for this inconvenience!

@ZoeGao218
Copy link
Collaborator

Hi Donna, all functions are now back working under envair v. 0.4.2.200. Thanks for your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants