There is a newer version of the record available.

Published June 5, 2017 | Version v0.4.6

EvanOdell/hansard: v0.4.6

Authors/Creators

Description

Features

Added optional tidy_style parameter, allowing users to decide which style of "snake_case", "camelCase" and "period.case" they want variable names to be in, if tidy==TRUE.

The elections() function now accepts start_date and end_date parameters. As the API called by the elections() function only accepts one additional argument not included in the package (the label of the election), changed the extra_args parameter to label to query that argument.

The tidy parameter now changes date values to POSIXct class with as.POSIXct() when the API returns date information, or to POSIXct with the parse_date_time from the lubridate package where the API returns both date and time information.

tidy parameter now strips out more unneeded character strings from API response.

Bug fixes

Updated elections() to work with new API syntax.

Files

EvanOdell/hansard-v0.4.6.zip

Files (99.8 kB)

Name Size Download all
md5:df1a5c5c7fcf3085aad5ec27c1b39f4b
99.8 kB Preview Download

Additional details

Related works