- Improved README to reveal generated state names
- Fixed
generate_states()to avoid generation failure on rare edge cases - Improved
generate_states()to avoid preposition repetitions, prepositions beginning or ending state names, and other issues - Note that
generate_states()no longer uses the Markov chain approach advertised in the previous version, but generates more realistic names overall - Improved
generate_states()to include modifying prefixes according to real-world distributions
- Fixed DESCRIPTION Description
- Fixed lack of return documentation for
code_states()
- Fixed README and DESCRIPTION issues
- 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
- Improved
states$GW- Fixed GW preparation script so that
$stateIDis coded correctly - Added
$StateNameAltfrom secondary labels in parentheses
- Fixed GW preparation script so that
- Improved
states$ISD- Updated ISD to version 2.2
- Fixed ISD preparation script so that
$Beginand$Endare coded correctly
- Improved
states$GGO- Renamed from
states$HUGGOto 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)
- Renamed from
- 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 instates - Added tests to make sure that no ISO reserved codes assigned
- Added tests to make sure that all states identified uniquely
- Now uses
- 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()
- Now uses
- Added
filter_datacube()in{manydata}to filter the state system by a given year (closed #77)
- Moved
code_states()function from{manypkgs}to be user-facing - Added
code_states()to website - Improved regex matches for
code_states() - Added tests for
code_states()
- Closed #72 by adding version 2 of
states$ISD - Closed #64 by filling in missing state names in
states$HUGGO
- Added package startup message
- Updated references from database to datacube
- Updated website, linking to manytreaties and manyigos
- Updated github workflows
- Updated
states- Renamed
states$HUGGO_STATEStostates$HUGGO - Improved
states$HUGGOby adding missing state names - Improved
states$HUGGOby adding missing latitude/longitudes, where possible - Improved country coding in
states$ICOW - Added
stateIDfor datasets without this variable usingmanypkgs::code_states()(closes #71) - Renamed
BegvariableBeginin all datasets (closes #67) - Fixed RATRULES citation
- Dropped economic freedom dataset (closes #66)
- Reordered variables so that shared variables lead datasets
- Renamed
- Updated
contiguity- Rearranged
contiguityvariables - Renamed
contiguity$HUGGO_CONTtocontiguity$HUGGO - Renamed
contiguity$COW_DIRCONTtocontiguity$COW - Dropped additional variables in
contiguity$HUGGOas duplicates ofstates$HUGGO
- Rearranged
- Updated related tests
- Improved variable mapping explanation (closes #68)
- Improved dataset documentation by making it computational
- Dropped
leadersandregimes
- Dropped
extract_cshapes() - Dropped
extract_vdem()
- Closed #61 by updating functions to import Varieties of Democracy data from the Github package with standardised variable names.
- Updated
import_vdem(),import_vparty(), andimport_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
- Closed #57 by replacing GNEVAR datasets with HUGGO datasets for handcoded data in
states,leaders, andcontiguitydatabases. - Added some missing state names (
StateNamevariable) and regions (Regionvariable) inHUGGO_STATESdataset.
- Added
generate_states()for generating lists of fictional state names
- 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
- Added data across databases
- Closed #9 by adding ICOW datasets to
statesdatabase. - Closed #24 by adding Economic Freedom datasets to
economicsdatabase. - Closed #25 by adding Freedom House data to
regimesdatabase. - Closed #48 by adding data on states' ratification rules to
ratrulesdatabase. - Closed #49 by adding Colonial Relations data from ICOW dataset to
colsrelsdatabase. - Closed #50 by adding self-coded data on the latitude and longitude of state capitals as
GNEVAR_STATESdataset instatesdatabase. - Closed #51 by adding contiguity and regions data from FAO and ICOW in
contiguitydatabase.
- Closed #9 by adding ICOW datasets to
- Changed class for date variables (
BegandEnd) frommessydttomdateusingmessydates::as_messydate()in preparation scripts across databases.
- Fixed #43 by extending the regex pattern matching process of
code_states() - Changed the package name from
{qStates}to{manystates}
- Fixed #38 by fixing a bug preventing
data_contrast("qStates")from being run while{qStates}is also loaded in the environment. - Updated the CSS in the package to make it consistent with other packages in the qVerse
- Closed #29 by adding the ARCHIGOS database
- Closed #23 by adding
import_vdem()to automatically import and consistently format the V-Dem dataset - Closed #22 by adding
import_vparty()to automatically import and consistently format the V-Party dataset - Closed #37 by improving the way we deal with special categorical values (-66, -77, -88) in the Polity-V dataset
- Closed #36 by completing the regex table for improved text matching
- Fixed #26 by updating list of states for
code_states()function - Fixed #30 by transforming date columns in qStates datasets to
messydtclass - Closed #31 by creating qStates website
- Added vignette for working with
{CShapes}and historical maps
- Closed #1 by adding the Polity5 dataset
- Integrated
{CShapes}- Closed #10 by integrating datasets on distances from
{CShapes} - Added
import_cshapes()function to import{CShapes}data - Added
import_distlist()function to import{CShapes}distances - Added
import_distmatrix()function to import{CShapes}distance matrices
- Closed #10 by integrating datasets on distances from
- Updated README to align it with other qPackages
- Added a new package logo similar to other qPackages
- Added new pull request template consistent with
{qData}
- Re-exported package data to reflect new testing, templates and argument changes with
export_data()function in{qData}
- Closes #17 by rerunning the new
export_data()function on thestatesdatabase which adds new metadata(source link and source bibliography) as well as setting the bibliography at the correct database level instead of the dataset level. - Added .bib files in each
data-rawfolder with the original datasets to provide citation information. - Added link arguments to each
dataset-preparescript.
- Created the package structure and files using
qData::setup_package() - Closed #2 by adding and updating initial documentation as CONTRIBUTING, COC, LICENSE, issue and PR templates
- Added a
NEWS.mdfile to track changes to the package - Added a
READMEdocument that outlines main characteristics of the data package - Fixed #15 by removing ^data$ from .RBuildignore
- Closed #13 by using
qData::export_data()and other functions from{qData}to form thestatesdatabase from:- Added the Correlates of War (COW) dataset and preparations scripts, documentation
- Closed #6 by adding the International Systems Dataset (ISD) dataset and preparations scripts
- Closed #7 by adding the Gleditsch & Ward dataset (GW) dataset and preparations scripts
- Closed #12 by adding tests for all these datasets
- Added
code_states()to extract state IDs from a character vector