Skip to content

dmarcelinobr/SciencesPo

Repository files navigation

SciencesPo

lifecycle Build Status CRAN Version Coverage Status Downloads DOI

A tool set for analyzing political science data

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.

Installation

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)

Getting help

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.

Helping out

SciencesPo is intended to be useful for the Social Sciences community; contributions are very welcome! Feel free to submit a pull request.

Usage

For a brief introduction to SciencesPo functionality, run:

demo(SciencesPo)

To see what functions are implemented in SciencesPo, run:

help(package=SciencesPo)

Vignettes