Skip to content

Instantly share code, notes, and snippets.

View hpiwowar's full-sized avatar

Heather Piwowar hpiwowar

View GitHub Profile
@hpiwowar
hpiwowar / downloads.ipynb
Last active September 25, 2019 00:30
downloads.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hpiwowar
hpiwowar / manuscript.ipynb
Last active October 7, 2019 03:31
manuscript.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hpiwowar
hpiwowar / Unpaywall Journals Exploration.ipynb
Last active February 10, 2020 01:19
blog_num_journals.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hpiwowar
hpiwowar / children_of_library_science.py
Last active February 9, 2022 16:51
Sample code to get the children concepts of Library Science, using the OpenAlex API
import requests
api_response = requests.get("https://api.openalex.org/concepts?filter=ancestors.id:C161191863")
parsed_response = api_response.json()
result_list = parsed_response["results"]
for result in result_list:
print(result["display_name"], result["id"], result["level"])