plot_signposts: Plot PLOS article-level metrics data.

Description Usage Arguments Details References See Also Examples

Description

This can be used in conjuction with the function alm_signposts.

Usage

1

Arguments

input

A data.frame from a search from the alm_signposts function

Details

Note that DOIs are the unit of replication of each study. When plotting, if the prefix is common among all DOIs, then just the end of the DOI, the numeric part is printed to make plots less ugly.

References

See a tutorial/vignette for alm at http://ropensci.org/tutorials/alm_tutorial.html

See Also

alm_signposts

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Not run: 
# Plot data from a single identifier gives a bar chart
dat <- alm_signposts(doi="10.1371/journal.pone.0029797")
plot_signposts(dat)

# Plot data from many identifiers gives a line chart
dois <- c('10.1371/journal.pone.0001543','10.1371/journal.pone.0040117',
   '10.1371/journal.pone.0029797','10.1371/journal.pone.0039395')
dat <- alm_signposts(doi=dois)
plot_signposts(dat)

# software lagotto instance
urls <- c("https://github.com/najoshi/sickle","https://github.com/lh3/wgsim",
   "https://github.com/jstjohn/SeqPrep")
dat <- alm_signposts(url = urls, api_url = "http://software.lagotto.io/api/v5/articles")
plot_signposts(dat)

# scopus ids
ids <- c(68049122102, 14044251458, 48349097292, 28444460441)
dat <- alm_signposts(scp = ids)
plot_signposts(dat)

## End(Not run)

alm documentation built on Jan. 15, 2017, 3:22 p.m.