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

View source: R/dpla_fields.r

dpla_by_fieldsR Documentation

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

Description

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

Usage

dpla_by_fields(queries = NULL)

Arguments

queries

A list of query terms paired with the fields you want to search them in. You can search on specific fields, see details below.

Details

You can search on a vector of the fields to return in the output. The default is all fields. Options are:

  • title - Object title

  • description - Description

  • subject - Subjects, semicolon separated

  • language - Language

  • format - Format, one of X, Y.

  • collection - Collection name

  • type - Type of object

  • publisher - Publisher name

  • creator - Creator

  • provider - Data provider

  • score - Matching score on your query

  • creator - Creator

Value

A list for now...

Examples

## Not run: 
# Search by specific fields
dpla_by_fields(queries=c("fruit,title","basket,description"))

# Items from before 1900
dpla_by_fields("1900,date.before")

dpla_by_fields("Boston,spatial")

## End(Not run)

ropensci/rmetadata documentation built on May 18, 2022, 6:41 p.m.