get_coauthors | R Documentation |
Gets the network of coauthors of a scholar
get_coauthors(id, n_coauthors = 5, n_deep = 1)
id |
a character string specifying the Google Scholar ID. If multiple ids are specified, only the first value is used and a warning is generated. |
n_coauthors |
Number of coauthors to explore. This number should usually be between 1 and 10 as choosing many coauthors can make the network graph too messy. |
n_deep |
The number of degrees that you want to go down the network. When |
Considering that scraping each publication for all coauthors is error prone, get_coauthors
grabs only the coauthors listed on the google scholar profile (on the bottom right of the profile),
not from all publications.
A data frame with two columns showing all authors and coauthors.
plot_coauthors
## Not run: library(scholar) coauthor_network <- get_coauthors('amYIKXQAAAAJ&hl') plot_coauthors(coauthor_network) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.