-
Notifications
You must be signed in to change notification settings - Fork 0
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
Just get the data as a Tables.Table
compatible object?
#88
Comments
A minimal change to enable this would be to define
and then export |
Hi @nilshg, I am glad to learn that you found this package useful. The functionality can indeed be refined further. Unfortunately, I haven't had the time to actively work on it during the past year. All suggestions are welcome nonetheless!
You now have a DataFrame
Let me know if this works for you. |
Sure this works (although I didn't manage to do this myself before, I got some inscrutable error when calling the unexported function which isn't surprising given it's undocumented). My point is that I would assume my use case - needing weather data to feed into some wider analysis - is fairly common, so exporting a function that gets you the data as a Like I said above, happy to make a PR for this. |
Were the HTTP calls stuck? This could be due to an issue with the Open-Meteo API itself. Some of them were unresponsive yesterday afternoon (CET), but seem to be working okay today.
It's a common use case indeed, but feels more suited as a functionality to be implemented in an Open-Meteo Julia client. For example, something similar already exists for Python. If you have the time and motivation, you could think of creating one. When developing this package, my focus was on generating a visual report/plot tailored for the REPL. 😉 Hence, the specific exports.
Sure, go ahead and make one. Changes seem rather straightforward. The functions |
Sorry if I'm being thick here, but is there no way to just get historical data as a table?
I can see the
hist_plot
functions, as well as theexport_to_sqlite
functions, butget_hist_data
is unexported and undocumented and I can't seem to get it to work.(somewhat relatedly, this package could be a lot more lightweight if all the plotting and database functionality were to be put in an extension)
The text was updated successfully, but these errors were encountered: