Description Usage Format Source Examples
BRFSS Demographic, Socioeconomic, Health Care, Status and Behaviors Data
1 |
A long data frame with rows of individual BRFSS respondents in a given state and year and the following column variables:
numeric, quantiative 18-99
factor, categorical 5-year age categories (18-24, 25-29,…95-99)
factor, categorical 10-year age categories (18-24, 25-34,35-44,45-54,55-64,65+)
numeric, dichotomous 1/0
factor, dichotomous Yes/No
numeric, dichotomous 1/0
factor, dichotomous Yes/No
numeric, dichotomous 1/0
factor, dichotomous Yes/No
factor, categorical Married, Divorced, Widowed, Separated, Never Married, Coupled
factor, categorical Married, Divorced, Widowed, Separated, Never Married, Coupled
factor, dichotomous: Married or Coupled Yes/No (No: divorced, widowed, separated, never married)
numeric, quantiative 0-87
factor, categorical None, One, Two or More
factor, dichotomous Any Kids Yes/No
factor, categorical White only, Black or African American only, American Indian or Alaskan Native only,Asian only, Native Hawaiian or other Pacific Islander only,Other race only,Multiracial
]
factor, categorical Hispanic, Non-Hispanic
factor, categorical White Non-Hispanic; Black, Non-Hispanic; Other, Non-Hispanic; Multiple, Non-Hispanic; Hispanic
factor, categorical from imputed race (no missing): White Non-Hispanic; Black, Non-Hispanic; Other, Non-Hispanic; Asian, Non-Hispanic; Native, Non-Hispanic, Hispanic
factor, dichotomous female/male
numeric, dichotomous 0/1 (male/female)
numeric, dichotomous 0/1 (Non-Vet/Veteran)
factor, dichotomous Non-Veteran, Veteran
factor, categorical City_Center, City_County, Suburb, Outside MSA
factor, dichotomous Yes/No
factor, dichotomous Yes/No: 2018-2019 only (raw BRFSS variable: _METSTAT)
factor, dichotomous Yes/No: 2018-2019 only (raw BRFSS variable: _URBSTAT)
factor, dichotomous Yes/No
factor, dichotomous Yes/No
factor, categorical Underweight, Normal Weight, Overweight, Obese, Unkown
numeric, quantitative value of BMI
BMI>=40: factor, dichotomous (No/Yes)
BMI>=30: factor, dichotomous (No/Yes)
numeric, dichotomous 0/1 (No/Yes)
factor, dichotomous Yes/No
factor, dichotomous Yes/No
numeric, dichotomous 0/1 (No/Yes)
factor, dichotomous Yes/No
factor, categorical Current smoker, Former smoker, Never smoker
factor, categorical: Current smoker vs. Former/Never Yes/No
factor, dichotomous Yes/No
factor, dichotomous Yes/No
factor, categorical <1 year, 1-2 years, 2-5 years, 5+ years, Never
factor, categorical <1 year, 1-2 years, 2-5 years, 5+ years, Never
numeric, quantiative 0-7
factor, dichotomous Yes/No
Cardiovascular Disease: numeric, dichotomous 0/1 (No/Yes)
Stroke: numeric, dichotomous 0/1 (No/Yes)
Diabetes: numeric, dichotomous 0/1 (No/Yes)
Asthma: numeric, dichotomous 0/1 (No/Yes)
Arthritis: numeric, dichotomous 0/1 (No/Yes)
COPD: numeric, dichotomous 0/1 (No/Yes)
Cancer: numeric, dichotomous 0/1 (No/Yes)
Kidney Disease: numeric, dichotomous 0/1 (No/Yes)
factor, dichotomous No/Yes
numeric, quantitative, 0-30
numeric, dichotomous 0/1 (No/Yes)
factor, dichotomous No/Yes
numeric, quantitative, 0-30
numeric, dichotomous 0/1 (No/Yes)
factor, dichotomous No/Yes
factor, dichotomous: Good+ vs. Fair/Poor
factor, categorical: Excellent, Very Good, Good, Fair, Poor
factor, categorical: Out of work, Employed for wages, Self-employed,A homemaker, A student, Retired, Unable to work
factor, dichotomous: Employed for Wages or Self-Employed? Yes / No
factor, categorical: <$10,000, $10,000-$14,999, $15,000-19,999, $20,000-$24,999,$25,000-34,999, $35,000-$49,999,$50,000-74,999, $75,000+,Don't know or refused
factor, categorical: <$20,000; 20,000-34,999; 35,000-74,999; $75,000+
factor, categorical:<High School,High School,Some College,College or More
factor, categorical: College or More Yes/No
numeric variable of state
state FIPS code, labeled with state alphabetic abbreviation
state FIPS code, numeric
identificaiton variable
Numeric year: 2014-2019
Primary Sampling Unit Variable
Sampling Strata Variable
Original,raw sampling weight: 2014-2020
Character, Version of data: Core (X_LLCPWT), V1 (X_LCPWTV1), V2(X_LCPWTV2), V3 (X_LCPWTV3)
BRFSS Annual Survey Data https://www.cdc.gov/brfss/annual_data/annual_data.htm.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # To adjust the sampling weight (var_wt_raw) by dividing
# the sampling weight by the number of instances a state
# is in the data, run:
library(tidyverse)
data(brfss_core)
waves<-brfss_core %>%
filter(year %in% 2016:2018) %>% #keeping only 2016-2018 for illustration
group_by(year,state) %>%
slice(1) %>% #keeping the first observation of each state + year
ungroup() %>%
group_by(state) %>% #grouping by state
count() %>% #counting how many years the state was included
rename(wave=n) #renaming as wave
brfss_core<-full_join(brfss_core,waves,by="state") %>%
mutate(var_wt_adj = var_wt_raw/wave) #adjusting the weight by number of waves
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.