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

importBC_data() error: "DATE_PST" not found #26

Open
GailR opened this issue Mar 14, 2024 · 1 comment
Open

importBC_data() error: "DATE_PST" not found #26

GailR opened this issue Mar 14, 2024 · 1 comment

Comments

@GailR
Copy link
Member

GailR commented Mar 14, 2024

importBC_data() is throwing an error "DATE_PST" not found. For example, importBC_data('Kamloops', 2015) results in:

image

I suspect the failure is occuring at line 740 because DATE_PST was removed from df_data earlier, on line 711.

image

@ZoeGao218
Copy link
Collaborator

Hi Gail, as per users' request, a new column of DATETIME in time-beginning format was added into the data structure on 2024-03-14. You can re-install the envair (v. 0.4.2.000) to see the update.

I just tested the following scripts to download the 2015 PM2.5 data for Kamloops, all looks reasonable on my end.

PM2.5_Kamloops <- importBC_data('PM2.5', 2015) %>% dplyr::filter(STATION_NAME == "Kamloops Federal Building")

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