dpla_plot | R Documentation |
Search metadata from the Digital Public Library of America (DPLA).
dpla_plot(input, plottype = "subjectsum")
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. |
A ggplot2 object, a plot that is.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.