p_r_natl {birdie}R Documentation

National Racial Demographics

Description

Returns the proportion of the U.S. population in six racial groups in a given year. Group definitions necessarily follow those used by the Census Bureau in its surname tables: * 'white': Non-Hispanic White alone * 'black': Non-Hispanic Black alone * 'hisp': Hispanic, any race * 'asian': Non-Hispanic Asian, Native Hawaiian, or Pacific Islander alone * 'aian': Non-Hispanic American Indian/Alaska Native * 'other': Non-Hispanic, two or more races, or other race

Usage

p_r_natl(year = 2021, vap = FALSE)

Arguments

year

The year to return demographics for.

vap

If 'TRUE', return statistics for the voting-age population (18+) rather than the full U.S. population.

Value

A named numeric vector of length 6.

Examples

p_r_natl(year=2010)


[Package birdie version 0.6.1 Index]