find_trials | R Documentation |
For finding Old Bailey trial data.
find_trials(
n_results = "all",
cat = NA,
term = NA
)
n_results |
The number of results to return. By default, all results are returned. |
cat |
Find trials pertaining to a category. (optional). |
term |
Find trials pertaining to a term. (optional). |
Dataframe containing API pull of XML addresses for Old Bailey Trials corresponding with the search criteria.
# Return a dataframe with 5 trials.
trials <- find_trials(n_results = 5)
head(trials)
# Return a dataframe with 5 trials on deception.
trials <- find_trials(n_results = 5, cat = "offcat", term = "deception")
head(trials)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.