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

Geo Support? #29

Open
OliverKulinski opened this issue Oct 15, 2023 · 1 comment
Open

Geo Support? #29

OliverKulinski opened this issue Oct 15, 2023 · 1 comment
Labels
question Further information is requested

Comments

@OliverKulinski
Copy link

Can't find support for Geo side of the API anywhere.

Will this feature be added? If not do you know another repo for it?
It would be very useful for assessing region- and continent-specific research output

Thanks

@J535D165 J535D165 added the question Further information is requested label Oct 18, 2023
@J535D165
Copy link
Owner

Hi @OliverKulinski,

PyAlex offers support for the geo api. See the following examples (from the OpenAlex documentation):

In [1]: from pyalex import Institutions

In [2]: Institutions().filter(continent="south_america").url
Out[2]: 'https://api.openalex.org/institutions?filter=continent:south_america'

In [3]: from pyalex import Works

In [4]: Works().group_by("institutions.continent").url
Out[4]: 'https://api.openalex.org/works?group-by=institutions.continent'

Let me know if things are missing in pyalex!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants