This is is a biggie. Changes include:
- Package now assumes a version of R greater than 4.1.0.
{isard}introduced as dependency. add_cow_alliance()is deprecated and slated for removal at the request of the data set's maintainer. The function right now returns a stop communicating this information, also at the request of the data set's maintainer.add_sdp_gdp()is deprecated and slated for removal. Its functionality is replaced byadd_sim_gdp_pop().add_gml_mids()is superseded in light of the release of the MIC data.add_cow_mids()is superseded.cow_alliance,ccode_democracy,gwcode_democracy,cow_sdp_gdp,gw_sdp_gdp,cow_gw_years, andgw_cow_yearsare deprecated and slated for removal.- Fix error in
cow_capitalsdata that did not adequately record Burundi's capital change in 2018. This concerns the data generated forcow_capitals. - Fix error in
tss_rivalriesfortssr_id = 61. This was in the book but the change in the data-raw directory shows what they assuredly meant. - Add
mryargument toadd_cow_majors(), fix bug identified by @rochelleterman in 17 - Fix issue of imputing 0s outside temporal domain of contiguity data for
add_contiguity(). Brought to my attention by @jandresgannon in 19. atop_allianceupdated to version 5.1.add_atop_alliancehas an extra argument (ndir) for how it should perform on non-directed dyad-year or leader-dyad-year data.cow_capitalsandgw_capitalsformally current through 2024. Indonesia is the most likely candidate to require an update in these data, though that change has not happened yet.cow_capitalsandgw_capitalsfurther include some corrections and the introduction of start and end dates for capitals.gw_ddyandcow_ddycurrent through 2024.add_ccode_to_gw()andadd_gwcode_to_cow()now lean on data in{isard}.add_capital_distance()includes an argument ("transsum") for what observation to privilege for yearly summaries in which there was a capital transition. Support for leader-level data momentarily dropped.cow_contdirreplaces columnsbeginandendwithstdateandenddatecommunicating the same information, but in date form.add_contiguity()has an argument ("slice") that determines its behavior for when there is a change in a contiguity relationship in a given year. Themryargument actually does something now.ccode_democracyandgwcode_democracyare deprecated and slated for removal. Democracy data are now maintained in the{isard}package.add_democracy()now leans on{isard}for democracy data.add_democracy()andadd_nmc()have akeepargument now, allowing the user to select particular estimates from the democracy/capabilities data rather than get everything (including stuff they don't want).add_strategic_rivalries()usestss_rivalriesnow and no longer has additional arguments prioritizing rivalry type.add_minimum_distance()optionally (and by default) incorporates extended data available indownload_extdata().- The "create" functions lean on the state system data maintained in
{isard}. This also means micro-states in the G-W system are included. false_gw_dyadsnow includes information about whether the first or second state is/was a micro-state. Two directed entries for Sao Tome and Principe and the Republic of Vietnam were added as well.- Shortcuts added:
add_cap_dist()foradd_capital_distance(),add_creg_frac()foradd_creg_fractionalization(),add_min_dist()foradd_minimum_distance(). ucdp_acdupdated to 25.1.add_ucdp_acd()incorporates these newer versions of the data to allow for armed conflict analyses through 2024.
Additions include:
archigossumsis a basic yearly summary of leader turnover in thearchigosdata. It will makeadd_archigos()much faster by cutting down on computation time.add_sim_gdp_pop()replacesadd_sdp_gdp(), using data from{isard}terrthreatis a state-year data set on latent territorial threat.add_latent_territorial_threat()will add it to your data frames.