Create Panels of Independent States

Create panel data consisting of independent states from 1816 to the present. The package includes the Gleditsch & Ward (G&W) and Correlates of War (COW) lists of independent states, as well as helper functions for working with state panel data and standardizing other data sources to create country-year/month/etc. data.


News

states 0.2.1

  • plot_missing improvements: examples with Polity data, added a skip_labels option that will plot every n-th label for countries instead of all labels to avoid overplotting on the y-axis. The latter is inspired by https://github.com/xuyiqing/panelView.
  • Added Polity combined score as example data set.
  • Fixed encoding issue for gwstates$country_names like Cote d'Ivoire and W├╝ttemberg.

states 0.2.0

  • Initial version on CRAN.
  • Refactor state_panel and add a partial option to allow including partial state-periods (as opposed to the default which is based on the exact start date, for all period resolutions in "by").
  • Rework plot_missing: fix a bug that would leave out independent states with no cases in the input data; add missing_info function that generates the data underlying the plots.
  • Add pkgdown website for states package documentation.

states 0.1.0

  • Initial version on Github.
  • Added a NEWS.md file to track changes to the package.

Reference manual

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

install.packages("states")

0.2.2 by Andreas Beger, 8 months ago


https://github.com/andybega/states, https://andybeger.com/states


Report a bug at https://github.com/andybega/states/issues


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


Authors: Andreas Beger [cre, aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr

Suggests testthat, ggplot2, stringr, knitr, rmarkdown, covr


See at CRAN