Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
svmiller committed Mar 14, 2024
1 parent a009db8 commit 0baca04
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Additions include:

- `DCE12`: a data set on domestic conflict events in 2012, useful for teaching about regression of count data.
- `DAPO`: a data set on the determinants of public opinion in seven Arab countries.
- `EBJ`: a data set on the economic benefits of post-conflict justice institutions.
- `states_war`: a data set on state performance in inter-state war.

Expand Down
37 changes: 37 additions & 0 deletions R/rd-DAPO.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#' @importFrom tibble tibble
NULL

#' Determinants of Arab Public Opinion
#'
#' A reduced form of data set for reproducing an analysis on the determinants
#' of Arab public opinion in seven countries toward 13 different countries.
#'
#' @format A data frame with 91 observations on the following variables.
#' \describe{
#' \item{\code{subjname}}{a three-character ISO code for the Arab (subject) country}
#' \item{\code{objname}}{an ALL-CAPS English name for the target/object country}
#' \item{\code{affect}}{an affect rating by the subject country to the object country}
#' \item{\code{capsub}}{the composite index of national capabilities (capability ratio) of the subject country}
#' \item{\code{capobj}}{the composite index of national capabilities (capability ratio) of the object country}
#' \item{\code{securtie}}{a dummy variable indicating at least an informal security tie between the subject and object}
#' \item{\code{dyadtrde}}{the volume of dyadic trade between subject and object}
#' \item{\code{export}}{the volume of exports from the subject to the object}
#' \item{\code{import}}{the volume of imports to the subject from the object}
#' \item{\code{subgdp}}{the gross domestic product (GDP) of the subject}
#' \item{\code{islam}}{a dummy variable that equals 1 if the object is a predominantly Muslim country}
#' \item{\code{west}}{a dummy variable that equals 1 if the object ia a Western country}
#' }
#'
#' @details
#'
#' Exact coding issues/peculiarities are best addressed by reading the reference
#' article. To maximally reproduce the article's analyses, the user will need
#' to create some variables. However, I think this is a learning experience for
#' students.
#'
#' @references
#'
#' Furia, Peter A. and Russell E. Lucas. 2006. "Determinants of Arab Public
#' Opinion" *International Studies Quarterly* 50: 585-605.
#'
"DAPO"
Binary file added data/DAPO.rda
Binary file not shown.
41 changes: 41 additions & 0 deletions man/DAPO.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0baca04

Please sign in to comment.