Main Datasets

The package’s sole purpose was the creation of a retirement location dataset.

retirementLoc

Criteria for Retirement Location

Supporting Datasets

Additional datasets were included as potentially having an impact on county economics and livability.

airportLoc

US Airport Locations

collegeLoc

US College Locations Greater than 5,000

hospitalLoc

US Hospital Locations

irsMigration

IRS County-to-County Migration Data

militaryBases

US Military Bases

General

Created the original identifiers for the joining of other datasets.

fetch_county_coords()

Fetch county centroids weighted by population

fetch_county_fips_codes()

Fetch county fips codes

download_dataset()

Download dataset to external data directory

fetch_state_fips_codes()

Fetch state fips codes

Demographics

Obtained some basic demographic features at the county level.

fetch_bachelor_degrees()

Fetch percent of population having a bacherlor's degree or higher

fetch_broadband_access()

Fetch percent residents having broadband access

fetch_partisan_lean()

Fetch Partisan Lean

fetch_usda_household_inc()

Fetch USDA Household Income by County

fetch_uscb_population()

Fetch USCB population data

Grouping Variables

Grouped counties by population density or along a rural-urban continuum.

fetch_cbsa_metro_label()

Fetch CBSA county classifications

fetch_rural_urban_continuum()

Fetch rural-urban county continuum county classifications

Health & Environmental

Obtained some basic health and environmental features at the county level.

fetch_chr_primary_care_doctors()

Fetch primary care physicians per 100,000

fetch_chr_avg_daily_pm_2_5()

Fetch average daily particulate matter 2.5

fetch_ihme_life_expectancy()

Fetch US life expectancy by county

fetch_chr_violent_crime_rate()

Fetch violent crime rate by county

Weather

Obtained climatic data related to temperature by county.

fetch_noaa_avg_temp()

Fetch average annual temparature data

Housing Market Valuation

Obtained some basic information on housing market valuations.

fetch_zillow_median_price()

Fetch Zillow Median Housing Price

fetch_zillow_yoy_price_chg_pct()

Fetch Zillow Year-over-Year Price Change

create_home_price_to_income_multiple()

Home price to income multiple