Skip to contents

manystates 1.0.2

Package

  • Fixed DESCRIPTION Description

Functions

manystates 1.0.1

Package

  • Fixed README and DESCRIPTION issues

manystates 1.0.0

Package

  • Dropped unnecessary dependencies for CRAN submission
  • Added more description of included data and functions to the README (closed #78)
  • Added funding details to the README
  • Package still under development but considered stable (closed #76)
  • Fixed code coverage
  • Updated CITATION

Data

  • Improved states$GW
    • Fixed GW preparation script so that $stateID is coded correctly
    • Added $StateNameAlt from secondary labels in parentheses
  • Improved states$ISD
    • Updated ISD to version 2.2
    • Fixed ISD preparation script so that $Begin and $End are coded correctly
  • Improved states$GGO
    • Renamed from states$HUGGO to reflect new name of the dataset
    • Simplified GGO preparation script by exporting and working on clean csv
    • Fixed current states ending as 9999-12-31 (closed #85)
    • Removed ~64 duplicated or overlapping records (closed #84)
    • Added details on many states (closed #83, thanks @myevrard)
    • Added a codebook vignette for states$GGO (closed #87)

Functions

  • Improved code_states()
    • Now uses stringi exclusively
    • Fixed Burgundy (BOU) identification in code_states() (fixed #79)
    • Fixed various negative lookup bugs in regex patterns for e.g. Korea
    • Added 172 new regex patterns to code_states()
    • Added tests for code_states() that cover all datasets in states
    • Added tests to make sure that no ISO reserved codes assigned
    • Added tests to make sure that all states identified uniquely
  • Improved generate_states()
    • Now uses stringi exclusively
    • Added syllabise_states() for splitting state names into syllables
    • Improved state name generation algorithm to be based off of a Markov chain of syllables
    • Improved state name generation algorithm to better match the length distribution of real state names
    • Added checks to avoid generating existing, duplicate, or awkward state names
    • Added tests for generate_states()
  • Added filter_datacube() in manydata to filter the state system by a given year (closed #77)

manystates 0.3.1

Package

Data

  • Closed #72 by adding version 2 of states$ISD
  • Closed #64 by filling in missing state names in states$HUGGO

manystates 0.3.0

Package

  • Added package startup message
  • Updated references from database to datacube
  • Updated website, linking to manytreaties and manyigos
  • Updated github workflows

Data

  • Updated states
    • Renamed states$HUGGO_STATES to states$HUGGO
    • Improved states$HUGGO by adding missing state names
    • Improved states$HUGGO by adding missing latitude/longitudes, where possible
    • Improved country coding in states$ICOW
    • Added stateID for datasets without this variable using manypkgs::code_states() (closes #71)
    • Renamed Beg variable Begin in all datasets (closes #67)
    • Fixed RATRULES citation
    • Dropped economic freedom dataset (closes #66)
    • Reordered variables so that shared variables lead datasets
  • Updated contiguity
    • Rearranged contiguity variables
    • Renamed contiguity$HUGGO_CONT to contiguity$HUGGO
    • Renamed contiguity$COW_DIRCONT to contiguity$COW
    • Dropped additional variables in contiguity$HUGGO as duplicates of states$HUGGO
  • Updated related tests
  • Improved variable mapping explanation (closes #68)
  • Improved dataset documentation by making it computational
  • Dropped leaders and regimes

Functions

  • Dropped extract_cshapes()
  • Dropped extract_vdem()

manystates 0.2.0

Package

  • Closed #61 by updating functions to import Varieties of Democracy data from the Github package with standardised variable names.
  • Updated import_vdem(), import_vparty(), and import_cshapes() function by fixing CMD warnings and notes.
  • Closed #54 by moving code_states() to {manypkgs} for consistency across packages.
  • Added first draft of vignette to publicize manystates data.
  • Updated pkgdown.yml file

Data

  • Closed #57 by replacing GNEVAR datasets with HUGGO datasets for handcoded data in states, leaders, and contiguity databases.
  • Added some missing state names (StateName variable) and regions (Region variable) in HUGGO_STATES dataset.

manystates 0.1.1

Functions

manystates 0.1.0

Package

  • Updated regex for code_states() to more accurately match and translate states’ names.
  • Updated workflow files to include package caching.
  • Re-rendered documentation using messydates::mreport().
  • Added {cshapes} and {vdemdata} dependencies

Data

  • Added data across databases
    • Closed #9 by adding ICOW datasets to states database.
    • Closed #24 by adding Economic Freedom datasets to economics database.
    • Closed #25 by adding Freedom House data to regimes database.
    • Closed #48 by adding data on states’ ratification rules to ratrules database.
    • Closed #49 by adding Colonial Relations data from ICOW dataset to colsrels database.
    • Closed #50 by adding self-coded data on the latitude and longitude of state capitals as GNEVAR_STATES dataset in states database.
    • Closed #51 by adding contiguity and regions data from FAO and ICOW in contiguity database.
  • Changed class for date variables (Beg and End) from messydt to mdate using messydates::as_messydate() in preparation scripts across databases.

manystates 0.0.6

Package