Type: | Package |
Title: | Strategies of Resistance Data Project |
Version: | 0.1.0 |
Author: | Harriet Jane Goers |
Maintainer: | Harriet Jane Goers <hgoers@umd.edu> |
Description: | Provides you with easy, programmatic access to SRDP data. |
License: | MIT + file LICENSE |
Encoding: | UTF-8 |
LazyData: | true |
URL: | https://github.com/hgoers/sRdpData |
BugReports: | https://github.com/hgoers/sRdpData/issues |
Depends: | R (≥ 2.10) |
RoxygenNote: | 7.1.2 |
Imports: | tibble, dplyr, magrittr, rlang |
Suggests: | testthat |
Config/testthat/edition: | 3 |
NeedsCompilation: | no |
Packaged: | 2022-03-27 19:30:36 UTC; harrietgoers |
Repository: | CRAN |
Date/Publication: | 2022-03-29 07:30:05 UTC |
Pipe operator
Description
See magrittr::%>%
for details.
Usage
lhs %>% rhs
Arguments
lhs |
A value or the magrittr placeholder. |
rhs |
A function call using the magrittr semantics. |
Value
The result of calling 'rhs(lhs)'.
All self-determination movements
Description
A dataset containing details of all self-determination movements and the countries they challenged from 1960 to 2005.
Usage
groups
Format
A data frame with 5549 rows and 5 variables:
- kgcid
group's unique ID
- group_name
group's name
- year
calendar year
- country
country the group is challenging
- country_iso3c
the ISO3C for the country the group is challenging
Source
http://www.kathleengallaghercunningham.com/data-projects.html
All self-determination movements' and their factions' use of violent and non-violent tactics
Description
A dataset containing details of all self-determination movements' and their factions' use of violent and non-violent tactics from 1960 to 2005.
Usage
orgs
Format
A data frame with 12017 rows and 19 variables:
- kgcid
group's unique ID
- group_name
group's name
- facid
organisation's unique ID
- fac_name
organisation's name
- year
calendar year
- violence_state
Any violence committed against government or people working for government (military and police forces included)
- fatal_violence_state
Any violence committed against government or people working for government (military and police forces included) wherein at least one person died (regardless of who that person is)
- violence_org
Any violence commited against another organization operating within the same group in the dataset
- fatal_violence_org
Any violence commited against another organization operating within the same group in the dataset wherein at least one person died (regardless of who that person is)
- violence_ingroup
Any violence committed against civilians of the group’s population
- fatal_violence_ingroup
Any violence committed against civilians in the group’s population wherein at least one person died (regardless of who that person is)
- violence_outgroup
Any violence against civilians outside of the group’s population
- fatal_violence_outgroup
Any violence against civilians outside of the group’s population wherein at least one person died (regardless of who that person is)
- economic_noncoop
Reports of strikes, tax refusal or consumer boycotts that are either organized by the organization, or people from the organization have participated
- protest_demonstration
Rally, protest, or demonstration either organized by the organization, or people from the organization have participated
- nvintervention
Sit-ins, occupations, or blockades reported; either organized by the organization, or people from the organization have participated
- social_noncoop
Hunger strike, self-immolation or other self-harm reported; either organized by the organization, or people from the organization have participated
- institutional
Organization registers as political party, participates in an election, participates in a national or local electoral campaign
- political_nocoop
Organization boycotts an election or withdrawals from political office or coalition in the government
Source
http://www.kathleengallaghercunningham.com/data-projects.html
Access to SRDP group-level data.
Description
This function provides a dataset of all SRDP groups, the countries they are challenging, and their start and end dates. It covers the period between 1960 and 2005. You can use this function to access a long dataframe (one observation for each group-year dyad), or a wide dataframe (one observation for each group, with their start and end years provided in specific columns).
Usage
srdp_groups(wide = FALSE)
Arguments
wide |
Logical. When FALSE (default), provides a dataframe with one observation for every group-year dyad. When TRUE, provides a dataframe with one observation for every group. |
Details
Please note, if a group started before 1960, its start year is listed as NA. If a group ended after 2005, its end year is listed as NA.
Value
A tibble, with each group's kgcid, name, country, start year, end year, country challenged
Examples
groups <- srdp_groups(wide = TRUE)
Access to SRDP organisation-level data.
Description
This function provides a dataset of all organizations, their groups, and their start and end dates. It covers the period between 1960 and 2005. You can use this function to access a long dataframe (one observation for each organization-year dyad), or a wide dataframe (one observation for each organization, with their start and end years provided in specific columns).
Usage
srdp_orgs(wide = FALSE)
Arguments
wide |
Logical. When FALSE (default), provides a dataframe with one observation for every organization-year dyad. When TRUE, provides a dataframe with one observation for every organization. |
Details
Please note, if an organization started before 1960, its start year is listed as NA. If an organization ended after 2005, its end year is listed as NA.
Value
A tibble, with each organization's kgcid, group name, facid, faction name, start year, and end year
Examples
orgs <- srdp_orgs(wide = TRUE)
Access to SRDP organization-level tactical data.
Description
This function provides a dataset of all SRDP organizations, their groups, the countries they are challenging, and their yearly use of violent and non-violent tactics. It covers the period between 1960 and 2005.
Usage
srdp_tactics()
Value
A tibble, with each group's facid, name, kgcid, name, country, country challenged, and tactics
Examples
tactics <- srdp_tactics()