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

Set openalex to retrieve 50 DOIs per batch #75

Merged
merged 1 commit into from
Jul 5, 2024
Merged

Conversation

lwrubel
Copy link
Contributor

@lwrubel lwrubel commented Jul 5, 2024

This sets the batch size lower, since we discovered that we could have a batch of long DOIs that lead to the query string being longer than 4,096 characters. It could be possible to set it a little higher (75 was too high in current experience, but only ~50 chars too long).

This sets the batch size to 50, not passed in as a function parameter. Also opens up the possibility to skip pagination in the future, since the default OpenAlex per_page size is 50.

@lwrubel lwrubel merged commit 1ef8969 into main Jul 5, 2024
1 check passed
@lwrubel lwrubel deleted the openalex-batch-size branch July 5, 2024 13:40
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.

2 participants