Get path to example census data file
getCensusDataPath.RdReturns the path to the example Utah census data CSV file included with the package. This is useful for examples, testing, and when internet access is not available.
Examples
# Get path to example Utah census file
utah_csv <- getCensusDataPath()
# Use it with getCensusData
if (FALSE) { # \dontrun{
slc_data <- getCensusData(
state_fips = "49",
county_name = "Salt Lake County",
year = 2024,
csv_path = getCensusDataPath()
)
} # }