diff --git a/R/datadoc_cd-info-long.R b/R/datadoc_cd-info-long.R index 079902c..c5b10ca 100644 --- a/R/datadoc_cd-info-long.R +++ b/R/datadoc_cd-info-long.R @@ -21,6 +21,8 @@ #' \item{`presvotes_DR`}{The total number of Democrat + Republican votes for President in that CD} #' } #' +#' @seealso \link{cd_info} for versions with one row per district, and documentation of sources +#' #' @examples #' library(dplyr) #' diff --git a/R/datadoc_cd-info.R b/R/datadoc_cd-info.R index 87bbbe9..78b560d 100644 --- a/R/datadoc_cd-info.R +++ b/R/datadoc_cd-info.R @@ -2,8 +2,8 @@ #' #' #' Some of the most consequential variables to include in MRP are measured at the -#' district-level. We include one such data for congressional districts. All data -#' is collected by The Downballot. +#' district-level. We include one such data for congressional districts. The data +#' is collected by The Downballot and Kiernan Park-Egan. #' #' @name cd_info #' @details `cd_info_2008` is data on boundaries used in 2006, 2008, and 2010; @@ -56,7 +56,7 @@ #' have the same largest place.} #' } #' -#' @seealso `cd_info_long` +#' @seealso \link{cd_info_long} for a stacked version of this data #' #' @source #' The Downballot (formerly Daily Kos Elections), \url{https://www.the-downballot.com/p/data} diff --git a/man/cd_info.Rd b/man/cd_info.Rd index a42828c..186a8dc 100644 --- a/man/cd_info.Rd +++ b/man/cd_info.Rd @@ -99,8 +99,8 @@ elec_NY } \description{ Some of the most consequential variables to include in MRP are measured at the -district-level. We include one such data for congressional districts. All data -is collected by The Downballot. +district-level. We include one such data for congressional districts. The data +is collected by The Downballot and Kiernan Park-Egan. } \details{ \code{cd_info_2008} is data on boundaries used in 2006, 2008, and 2010; @@ -129,6 +129,6 @@ head(cd_info_2018) head(elec_NY) } \seealso{ -\code{cd_info_long} +\link{cd_info_long} for a stacked version of this data } \keyword{datasets} diff --git a/man/cd_info_long.Rd b/man/cd_info_long.Rd index ff793df..7d53c3f 100644 --- a/man/cd_info_long.Rd +++ b/man/cd_info_long.Rd @@ -44,5 +44,8 @@ cd_info_long |> filter(lines \%in\% c(2022, 2024), elec == 2020, candidate == "biden") |> arrange(cd, lines) +} +\seealso{ +\link{cd_info} for versions with one row per district, and documentation of sources } \keyword{datasets}