knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
SciencesPo is a tool set for analyzing social and political behavior data. It provides functions for analyzing elections results, including measures of political fragmentation, seat apportionment, and a variety of graph visualizations for small data.
1 - From the CRAN repository:
install.packages('SciencesPo', dep=TRUE) library(SciencesPo)
2 - To get the current development version from Github:
## install devtools package if it's not already if (!requireNamespace("devtools", quietly = TRUE)) { install.packages("devtools") } install_github("danielmarcelino/SciencesPo") library(SciencesPo)
If you encounter a bug, please file a minimal reproducible example using reprex or use GitHub issues. For public questions and clarifications, StackOverflow is a good place to ask.
SciencesPo is intended to be useful for the Social Sciences community; contributions are very welcome! Feel free to submit a pull request.
For a brief introduction to SciencesPo functionality, run:
demo(SciencesPo)
To see what functions are implemented in SciencesPo, run:
help(package=SciencesPo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.