extractNetwork: Extract collaborators network from Google Scholar page

Description Usage Arguments Details Examples

View source: R/extract-network.R

Description

Uses scholar package to scrape Google Scholar page of an author (determined by ID) and returns a list with a list of edges and a data frame with node-level information

Usage

1
extractNetwork(id, n = 500, largest_component = TRUE, ...)

Arguments

id

Character string specifying the Google Scholar ID.

n

Maximum number of publications to retrieve.

largest_component

If TRUE, keep only largest component in network

...

Other options to pass to get_publications function

Details

extractNetwork

Examples

1
2
3
4
5
6
7
## Not run: 
## Download Google Scholar network data for a sample user
d <- extractNetwork(id="jGLKJUoAAAAJ", n=500)
## Plot network into file called \code{network.html}
plotNetwork(d$nodes, d$edges, file="network.html")

## End(Not run)

pablobarbera/scholarnetwork documentation built on May 24, 2019, 5:57 p.m.