Feed output of almplosallviews to this function to plot results.

Usage

almplotallviews(data, type = NA)

Arguments

data
JSON output downloaded from PLoS (character)
type
plot views for html, pdf, xml, any combination of two (e.g., 'html,pdf'), or all (character)

Value

A ggplot2 line plot.

Description

Feed output of almplosallviews to this function to plot results.

Examples

## Not run: # out <- almplosallviews('10.1371/journal.pbio.0000012', 'counter', T, T, 'json')# almplotallviews(out, 'all')# almplotallviews(out, 'pdf')# almplotallviews(out, 'html,pdf')# ## End(Not run)