Google Scholar Citation World Map.
Project description
Google Scholar Citation World Map
Chen Liu, CS PhD Candidate at Yale University
Purpose
This is a simple Python tool to generate a HTML citation world map from your Google Scholar ID.
It is easy to install (pip install citation-map
, available on PyPI) and easy to use (see the Usage section).
Warning
- This script is a bit slow. On my personal computer, it takes half a minute to process each citation. If you have thousands of citations, it may or may not be a good idea to use this script.
- I tried to use multiprocessing, but unfortunately the excessive visits get me blocked by Google Scholar.
Expected Outcome
When you run the code properly, you will get an HTML file. If you open that HTML file on a browser, you will see your own version of the following citation world map.
Usage
- Install the package.
pip install citation-map
-
Find your Google Scholar ID.
On your Google Scholar profile, the string
GOOGLE_SCHOLAR_ID
in the URLhttps://scholar.google.com/citations?user=GOOGLE_SCHOLAR_ID
be will be your Google Scholar ID. Ignore the configuration strings such as&hl=en
or&view_op=list_works&sortby=pubdate
. -
In an empty Python script (for example, the demo script), run the following.
from citation_map import citation_map_from_google_scholar_id
# This is my Google Scholar ID. Replace this with your ID.
scholar_id = "3rDjnykAAAAJ"
citation_map_from_google_scholar_id(scholar_id)
Dependencies
scholarly
geopy
folium
tqdm
Acknowledgements
This script was written under the help of ChatGPT-4o, but of course after intense debugging.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for citation_map-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cf762c0d8823df85533ab4109076e5b92164f793002a7f5699753dfcd733352 |
|
MD5 | 1b8637302d94be1ef0659ff6ba487d77 |
|
BLAKE2b-256 | 1548ffeef672a52736161275c67ea97ab49148e54cdd795ab23412e630b4d166 |