A function to make the results of calls to the API easier to work with, mostly though fixing variable names, which by default contain non alpha-numeric characters and appear to use an inconsistent/idiosyncratic naming convention, at least by the standards of the various naming conventions used in R. Dates and datetimes are converted to POSIXct class. Some extra URL data included in the API is also stripped out.
hansard_tidy(df, tidy_style = c("snake_case", "camelCase", "period.case"))
The tibble to tidy.
The style to tidy variable names to.
A tidied tibble