View Old Bailey API Terms
old_bailey_api_terms.Rd
For viewing terms and their categories.
Arguments
- cat
Return terms corresponding to a category of crime. By default, all terms and categories are returned.
Examples
# Return a dataframe with the terms corresponding to defendant gender or offensive category.
terms <- old_bailey_api_terms(cat = c("defgen", "offcat"))
#> Error: lexical error: invalid char in json text.
#> <!doctype html><html lang="en">
#> (right here) ------^
head(terms)
#>
#> 1 function (x, ...)
#> 2 UseMethod("terms")