| Type: | Package |
| Title: | Steve's 'ggplot2' Themes and Related Theme Elements |
| Depends: | R (≥ 3.5.0) |
| Version: | 0.2.0 |
| Maintainer: | Steve Miller <steve@svmiller.com> |
| Description: | This is a compilation of my preferred themes and related theme elements for 'ggplot2'. I believe these themes and theme elements are aesthetically pleasing, both for pedagogical instruction and for the presentation of applied statistical research to a wide audience. These themes imply routine use of easily obtained/free fonts, simple forms of which are included in this package. |
| URL: | https://svmiller.com/stevethemes/ |
| BugReports: | https://github.com/svmiller/stevethemes/issues |
| License: | MIT + file LICENSE |
| Encoding: | UTF-8 |
| LazyData: | true |
| RoxygenNote: | 7.3.3 |
| Imports: | ggplot2 (≥ 3.3.0), rlang (≥ 1.0.0), systemfonts, grDevices |
| NeedsCompilation: | no |
| Packaged: | 2026-11-19 10:37:33 UTC; steve |
| Author: | Steve Miller |
| Repository: | CRAN |
| Date/Publication: | 2026-11-19 11:20:09 UTC |
2026 United States Senate election in South Carolina
Description
This is a simple data set on the results of the 2026 United States Senate election in South Carolina.
Usage
SC26SE
Format
A data frame with 2185 rows and 17 columns
longa longitude coordinate
lata latitude coordinate
groupidentifies the polygon to which a coordinate belongs
orderan integer that determines the sequence in which coordinates are connected
countya county name for South Carolina
aanthe number of votes Annie Andrews received in the county
aapthe percentage of votes Annie Andrews received in the county
dgnthe number of votes Darline Graham received in the county
dgpthe percentage of votes Darline Graham received in the county
mnthe vote margin in the count of votes in the county (Andrews' count minus Graham's count)
mpthe vote margin in the percentage of votes in the county (Andrews' count minus Graham's count)
tvthe total number of votes cast in the Senate race in the county
popthe estimated county population size from 2025
areathe area of the county (in square kilometers)
whitepthe percentage of the county that is white, non-hispanic, per the 2020 Census
blackpthe percentage of the county that is black, non-hispanic, per the 2020 Census
mcata factor categorizing the percentage vote margin
Details
This is a Wikipedia scrape job from Nov. 18, 2026. It stands to reason this information is not 100% of all votes cast, but the counting has just about stopped completely and the outcome of the race is already known prior to creating these data.
The mcat column has values of "<= -20", "-20 to -10", "-5 to <0", ">0 to 5",
"5 to 10", "10 to 20", and ">= 20". Intervals are left-closed (e.g. [5, 10),
[10, 20)) and not the default right-closed. This doesn't matter so much in
cases like these as you will never observe actual integers in data like these,
nor will you observe actual zero.
Miscellaneous functions for fine-tuning ggplot2 plots
Description
These are assorted functions that will fine-tune various things in a ggplot2 plot.
Usage
adj_font_size(x, ...)
Arguments
x |
a numeric vector that will adjust the size of all fonts on the plot. Can take decimals and negative numbers. |
... |
optional, called for side effects |
Details
adj_font_size() is a simple wrapper for some basic
ggplot2 code that will allow you to adjust the font size on the plot by
some number.
Right now, adj_font_size() assumes you are using theme_steve()
because the font sizes initialized in the function are defaults from the theme.
Value
adj_font_size() takes a plot made in ggplot2 and changes
the font size by some number requested by the user. It returns a plot with
bigger or smaller fonts, per the user's request.
Author(s)
Steven V. Miller
Examples
library(ggplot2)
example_plot(type = "scatter") + adj_font_size(-2)
example_plot(type = "scatter") + adj_font_size(2)
Support for Trade Protectionism in the U.S., 2012 and 2020
Description
This is a simple data set on the partisan breakdown of support for limiting foreign imports to protect American workers in both 2012 and 2020.
Usage
anesprotect
Format
A data frame with 14 rows and 3 columns
yeara year
pid7a factor of partisanship on a 7-point scale from "Strong Democrat" to "Strong Republican"
propthe proportion of repsondents in that category that would favor limiting imports
Details
Data come from the American National Election Studies in 2012 and 2020. Be mindful that, if given the option, most Americans will say they haven't thought too much about this question.
Check if you have the fonts you need already installed on your computer
Description
are_fonts_installed() leans on systemfonts to determine
if R can find the fonts that are used by the stevethemes package.
Usage
are_fonts_installed(check = "all")
Arguments
check |
a character vector coinciding with the font or fonts you want to check. Defaults to "all", which will check for all of "Open Sans", "Titillium Web", "Fira Sans", "Crimson Pro", and "Merriweather". |
Details
Future functionality will allow you to supply more than "all", but "all" is the only argument for the function that will work for the moment.
Value
are_fonts_installed() returns a message communicating whether
the systemfonts package in R can find the fonts used by stevethemes
on the user's operating system. It also returns some information about where
the user can download or obtain these fonts.
Author(s)
Steven V. Miller
Examples
are_fonts_installed()
Brandy, 1942-2017
Description
This is a simple data set on the yearly registration of new "Brandy" registrations by the Social Security Administration.
Usage
brandy
Format
A data frame with 76 rows and 5 columns
yeara year
sexa character of "F" for "female"
namea character, "Brandy"
nthe number of new "Brandy" registrations that year
propthe proportion of all registrations of that name for that sex in that year
Details
Data come from the Social Security Administration, by way of the babynames package. Entries only here for names with at least 5 new registrations in a year.
The Civilian Unemployment Rate, 2013-2018
Description
This is a simple data set on the monthly civilian unemployment rate in the United States from 2013 to 2018. This is useful for illustrating the powerful effect Britney Spears had on the job prospects of American workers.
Usage
britneywork
Format
A data frame with 63 rows and two columns
datea date
valuethe civilian unemployment rate
Details
Data from the U.S. Bureau of Labor Statistics, by way of the Federal Reserve Bank of St. Louis. Inspired by a claim Donald Trump made early into his first presidential tenure about how he single-handedly decreased the unemployment rate in the United States. He didn't do that; Britney Spears did.
Correlates of War War Counts, by Year (1816-2007)
Description
This is a simple data set of the number of ongoing wars in a given year, using the Correlates of War data.
Usage
cowwaryears
Format
A data frame with 768 rows and three columns
yeara numeric vector for the year
catthe type of war ("Extra-state", "Inter-state", "Intra-state", "Non-State")
nthe number of ongoing wars in a year
Details
CoW inter-state wars and intra-state wars come pre-processed in peacesciencer. Data are version 4.0, except for intra-state wars (v. 4.1).
References
Dixon, Jeffrey, and Meredith Sarkees. 2016. A Guide to Intra-State Wars: An Examination of Civil Wars, 1816-2014. Thousand Oaks, CA: Sage.
Sarkees, Meredith Reid, and Frank Wheldon Wayman. 2010. Resort to War: A Data Guide to Inter-State, Extra-State, Intra-State, and Non-State Wars, 1816-2007. Washington DC: CQ Press.
Color Vision Deficiency Simulation Tools
Description
These are various color vision deficiency simulation tools for evaluating color palettes and how colorblind-friendly they are.
Usage
deut(pal)
prot(pal)
trit(pal)
achrom(pal)
cvdplot(pal)
Arguments
pal |
a character vector of valid hex triplets (with leading pound
signs) or a character of length 1 matching a palette name in the |
Details
These functions take valid hex triplets of any length or a character that
matches one of the palettes available in this package. Check the palettes
data frame for those.
The functions I write are inspired by colorspace, but have a slight difference in the threshold used to determine whether an sRGB color channel should be linearized using the linear or nonlinear portion of the sRGB transfer function. The original WCAG 2.0 specification used a threshold of .03928, which colorspace uses. This was apparently in error, per a WCAG 2.1 errata document from 22 Feb. 2022. The revised value is .04045, which is used here. This difference is negligible for most practical purposes and should affect only a narrow range of low-intensity channel values.
The functions simulate the palettes under maximum conditions of color vision deficiency. Future extensions of these functions will likely allow the user to specify the severity of color vision deficiency they want to simulate. For now, the simulations assume the maximum severity of deuteranomaly, protanomaly, tritanomaly, and achromatopsia.
I'm using "achromatopsia" here, though with some hesitation. I'm reluctant to say this is a physiologically accurate simulation of complete achromatopsia. It is certainly a visual simulation of grayscale and may approximate a complete loss of chromatic information using photopic relative luminance. These terms can be used interchangeably, but with important caveats.
Value
deut() takes a palette from this package (or a character vector of valid
hex triplets) and returns their adjusted hex triplets under conditions of
deuteranomaly.
prot() takes a palette from this package (or a character vector of valid
hex triplets) and returns their adjusted hex triplets under conditions of
protanomaly.
trit() takes a palette from this package (or a character vector of valid
hex triplets) and returns their adjusted hex triplets under conditions of
tritanomaly.
achrom() takes a palette from this package (or a character vector of valid
hex triplets) and returns their adjusted hex triplets under conditions that
simulation complete achromatopsia.
cvdplot() takes a palette from this package (or a character vector of valid
hex triplets) and returns a graph that juxtaposes the palette vis-a-vis what
it would look like under varying conditions of color vision deficiency
(deuteranomaly, protanomaly, tritanomaly, and complete achromatopsia).
Author(s)
Steven V. Miller
Examples
deut("q-martel")
prot("q-martel")
trit("q-martel")
achrom("q-martel")
cvdplot("q-martel")
Create an example plot (in ggplot2) for experimenting with different styles
Description
example_plot() allows you to experiment with some
ggplot2 themes, like those in this package, by seeing them applied to
some example plots.
Usage
example_plot(type = "bar", alpha = 1, color = NULL, fill = NULL, family = NULL)
Arguments
type |
a type |
alpha |
defaults to 1 and passed through to example plots (e.g. "britney") where there is use of the fill argument. Values less than 1 induce transparency to the fill. |
color |
defaults to NULL and passed through to example plots (e.g. "scatter") where there is use of the color argument. Specifies the color of the color. Default is "#002f5f" ("SU Blue") |
fill |
defaults to NULL and passed through to example plots (e.g. "britney") where there is use of the fill argument. Specifies the color of the fill. Default is "#9bb2ce" ("SU Water") |
family |
defaults to NULL and passed through to example plots (e.g. "britney" where there is a text annotation). Specifies the font you want for the annotation. Default is the use of the default graphics-device font. |
Details
Valid entries for 'type' are "bar" (alias: "martel"), "brandy", "britney", "faceted-boxplot", "faceted-line", "fill-bar" (alias: "anes-protect"), "line" (alias: "imfquotas"), "map", (alias: "annie-andrews"), "prop-bar", (alias: "uspopgengroup"), "scatter", and "stacked-bar".
Value
example_plot() returns a plot made in ggplot2, allowing
the user to experiment with different themes to see which ones they like the
best.
Author(s)
Steven V. Miller
Examples
library(ggplot2)
example_plot()
Get a Custom Color from steve_hex
Description
g_c() (i.e. get color) is a simple function that
interfaces with the steve_hex data frame to return a hex triplet
associated with a named color.
Usage
g_c(x)
Arguments
x |
a label coinciding with a value in the |
Details
Check steve_hex in this same package for the custom colors
included.
Value
g_c() returns a character vector, in particular, a hex triplet
that coincides with the label supplied in the function. Use it for specifying
a custom fill or color in a plot.
Author(s)
Steven V. Miller
Examples
g_c("su_blue")
g_c("martel_pink")
Learn how to install fonts on your computer
Description
how_to_install_fonts() communicates to the user how they
can install fonts on their computer.
Usage
how_to_install_fonts(os = "any")
Arguments
os |
a character vector coinciding with the information you want, contingent
on your operating system. If |
Details
The 'any' option for the os argument is necessarily less
informative. If you know whether you're using Windows, a Mac, or Linux, you
should change the os argument.
Value
how_to_install_fonts() returns a message communicating how to
install fonts on the user's operating system.
Author(s)
Steven V. Miller
Examples
how_to_install_fonts("any")
how_to_install_fonts("linux")
how_to_install_fonts("windows")
how_to_install_fonts("mac")
IMF Quotas, Special Drawing Rights
Description
This is a simple data set on quotas held by a few key actors/groupings in the International Monetary Fund.
Usage
imfquotas
Format
A data frame with 3234 rows and four columns
cata character vector an actor/grouping of interest
yeara numeric vector for the year
valuethe value of the quota (in millions SDRs)
propthe proportion of the quota to all available quotas in a year
Details
Data provided by the International Monetary Fund, Fund Account. Quotas determine both members' financial contributions to the Fund and the bulk of their voting power, with larger quotas conferring greater influence over decision-making. Although this measure does not account for the equal allocation of basic votes to all members (itself about 5.5% of the overall voting power), it provides a useful approximation of the distribution of voting power between wealthier and poorer countries.
Kilowatt Hours per Capita and GDP per Capita, 2010
Description
This is a simple data frame of the GDP per capita and kilowatt hours consumed per capita of over 130 sovereign states in 2010.
Usage
kwh_gdp
Format
A data frame the following 7 variables.
countrythe name of the country
iso3cthe three-character ISO code of the country
yearthe year of observation (2010)
kwhpcthe electric power consumption (kilowatt hours) per capita of the country
gdppcthe GDP per capita of the country in current USD
ln_kwhpcthe (log-transformed) electric power consumption (kilowatt hours) per capita of the country
ln_gdppcthe (log-transformed) GDP per capita of the country in current USD
Details
Data come from a use of the WDI() function in the WDI
package. The GDP per capita data come from a combination of the World Bank
and OECD. The energy consumption data come from the International Energy
Agency. Data exist to be used in a simple scatterplot.
Whiten an RGB Hex Value
Description
lighten_hex() whitens a hex triplet to be some proportion of its original
value.
Usage
lighten_hex(hex, p)
Arguments
hex |
a valid hex triplet, with leading pound sign (#) |
p |
some value between 0 and 1 for whitening the hex triplet in question. |
Details
This function is mostly for internal use, but you're welcome to experiment with it.
Value
lighten_hex() takes an RGB hex triplet and a value between (and including) 0
and 1 and returns a hex triplet that retains some proportion (p) of its original
value. For example, lighten_hex("#000000", 0) takes the RGB hex triplet for
pure black and whitens it to retain none of its original color. This would
be white. Alternatively, lighten_hex("#002f5f", .8) takes the color
corresponding with Stockholm University Blue (g_c("su_blue")) and whitens
it to retain 80% of its original value. This procedure closely approximates
what Stockholm University presents as 80% of its original color (#32587E
compared to #33587f it presents on its website).
Author(s)
Steven V. Miller
Examples
lighten_hex(g_c("su_fire"), .7)
# Compare with...
g_c("su_fire70")
CAGEMATCH Ratings of Rick Martel
Description
This is a simple data frame of ratings (on a 1-10 scale) of Rick Martel.
Usage
martel_ratings
Format
A data frame the following 2 variables.
datea date vector for when the rating was posted on CAGEMATCH
valuean individual person's rating of Rick Martel (on a 1-10 scale)
Details
Data exist to be used an example bar chart. CAGEMATCH (stylized in all caps) is an internet wrestling database, for which these ratings are fan submissions. Rick Martel is an objective 10/10.
Miscellaneous functions to make your ggplot2 plot "print-ready"
Description
These are assorted functions that will make your plot "print-ready". These are context-dependent adjustments for things like ticks, gridlines, and axes.
Usage
no_gridlines(...)
make_classic(...)
no_axes(...)
Arguments
... |
called for side effects |
Details
no_gridlines() is a simple wrapper for some basic ggplot2 code that
will allow you to remove gridlines from the plot.
make_classic() removes gridlines, removes the default gray background,
and imposes a black, solid line on both axes. It will also hard code the
axis text to be black. Using the latter with the former is likely redundant.
no_axes() removes the x- and y-axis from the plot. You'll want this for
making maps, unless it's really pertinent that the user knows the latitude
and longitude coordinates on the y- and x-axis.
You will want to put these functions after a theme you've declared. If you run this before adding a theme over it, the theme you add will probably overwrite this function.
Value
no_gridlines() takes a plot made in ggplot2 and removes
the gridlines from the plot before returning it to the user.
make_classic() takes a plot made in ggplot2 and removes the
gridlines, gray background, and adds solid axes to the plot.
no_axes() removes the x- and y-axes.
Author(s)
Steven V. Miller
Examples
library(ggplot2)
example_plot(type = "scatter")
example_plot(type='scatter') + no_gridlines()
example_plot(type='scatter') + make_classic()
Oil Rents and GDP per Capita, Over Time
Description
This is a simple data set on oil rents, GDP per capita, and annual growth in GDP per capita.
Usage
oilrents
Format
A data frame with seven columns
countryan English country name
iso3ca three-character ISO code
yeara referent year
decadea decade
gdppcGDP per capita in constant 2015 USD
dgdppcannual growth in GDP per capita (percentage)
orpgdpoil rents as a percentage of GDP
orcata factor of oil rents as a percentage of GDP, with six ordered categories
Details
Data come from the World Bank's Open Data repository. Data retrieved using the WDI package.
Palettes Available in This Package
Description
This is a simple data set I'll use for managing the available palettes in this package.
Usage
palettes
Format
A data frame with two columns
palettethe palette, as you would enter it into
spal()in this packagedescriptiona description of the palette
Details
This is mostly for internal use.
Examples
print(palettes)
GDP per Capita of Swedish Counties, 2001-2020
Description
This is a simple data frame of the GDP per capita of Swedish counties from 2001 to 2020.
Usage
se_counties_gdppc
Format
A data frame the following 4 variables.
nutsthe Nomenclature of Territorial Units for Statistics (NUTS) code for the county
countythe name of the county
yearthe year of observation
valuethe GDP per capita of the county in nominal SEK
Details
Data come from the OECD and exist to be used as a faceted line chart.
Load a palette as a character vector
Description
spal() is a derivation of a palette-loading function in an R package
I used to use quite regularly. Its intended use is interacting with
ggplot2 functions like scale_fill_manual() and
scale_color_manual() (in particular, the values argument). Herein, you
can change the default ggplot2 colors used.
Usage
spal(
palette,
n = NULL,
even = TRUE,
d.mid = "#F7F7F7",
exp = FALSE,
lambda = 1.25
)
Arguments
palette |
a label coinciding with a value in the |
n |
a mostly optional argument for how many colors you want. Defaults to |
even |
logical, defaults to TRUE, used internally for diverging palettes. |
d.mid |
a valid hex triplet coinciding with a color that should serve as the
middle color in a palette with an odd-numbered length. Applicable only to
diverging palettes. Default value here is |
exp |
logical, defaults to FALSE, and applicable only to sequential palettes. If FALSE, palettes whiten by consistent amount each time across the range of colors (maximum: 9). If TRUE, palettes whiten as an exponential decay factor. |
lambda |
the parameter governing the rate of decay. Called only when
|
Details
Available palettes are listed in the palettes data set in this package. This
function consults that data set for the identity of the palettes that this
function creates.
The n argument must be specified for sequential palettes and really should
be specified for diverging palettes. If not, diverging palettes run the risk
of being indistinguishable from sequential palettes.
Exponential decays are mostly experimental. I don't even know how much I would
use these arguments so much. Use as you see fit. Exponential decays are
min-max transformed to start at 1 and end at 1/n before applying the whitening
factor to lighten_hex().
Value
spal() returns a character vector of hex triplets to use as a
palette in manually supplying colors to adjust the fill or color of a plot
made by ggplot2.
Description of Color Palettes
| Palette Name | Description |
d-suFB | Diverging Palette (SU "Fire" to SU Blue) |
d-suBF | Diverging Palette (SU Blue to SU "Fire") |
d-suRB | Diverging Palette (SU Red to SU Blue) |
d-suBR | Diverging Palette (SU Blue to SU Red) |
d-suRW | Diverging Palette (SU Red to SU "Water") |
d-suWR | Diverging Palette (SU "Water" to SU Red) |
d-suBO | Diverging Palette (SU Blue to SU Olive) |
d-suOB | Diverging Palette (SU Olive to SU Blue) |
d-suFW | Diverging Palette (SU "Fire" to SU "Water") |
d-suWF | Diverging Palette (SU "Water" to SU "Fire") |
s-suB | Sequential Palette (SU Blue) |
s-suO | Sequential Palette (SU Olive) |
s-suR | Sequential Palette (SU Red) |
s-suF | Sequential Palette (SU "Fire") |
s-suS | Sequential Palette (SU "Sky") |
s-suW | Sequential Palette (SU "Water") |
q-supair | Qualitative Palette of Stockholm University Color Pairs |
q-su70 | Qualitative Palette of Stockholm University Colors (Muted, 70%) |
q-OI | Qualitative Palette of Colorblind-Friendly Colors (Okabe-Ito) |
q-google | Qualitative Palette of Google Colors |
q-ibm | Qualitative Palette (IBM Design Colorblind Safe) |
q-wong | Qualitative Palette (Bang Wong Colorblind Safe, Nature Methods [2011]) |
q-tolm | Qualitative Palette (Paul Tol Colorblind Safe, Muted) |
q-sciencespo | Qualitative Palette (Sciences-Po's Médialab [hard]) |
q-dataroots | Qualitative Palette (Dataroots) |
q-martel | Qualitative Palette (Inspired by Rick Martel) |
Author(s)
Steven V. Miller
Examples
spal("q-martel")
spal("d-suBO")
spal("s-suB", n = 5)
Some Hex Triplets I Find Useful/Interesting/Fun
Description
This is a simple data frame with labels corresponding to hex triplets (i.e. web colors) that I find useful, interesting, or fun.
Usage
steve_hex
Format
A data frame the following 2 variables.
colora character vector describing the color in question
hexa hex triplet (with preceding hashtag) of the color
Details
Data exist to be used by g_c() in this same package.
Create a Swatchplot of Palettes
Description
swatchplot() creates a plot of color swatches for the various palettes
included in this package.
Usage
swatchplot(palette = NULL, style = "generic", font = NULL)
splt(...)
Arguments
palette |
must be NULL or one of the palettes included in this package. If NULL (the default value), the swatchplot returns swatches for palettes. |
style |
passed to |
font |
defaults to NULL and used only when the |
... |
called to make the shortcut of |
Details
The palette argument must be NULL or one of the palettes included in this
package and listed in the palettes data frame in this package. If the
palette requested is a diverging or sequential palette, the swatchplot returns
all colors in the palette for a length of 2 to 9 (the maximum). If the palette
requested is qualitative, the swatchplot is all colors in the palette and their
position in it.
Value
swatchplot() returns a plot of the colors available in a requested
palette, or all available palettes, as a ggplot2 object.
Author(s)
Steven V. Miller
Examples
swatchplot()
swatchplot("d-suBF")
swatchplot("s-suO")
swatchplot("q-martel")
Steve's Preferred ggplot2 Theme
Description
theme_steve() is my default theme framework for graphs I
make with ggplot2. It starts with theme_bw(), which is available
in ggplot2, but adjusts the margins and axes a bit to my liking. The end
result is, I think, a lovely template for graphs I make in R.
Usage
theme_steve(style = "web", font, ...)
Arguments
style |
various styles/adjustments to make to the base theme. Must be one of the following: "web" (default), "ms", "fira", "merri", "custom", or "generic". The "custom" style is a fancy way of saying "supply your own fonts". Where "custom" is used in this argument, something must be supplied to the font argument in this same function. |
font |
a character vector corresponding with a font that the user ideally has installed on their operating system. |
... |
optional, called for side effects |
Details
The best use of this function may involve the fonts you have installed on your system. The user should experiment with various options to see what they like. The "generic" style will use default ggplot2 fonts and is invoked here in this simple function for CRAN testing requirements. The default is "web", which depends on having Open Sans and Titillium Web on the operating system. You will see these two fonts everywhere on my website and most of my R package websites.
For greater clarity, the user should understand "ms" is code for the Crimson
Pro font, which resembles the "cochineal" font family in the LaTeX font
catalog. "cochineal" is a fork of the Crimson font and its use is heavily
implied by my preferred article template (article2) in stevetemplates.
"fira" is shorthand for "Fira Sans". "merri" is shorthand for "Merriweather".
The former features prominently in Firefox as well as my current operating
system (Pop! OS). The latter incorporates the Merriweather font, which is a
close cousin of the Palatino font. Palatino is the implied default font of
my first article template (article) in stevetemplates.
Value
No return value. Function is used for its side effect, which is to format a plot made in the ggplot2 package.
Examples
library(ggplot2)
# Experiment with options, those this depends on fonts you have installed.
example_plot() + theme_steve(style='generic')
U.S. Population Size, by Birth Cohort (Generation) and Race/Ethnic Category
Description
This is a simple data set on the population size of various racial/ethnic groups across generations in the United States.
Usage
uspopgengroup
Format
A data frame with 30 rows and five columns
generationa character vector for the birth cohort (generation)
gena factor vector of the
generationcolumn, slightly less verbosegroupa race/ethnic category
groupca slightly condensed/less verbose recode of the
groupcolumnvaluethe estimated population size
Details
Data come from the Annie E. Casey Foundation, informed by data made available by the U.S. Census Bureau, Population Division.