tinyscholar

The goal of tinyscholar is to provide a simple way to get and show Google scholar profile.

Installation

You can install the released version of tinyscholar from CRAN with:

install.packages("tinyscholar")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("ShixiangWang/tinyscholar")
# devtools::install_git("https://gitee.com/ShixiangWang/tinyscholar")

Usage

Here I will use my profile as an example.

library(tinyscholar)

Get You Google Scholar ID

Firstly, you need to get your Google scholar ID from URL of your Google scholar profile or by running the following function with a keyword:

scholar_search("Shixiang Wang")
#> Searching author Shixiang Wang
#> Using API server: https://api.scaleserp.com
#> Using Shixiang's personal API key, only 125 free searches per month for all packages users
#> Search times used: 38
#> Search times left: 87
#>             id
#> 1 FvNp0NkAAAAJ
#>                                                                                               desc
#> 1 Wang, Shixiang (王诗翔)ShanghaiTech. UniversityVerified email at shanghaitech.edu.cnCited by 127

Copy your ID and go to the next step.

Get Personal Profile

Then you can use function tinyscholar() to get the tidy data, which is a list of two data.frame with added profile class.

profile <- tinyscholar("FvNp0NkAAAAJ")
#> Using cache directory: /tmp/RtmpJwro6E/tinyscholar
#> Cannot find cache file /tmp/RtmpJwro6E/tinyscholar/unsorted_2025-03-02_FvNp0NkAAAAJ.rds
#> Try quering data from server: hiplot
#> Save data to cache file /tmp/RtmpJwro6E/tinyscholar/unsorted_2025-03-02_FvNp0NkAAAAJ.rds
#> Done
str(profile, max.level = 1)
#> List of 2
#>  $ publications:'data.frame':    20 obs. of  5 variables:
#>  $ citations   :'data.frame':    8 obs. of  2 variables:
#>  - attr(*, "class")= chr [1:2] "ScholarProfile" "list"

You can use this data in your way. The following parts provide two simple ways to show the profile.

Show Table

Table is the best way to show the scholar profile. Tinyscholar uses gt package to generate tables which can be easily modified.

tb <- scholar_table(profile)
tb$citations
Citations
when count
total 1377
2019 40
2020 122
2021 188
2022 291
2023 319
2024 350
2025 62
Update: 2025-03-02
tb$publications
Publications
title authors venue citations year
Antigen presentation and tumor immunogenicity in cancer immunotherapy response prediction S Wang, Z He, X Wang, H Li, XS Liu eLife, 2019 296 2019
APOBEC3B and APOBEC mutational signature as potential predictive markers for immunotherapy response in non-small cell lung cancer S Wang, M Jia, Z He, XS Liu Oncogene 37 (29), 3924-3936, 2018 242 2018
Hiplot: a comprehensive and easy-to-use web service for boosting publication-ready biomedical data visualization J Li, B Miao, S Wang, W Dong, H Xu, C Si, W Wang, S Duan, J Lou, Z Bao, ... Briefings in bioinformatics 23 (4), bbac261, 2022 183 2022
Sex Differences in Cancer Immunotherapy Efficacy, Biomarkers, and Therapeutic Strategy S Wang, LA Cowley, XS Liu Molecules 24 (18), 3214, 2019 161 2019
UCSCXenaShiny: an R/CRAN package for interactive analysis of UCSC Xena data S Wang, Y Xiong, L Zhao, K Gu, Y Li, F Zhao, J Li, M Wang, H Wang, ... Bioinformatics 38 (2), 527-529, 2022 107 2022
Copy number signature analysis tool and its application in prostate cancer reveals distinct mutational processes and clinical outcomes S Wang, H Li, M Song, Z Tao, T Wu, Z He, X Zhao, K Wu, XS Liu PLoS Genetics 17 (5), e1009557, 2021 94 2021
The predictive power of tumor mutational burden in lung cancer immunotherapy response is influenced by patients' sex S Wang, J Zhang, Z He, K Wu, XS Liu International journal of cancer 145 (10), 2840-2849, 2019 71 2019
The UCSCXenaTools R package: a toolkit for accessing genomics data from UCSC Xena platform, from cancer multi-omics to single-cell RNA-seq S Wang, XS Liu Journal of Open Source Software 4 (40), 1627, 2019 65 2019
Sigflow: an automated and comprehensive pipeline for cancer genome mutational signature analysis S Wang, Z Tao, T Wu, XS Liu Bioinformatics 37 (11), 1590-1592, 2020 44 2020
Ras downstream effector GGCT alleviates oncogenic stress Z He, S Wang, Y Shao, J Zhang, X Wu, Y Chen, J Hu, F Zhang, XS Liu Iscience 19, 256-266, 2019 16 2019
The repertoire of copy number alteration signatures in human cancer Z Tao, S Wang, C Wu, T Wu, X Zhao, W Ning, G Wang, J Wang, J Chen, ... Briefings in Bioinformatics 24 (2), bbad053, 2023 14 2023
Quantification of neoantigen-mediated immunoediting in cancer evolution T Wu, G Wang, X Wang, S Wang, X Zhao, C Wu, W Ning, Z Tao, F Chen, ... Cancer Research 82 (12), 2226-2238, 2022 12 2022
Pan-cancer noncoding genomic analysis identifies functional CDC20 promoter mutation hotspots Z He, T Wu, S Wang, J Zhang, X Sun, Z Tao, X Zhao, H Li, K Wu, XS Liu Iscience 24 (4), 2021 12 2021
Copy number signature analyses in prostate cancer reveal distinct etiologies and clinical outcomes S Wang, H Li, M Song, Z He, T Wu, X Wang, Z Tao, K Wu, XS Liu MedRxiv, 2020.04. 27.20082404, 2020 9 2020
Machine learning-based extrachromosomal DNA identification in large-scale cohorts reveals its clinical implications in cancer S Wang, CY Wu, MM He, JX Yong, YX Chen, LM Qian, JL Zhang, ZL Zeng, ... Nature Communications 15 (1), 1515, 2024 8 2024
TCCIA: a comprehensive resource for exploring CircRNA in cancer immunotherapy S Wang, Y Xiong, Y Zhang, H Wang, M Chen, J Li, P Luo, YH Luo, ... Journal for ImmunoTherapy of Cancer 12, e008040, 2024 7 2024
Ggct (&#947;&#8208;glutamyl cyclotransferase) plays an important role in erythrocyte antioxidant defense and red blood cell survival Z He, X Sun, S Wang, D Bai, X Zhao, Y Han, P Hao, XS Liu British Journal of Haematology 195 (2), 267-275, 2021 7 2021
Accurate prediction of pan-cancer types using machine learning with minimal number of DNA methylation sites W Ning, T Wu, C Wu, S Wang, Z Tao, G Wang, X Zhao, K Diao, J Wang, ... Journal of Molecular Cell Biology 15 (4), mjad023, 2023 5 2023
Association of CSMD1 with tumor mutation burden and other clinical outcomes in Gastric Cancer X Wang, S Wang, Y Han, M Xu, P Li, M Ke, Z Teng, P Huang, Z Diao, ... International Journal of General Medicine, 8293-8299, 2021 4 2021
Can tumor mutational burden determine the most effective treatment for lung cancer patients? S Wang, Z He, X Wang, H Li, T Wu, X Sun, K Wu, XS Liu Lung Cancer Management 8 (4), LMT21, 2019 4 2019
Update: 2025-03-02

Show Plot

Similarly, you can show numeric data with ggplot2 package.

pl <- scholar_plot(profile)
pl$citations

pl$publications

Similar R package

R package scholar is a more comprehensive package to get and visualize the Google scholar profile. However, tinyscholar is lightweight and not limited in China.