Jonathan Carroll
Jonathan Carroll
Thanks for that - I've restored them.
It's another change, but if that's the case we can just spoof a regular browser HTTPUserAgent 🕵️♂️
Sounds good to me. I don't quite follow why the monthly data needs to be scraped vs summarised from the daily data, but if there's a URL for it then...
I'll also have a play if I get the chance. Could you please link a few daily and monthly data pages for me to test?
I was going to suggest that a package focused on SILO would be a good idea. Sure enough, there's already at least one package accessing this data! https://cran.r-project.org/web/packages/cropgrowdays/vignettes/getting-weather-data.html (they even...
The silo-specific package would be a pure API wrapper. bomrang would then use that for it's specific purposes, but other packages could also call it.
If BOM don't want to support our use-case then it would be really good if they provided some sort of queryable API. The FTP options don't seem to have station-level...
It wasn't a 'good citizen' suggestion, but if the files are available on the website then one *could* loop over those (with the right `HTTPUserAgent`) and grab the historical data*....
I can try to find some time over the weekend to write a PR to (temporarily) disable `get_historical_weather()`.
Neat, @CMurtagh-LGTM - I suspect we could use the same API for current observations, but we're still stuck for historical data.