
Find Old Bailey Trials
find_trials.Rd
For finding Old Bailey trial data.
Value
Dataframe containing API pull of XML addresses for Old Bailey Trials corresponding with the search criteria.
Examples
# Return a dataframe with 5 trials.
trials <- find_trials(n_results = 5)
#> Error: lexical error: invalid char in json text.
#> <!doctype html><html lang="en">
#> (right here) ------^
head(trials)
#> Error: object 'trials' not found
# Return a dataframe with 5 trials on deception.
trials <- find_trials(n_results = 5, cat = "offcat", term = "deception")
#> Error: lexical error: invalid char in json text.
#> <!doctype html><html lang="en">
#> (right here) ------^
head(trials)
#> Error: object 'trials' not found