-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathREADME.Rmd
84 lines (55 loc) · 2.92 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# SciencesPo <img src="inst/figures/SciencesPo-logo.png" width="240px" align="right" />
[](https://www.tidyverse.org/lifecycle/#maturing)
[](https://travis-ci.org/danielmarcelino/SciencesPo)


[]( https://coveralls.io/github/danielmarcelino/SciencesPo?branch=master)
[]( https://cran.r-project.org/package=SciencesPo)
[](http://dx.doi.org/10.5281/zenodo.54876)
## 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:
```{r, eval=FALSE}
install.packages('SciencesPo', dep=TRUE)
library(SciencesPo)
```
2 - To get the current development version from Github:
```{r, eval=FALSE}
## 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](https://reprex.tidyverse.org/index.html) or use [GitHub issues](https://github.com/danielmarcelino/SciencesPo/issues). For public questions and clarifications, [StackOverflow](https://stackoverflow.com/) 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](https://github.com/danielmarcelino/SciencesPo/pulls).
## Usage
For a brief introduction to **SciencesPo** functionality, run:
```{r, eval=FALSE}
demo(SciencesPo)
```
To see what functions are implemented in **SciencesPo**, run:
```{r, eval=FALSE}
help(package=SciencesPo)
```
## Vignettes
* [Concepts and Basics of SciencesPo](https://cran.r-project.org/web/packages/SciencesPo/vignettes/SciencesPo.html)
* [Descriptive Stats]
* [Cross-Tabulation]
* [Measures of Political Behavior](https://cran.r-project.org/web/packages/SciencesPo/vignettes/Indices.html)
* [The Anatomy of a Plot](https://cran.r-project.org/web/packages/SciencesPo/vignettes/Viz.html)