peacesciencer 0.5.0 (in development)

  • Add bib2df as package dependency. Force upgraded version of {stevemisc} as package dependency.
  • Add LazyDataCompression: xz to DESCRIPTION
  • Add “system” attributes to create_dyadyears(), create_statedays(), and create_stateyears().
  • Add add_cow_wars() function.
  • Add add_ccode_to_gw(). Fix underlying data for cow_gw_years. Add gw_cow_years.
  • Add add_strategic_rivalries().
  • Add add_ucdp_acd(). With it, update ucdp_acd data for functionality.
  • Add add_rugged_terrain().
  • Add cow_trade_ndy data. With it, update add_cow_trade() function for speed upgrades.
  • Add cow_war_inter ,cow_war_intra` data.
  • Add creg data.
  • Add gwcode_democracy data. add_democracy() now takes CoW or G-W data.
  • Add hief data.
  • Add rugged data.
  • Add td_rivalries data.
  • Add ps_cite() and ps_bib. Remove citations.
  • Add log-transformed GDP per capita estimates to cow_sdp_gdp and gw_sdp_gdp. Update add_sdp_gdp() to reflect this change.
  • Clarify documentation for add_contiguity() for why non-contiguous dyads are 0s and not 6s. Briefly: I don’t think of these data as ordinal and I don’t encourage the researcher to think of them as ordinal either.
  • Expand add_peace_years(), which now works with UCDP conflict data.
  • filter_prd() is now a shortcut for add_contiguity() and/or add_cow_majors() if it is called near the top of the pipe (i.e. before the user executed the commands required to calculate politically relevant dyad status).
  • Fix bug in add_nmc() (and cow_nmc). -9 is now explicitly NA, as it should have been.
  • Fix some typos/incomplete information in documentation. These concerned references to scholarship on these topics.
  • Patch add_peace_years(), which can now be used anywhere in the chain of commands (instead of just last). add_peace_years() is also a bit more “general” and includes a derivation of the sbtscs() function from the {stevemisc} package.
  • Remove mandatory “system” calls in add_minimum_distance() and add_sdp_gdp(). These merges now lean on system attributes declared in create_dyadyears() and create_stateyears().
  • Remove add_mids(). Use add_gml_mids() instead.
  • Update cow_ddy and its documentation.

peacesciencer 0.4.0

  • Add cow_mid_ddydisps, cow_mid_dirdisps, and cow_mid_disps data.
  • Add gml_mid_ddydisps data.
  • Add add_cow_mids() function.
  • Add add_gml_mids() function.
  • Add add_peace_years() function.
  • Deprecate add_mids(). Use add_gml_mids() instead.
  • Assign ps_data_type == "dyad_year" as attribute to cow_mid_dirdisps and gml_dirdisp. This allows peacesciencer functions for these data sets.
  • File compression for data files (again)

peacesciencer 0.3.0

  • Add atop_alliance (directed dyad-year) data
  • Add archigos data
  • Add cow_sdp_gdp and gw_sdp_gdp data
  • Add ucdp_acd data
  • Add ucdp_onsets data
  • Add add_archigos() function
  • Add add_atop_alliance() function
  • Add add_minimum_distance() function. For now, this has no default. You must specify “gw” or “cow”.
  • Add add_sdp_gdp() function. For now, this has no default. You must specify “gw” or “cow”.
  • Add add_ucdp_onset() function.
  • Add “stops” that force the correct merge on the correct system code. In most applications, this is Correlates of War codes.
  • File compression for data files (again)
  • Fixed bug in filter_prd(). Past versions of my code had treated non-contiguous dyads as 6s. Here, they’re 0s. That created situations where I wasn’t filtering anything at all with this function.
  • Rename variables in cow_alliance to distinguish from ATOP equivalents.

peacesciencer 0.2.0

  • Fix stupid mistake(s) in README.
  • File compression for the data files.
  • Add Correlates of War intergovernmental organizations data.
  • Add function for adding Correlates of War intergovernmental organizations data.
  • Add Correlates of War trade data (state-year and dyad-year).
  • Add minimum distance data
  • Add citations data frame for assistance in properly citing things.
  • Add create_statedays() function.

peacesciencer 0.1.0

  • Initial developmental release