old_bailey_api_terms: View Old Bailey API Terms

View source: R/old_bailey_api_terms.R

old_bailey_api_termsR Documentation

View Old Bailey API Terms

Description

For viewing terms and their categories.

Usage

old_bailey_api_terms(
  cat = NULL
  )

Arguments

cat

Return terms corresponding to a category of crime. By default, all terms and categories are returned.

Value

Dataframe containing API pull of terms and their categories.

Examples

# Return a dataframe with the terms corresponding to defendant gender or offensive category.
terms <- old_bailey_api_terms(cat = c("defgen", "offcat"))
head(terms)


oldbailey documentation built on April 28, 2023, 1:09 a.m.