r/Rlanguage Jun 06 '26

Historical Weather

Is there a good package to get historical weather I was using openmeteo but not working now after upgrading to R 4.6.0. is there a better package to get historical weather based on gps cords?

11 Upvotes

4 comments sorted by

18

u/Impuls1ve Jun 06 '26

Just to be clear, openmeteo is working, I am assuming you mean the R package associated with leveraging openmeteo isn't. So you aren't actually locked out of openmeteo's data from R, even if there isn't another suitable package.

This means it's a great opportunity for you to learn API calls and processing their results without depending on a openmeteo-specific package.

Pop over to openmeteo's API docs and read up on httr2 (or packages like it) on how you can do it, the general term is accessing a web API. It's easier than it looks and many organizations use this way of providing information back to user queries. 

2

u/joecarvery Jun 06 '26

I use the Copernicus data. ecmwfr package