Skip to content

Commit

Permalink
futzing with vignette/website
Browse files Browse the repository at this point in the history
  • Loading branch information
svmiller committed Apr 10, 2024
1 parent 35ff24d commit 9812e8b
Show file tree
Hide file tree
Showing 7 changed files with 240 additions and 229 deletions.
19 changes: 11 additions & 8 deletions R/rd-african_coups.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ NULL
#' Modeling Coups in Africa, 1960 to 1975 (1982)
#'
#' A data set on modeling coups in Africa using data from the period between
#' 1960 to 1975 (1982). These data offer a partial replication of Jackman
#' (1978).
#' 1960 and 1975 (1982). These data offer a partial replication of Jackman
#' (1978).
#'
#' @format A data frame with the following 11 variables.
#' \describe{
Expand All @@ -32,8 +32,15 @@ NULL
#'
#' English country names are country names from around the time of publication.
#' Take note of older names of "Dahomey", "Swaziland", "Upper Volta", and "Zaire."
#' The three-character ISO codes are current, though it comes with the
#' acknowledgment that Dahomey used to have a different ISO code.
#' The three-character ISO codes are current, mostly for ease of doing other
#' things with the data. However, this comes with the acknowledgment that
#' Dahomey and Zaire used to have different ISO codes under their older names.
#' Both codes for Dahomey (`DHY`) and Zaire (`ZAR`) were retired in 1977 and
#' 1997, respectively.
#'
#' Ideally, I'd have Morrison's (1972) \emph{Black Africa}, but I do not. I have
#' a copy of a 1989 update, though. That's what I consulted in constructing
#' this data set.
#'
#' Jackman (1978) is deceptively opaque on what he's doing for the ethnic group
#' variable and arguably misleads on what his turnout variable is actually from.
Expand All @@ -58,10 +65,6 @@ NULL
#' not included in his original study, but was included in the Johnson et al.
#' replication.
#'
#' Ideally, I'd have Morrison's (1972) \emph{Black Africa}, but I do not. I have
#' a copy of a 1989 update, though. That's what I consulted in constructing
#' this data set.
#'
#' Related: the agricultural variable is a midway point between columns B and
#' columns C in Table 3.11 of Morrison et al. (1989). I do not think this is too
#' far removed from what Jackman was looking at in an older version of the same
Expand Down
404 changes: 203 additions & 201 deletions docs/articles/stevedata-description.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkgdown: 2.0.7
pkgdown_sha: ~
articles:
stevedata-description: stevedata-description.html
last_built: 2024-04-10T09:27Z
last_built: 2024-04-10T13:08Z
urls:
reference: http://svmiller.com/reference
article: http://svmiller.com/articles
Expand Down
21 changes: 12 additions & 9 deletions docs/reference/african_coups.html

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

2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

19 changes: 11 additions & 8 deletions man/african_coups.Rd

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

2 changes: 1 addition & 1 deletion vignettes/stevedata-description.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ getdescript <- function(package){
descript <- lapply(db,function(x) {
tags <- tools:::RdTags(x)
if("\\description" %in% tags){
out <- paste(unlist(x[which(tags=="\\description")]),collapse="")
out <- paste(unlist(x[which(tags=="\\description")]),collapse=" ")
}
else
out <- NULL
Expand Down

0 comments on commit 9812e8b

Please sign in to comment.