The Gardasil dataset in R data.frame format

gardasil

Format

A data.frame with 1413 rows and 11 variables.

Age

Age in years

AgeGroup

Categorical age: 18-26 or 17-27

Race

white/black/hispanic/"other/unknown"

Shots

Number of shots completed (1, 2, or 3)

Completed

yes/no, "yes" if all 3 shots in the series were completed

InsuranceType

medical assistance / private payer / hospital based / military

MedAssist

yes/no

Location

Four locations: Odenton, White Marsh, Johns Hopkins Outpatient Center, Bayview

LocationType

urban/suburban

PracticeType

pediatric / family practice / OB-GYN

RaceSummary

white/minority/"other/unknown"

Source

Chou B, Krill LS, Horton BB, Barat CE, Trimble CL: Disparities in human papillomavirus vaccine completion among vaccine initiators. Obstet. Gynecol. 2011, 118:14–20.

Details

Note that a cleaned dataset like this is provided, it is recommended to place the code that produces it in data-raw. You can then use usethis::use_data_raw() to update the cleaned dataset in data/. See http://r-pkgs.had.co.nz/data.html.