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

Fix for queries that return a small number of series #12

Merged
merged 2 commits into from
Dec 1, 2024
Merged

Conversation

brownag
Copy link
Member

@brownag brownag commented Dec 1, 2024

The Special Projects "region" has a small number of OSDs associated with it, and therefore does not use the same procedure involving the "View" window and generated URL for download which all other regions need. Will close #11

This PR implements an alternative solution where the form is filled out with RSelenium (instead of rvest) and the javascript/ASP postback for "download" button is then properly triggered (without needing to generate the actual download URL for a large set).

In the future the rvest code currently used for all other regions could feasibly be converted to this style, simplifying the code in .query_series_by_region() function--but that is not a super high priority as the current implementation "works" as long as the query tool has this separate pathway for "large" results. We still will need to distinguish large from small queries as different interface is needed for them.

@brownag brownag merged commit 47e2e2e into main Dec 1, 2024
@brownag brownag deleted the fix11 branch December 1, 2024 19:32
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

Successfully merging this pull request may close these issues.

Querying special projects office OSDs
1 participant