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

OpenAlex and Local Citation Network #15

Open
Peter9192 opened this issue May 10, 2023 · 2 comments
Open

OpenAlex and Local Citation Network #15

Peter9192 opened this issue May 10, 2023 · 2 comments

Comments

@Peter9192
Copy link
Member

I just stumbled upon Open Alex, through a web app called LocalCitationNetwork (see their source here).

If we want to explore an openly accessible alternative to Scopus, or fetch data from an external source in an interactive session, this might be a good place to start.

They also provide the option to download their source database.

@Peter9192
Copy link
Member Author

OpenAlex's twitter page also links to some of interesting activities, for example VOSviewer

@Peter9192
Copy link
Member Author

To find all authors and works affiliated with the escience center:
(substitute email address with your own)

import requests

openalex = "https://api.openalex.org/"
polite_queue = "mailto=EMAIL_ADDRESS"
ror_id = "https://ror.org/00rbjv475"  # NL eScience Center

# Find authors
endpoint = "authors"
filters = f"filter=last_known_institution.ror:{ror_id}"
url = f"{openalex}/{endpoint}?{filters}&{polite_queue}"
n_authors = requests.get(url).json()['meta']['count']
print(url)
print(f"Found {n_authors} authors associated with the eScience Center")

# Find works
endpoint = "works"
filters = f"filter=institutions.ror:{ror_id}"
url = f"{openalex}/{endpoint}?{filters}&{polite_queue}"
n_works = requests.get(url).json()['meta']['count']
print(url)
print(f"Found {n_works} works associated with the eScience Center")
https://api.openalex.org//authors?filter=last_known_institution.ror:https://ror.org/00rbjv475&mailto=EMAIL_ADDRESS
Found 203 authors associated with the eScience Center
https://api.openalex.org//works?filter=institutions.ror:https://ror.org/00rbjv475&mailto=EMAIL_ADDRESS
Found 470 works associated with the eScience Center

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

1 participant