# NOT RUN {
# Return a list, and then use getCensus function to retrieve those variables
# }
# NOT RUN {
myvars <- makeVarlist(name = "sf1", vintage = 2000,
find = "military", varsearch = "label")
militarydt <- getCensus(name = "sf1", vintage = 2000,
vars = myvars, region = "state:*")
# Return a data frame of all "h16" variables
vartable <- makeVarlist(name = "sf1", vintage = 2000,
find = "h16", varsearch = "concept",
output = "dataframe")
# }
Run the code above in your browser using DataLab