New CRAN submission with minor fix to fail gracefully with informative message if internet resources (github) is nos available
New CRAN submission:
show_available_bills()
, plot_bill()
, get_bill_votes()
get_grid()
, show_arg_codes()
, recode_grid()
, get_geo()
, map_results()
show_available_speech()
, get_speech()
, plot_speech()
get_multiple_elections()
New computations: compute_concentration()
, compute_seats()
, compute_disproportion()
Agu 17, 2020: dev version
Add new workflow for legislative data with three functions:
show_available_bills()
to explore data
plot_bill()
to quickly visualize voting totals
get_bill_votes()
to download invividual voting records
Jul 31, 2020: dev version
Add 'level' parameter to get_multiple_elections()
function
Add new computation function for electoral data workflow: compute_concentration()
Fixed map_results()
: need to ungroup when using sf::st_as_sf()
function.
Add get_geo()
function to get gis
Add {geofaceteAR}
functions as {polAr}
native functions:
get_grid()
show_arg_codes()
recode_grid()
Jul 26, 2020: dev version
Add new computation function compute_disproportion()
with 4 alternative formulas.
Fix minor bug:
Modify dims check in compute_seats()
to allow computing whether the names of parties have been added explicitly with get_names()
or not
Add party id variable in compute_seats()
output. This allows compute_disproportion()
computation workflow.
Jul 5, 2020: dev version
Added two new functions in previous workflow:
get_multiple_elections()
helps downloading multiple elections data with only one call.
compute_seats()
assigns the expected number of seats that a party should get bases on it´s votes.
Added a new workflow around presidential speeches with three functions:
exploring data with show_available_speech()
downloading data with get_speech()
visualize data with plot_speech()
May 26, 2020: dev version
Add first version of map_results()
function to visualize election data in geographical format with polygons as geometry.
Minor fix in geofacet
plots (aspect.ratio
inside ggplot2::theme()
).
Simplify visualization workflow adding get_names()
helper function explicitly inside plot_results()
, map_results()
and tabulate_results()
functions.
CRAN release
May 9, 2020: resubmitting whith reviewer changes requests
Add "cph" to Authors\@R in DESCRIPTION
Fix tabulate_results()
output removing it´s printing to console step and keeping it as an object
Added minimal examples for functions and improved their documentation in Rd files
May 6, 2020: resubmitting with fix in minor bugs
May 5, 2020: first submission to CRAN
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.