A Tool Set for Analyzing Political Behavior Data

Provide functions for analyzing elections and political behavior data, including measures of political fragmentation, seat apportionment, and small data visualization graphs.

SciencesPo is a facility package for the political science crowd. It provides a variety of functions for analyzing random and nonrandom data. The package lives on the R Foundation repository (CRAN) and is also hosted on Github. To install it, you can use the following methods.

1 - From the CRAN repository:


2 - You can always download the latest development version using the nifty function from devtools package.


3 - Or download the sources in a zip file and build manually. To do so, please unzip the file to an empty dir and run the following commands there:

R CMD build SciencesPo
R CMD INSTALL SciencesPo_*.tar.gz

If you're running R on Windows, you need to install Rtools. Once you have installed Rtools, issue following command in command prompt:

R CMD build --binary <path to .tar.gz file>
R CMD INSTALL <path to .zip file>

For a brief introcution to SciencesPo functionality, run:



Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.4.1 by Daniel Marcelino, 2 years ago


Report a bug at http://github.com/danielmarcelino/SciencesPo/issues

Browse source code at https://github.com/cran/SciencesPo

Authors: Daniel Marcelino [aut, cre]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports Rcpp, pander, data.table, grid, rstudioapi, htmltools, lubridate, stringr, xtable, shiny

Depends on stats, utils, graphics, grDevices, methods, ggplot2

Suggests testthat, devtools, scales, extrafont, gtable, knitr

Linking to Rcpp

Suggested by SoundexBR.

See at CRAN