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

View source: R/dpla_plot.r

dpla_plotR Documentation

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

Description

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

Usage

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

## 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 18, 2022, 6:41 p.m.