Giter Club home page Giter Club logo

sciencespo's Introduction

SciencesPo

License Version Build Status Rate Coveralls Zenodo
License Version Build Status Downloads Coverage Status DOI
License Latest CRAN version Build status CRAN Downloads Coverage Independently-hosted Archive

SciencesPo is a facility package for the political science crowd. It provides a variety of functions for analyzing elections and political behavior data, including measures of political fragmentation, seat apportionment, and small data visualization graphs. The package lives on the R Foundation repository (CRAN), and its development version hosted on Github. To install it, you can use the following methods.

1 - From the CRAN repository (stable version):

install.packages('SciencesPo', dep=TRUE)

library(SciencesPo)

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

if (!require("devtools")) install.packages("devtools")
devtools::install_github("danielmarcelino/SciencesPo")

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

Please note that the package contains some C code and thus you need a development environment to build the package. 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>

Helping Out

SciencesPo is intended to be a useful project for the social sciences community. Contributions are welcome.

If you're familar with GitHub and R packages, feel free to submit a pull request. If you'd like to report a bug or make a suggestion, please create a GitHub issue; issues are a usually a good place to ask public questions too.

Usage

For a brief introduction to SciencesPo functionality, run:

demo(SciencesPo)

To see what functions are implemented in SciencesPo, run:

help(package=SciencesPo)

Vignettes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.