R/data.R

#' Prices of 50,000 round cut diamonds.
#'
#' A dataset containing the number of recruits per 100,000 people compared to the percentage of people of color in New York City neighborhoods.
#' Originally from http://www.radicalmath.org/ but that site is no longer maintained.
#' Data are from Stephanie Evergreen's practice file for her book "Effective Data Visualization"
#' Example using this data was also used in her book.
#'
#' @format A data frame with 190 rows and 4 variables:
#' \describe{
#'   \item{Borough}{Borough acronym}
#'   \item{Area Name/Zip Code}{}
#'   \item{Total Recruits per 100,000}{Number of individuals recruited per 100,000 residents}
#'   \item{Percent Persons of Color}{Percentage of population that is a person of color}
#' }
#' @source \url{https://stephanieevergreen.com/books/}
"recruits"


#' Disaster declarations in Broward County, Florida
#'
#' A dataset containing the number of recruits per 100,000 people compared to the percentage of people of color in New York City neighborhoods.
#' Originally from FEMA's open data files but was cleaned for use in course.
#' Example using this data was also used in her book.
#'
#' @format A data frame with 20 rows and 6 variables:
#' \describe{
#'   \item{fipsStateCode}{FIPs code for states}
#'   \item{fipsCountyCode}{FIPS code for counties}
#'   \item{designatedArea}{Name of Area}
#'   \item{fyDeclared}{Year of disaster declaration}
#'   \item{incidentType}{Type of disasater declaration}
#'   \item{declarations}{Number of declarations, type per year}
#' }
#' @source \url{}
"broward"


#' Anacombe's Qaurtets (1973)
#'
#' Contains 4 x-y datasets in long format.
#' Have same mean,variance, correlation, regression line, etc.
#' But look very different.
#'
#' @format A data frame with 44 observations and 3 variables
#' \describe{
#'   \item{group}{a categorical identifier for the quartet}
#'   \item{x}{a continuous variable}
#'   \item{y}{a continuous variable}
#' }
#' @source \url{}
"quartets"
AleaWM/cuppackage documentation built on Dec. 17, 2021, 7:48 a.m.