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

Ability to query today's data #29

Open
reriley opened this issue Apr 21, 2021 · 1 comment
Open

Ability to query today's data #29

reriley opened this issue Apr 21, 2021 · 1 comment

Comments

@reriley
Copy link

reriley commented Apr 21, 2021

It would be really handy to be able to query today's data up to the present time for near real-time analysis.

@m4rz910
Copy link
Owner

m4rz910 commented Apr 21, 2022

hey @reriley, sorry I didn't see this until now - almost one year later :( You can achieve this already by passing True to the 'redownload' and 'reconstruct' arguments to NYISOData (see below). From one perspective it inefficiently redownloads the files it already has from the beginning of the year until the latest day, but I built it like that in case the NYISO retroactively modifies past files and we want to pull those instead of appending to an internal database.

df = NYISOData(dataset='load_h', year=2022, redownload=True, reconstruct=True, create_csv=False).df 

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