dpla_plot: Search metadata from the Digital Public Library of America...

Description Usage Arguments Value Examples

View source: R/dpla_plot.r

Description

Search metadata from the Digital Public Library of America (DPLA).

Usage

1
dpla_plot(input, plottype = "subjectsum")

Arguments

input

A data.frame from calling a variety of dpla_* functions.

plottype

One of a number of types. These are for convenience. You can of course create your own plots with more flexibility.

Value

A ggplot2 object, a plot that is.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# Plot results, summarising subjects by number of subjects listed
out <- dpla_basic(q="ecology", fields=c("publisher","subject"), limit=90)
dpla_plot(input=out)

# Another example
out <- dpla_basic(q="science", date.before=1900, limit=200)
dpla_plot(input=out, plottype="subjectsbydate")

## End(Not run)

ropensci/rmetadata documentation built on May 27, 2019, 6:31 p.m.