bcgov / rems

An R package to access data from British Columbia's Environmental Monitoring System
Apache License 2.0
19 stars 5 forks source link

Use new GH authentication via header, #49 #50

Closed ateucher closed 4 years ago

ateucher commented 4 years ago

Fixes #49. @joethorley would you be able to test this to make sure it still works for you and doesn't throw that warning?

remotes::install_github("bcgov/rems@fix-gh-auth")
library(rems)
download_historic_data(force = TRUE, ask = FALSE)

Thanks!

joethorley commented 4 years ago

Success

> library(rems)
> download_historic_data(force = TRUE, ask = FALSE)
This is going to take a while...
Downloading latest 'historic' EMS data
Downloading ems_historic.sqlite.zip...

  |=================================================================================================| 100%
Successfully downloaded and stored the historic EMS data.
You can access and subset it with the 'read_historic_data' function, or
          attach it as a remote data.frame with 'attach_historic_data()'
          which you can then query with dplyr
ateucher commented 4 years ago

Excellent, thanks @joethorley