
Parse Old Bailey Trials
parse_trials.RdFor parsing Old Bailey trial data.
Examples
# Return a dataframe with parsed trial data.
xml_address <- "https://www.oldbaileyonline.org/obapi/text?div=t17690112-9"
parsed_trial <- parse_trials(xml_address)
#> Warning: cannot open URL 'https://www.oldbaileyonline.org/obapi/text?div=t17690112-9': HTTP status was '403 Forbidden'
#> Error in file(con, "r"): cannot open the connection to 'https://www.oldbaileyonline.org/obapi/text?div=t17690112-9'
head(parsed_trial)
#> Error: object 'parsed_trial' not found