शुरू करेंमुफ़्त में शुरू करें

Loading variables in tidycensus

There are hundreds of thousands of variables in the decennial Census and American Community Survey samples, which can make it difficult to know which variable codes to use! tidycensus aims to make this easier with the load_variables() function, which obtains a dataset of variables from a specified sample and loads it into R as a browsable data frame.

यह अभ्यास पाठ्यक्रम का हिस्सा है

Analyzing US Census Data in R

पाठ्यक्रम देखें

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Load variables from the ACS
v16 <- ___(___ = 2016,
           dataset = "acs5",
           cache = TRUE)
कोड संपादित करें और चलाएँ