Part 8: Age
Download the data
vars = c(age = 'B01002_001')
ageData = get_acs(geography = "zcta", variables = vars, geometry = FALSE)
Remove “ZCTA5” from the ZIP codes
ageData$mod_zcta = sub("ZCTA5 ","",ageData$NAME)
Question 16: Merge the age data with the main dataset
Question 17: Analyse the relationship between age and ED visits
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.