Package 'housingData'

Title: U.S. Housing Data from 2008 to 2016
Description: Monthly median home listing, sale price per square foot, and number of units sold for 2984 counties in the contiguous United States From 2008 to January 2016. Additional data sets containing geographical information and links to Wikipedia are also included.
Authors: Ryan Hafen <[email protected]>
Maintainer: Ryan Hafen <[email protected]>
License: CC0
Version: 0.3.0
Built: 2024-11-01 11:30:23 UTC
Source: https://github.com/hafen/housingdata

Help Index


Housing Data

Description

U.S. Housing Data from 2008 to 2014

Details

Package: housingData
Type: Package
Version: 0.2
Date: 2015-5-13
License: BSD3

Author(s)

Ryan Hafen

Maintainer: Ryan Hafen <[email protected]>

Examples

help(package = housingData)

FIPS county data

Description

FIPS county lookup table. Adapted from census.gov https://www.census.gov/geo/reference/codes/cou.html.

Usage

fipsCounty

Format

A data frame with 3235 rows and 3 columns.

Variables

  • fips: FIPS county code

  • county: county name

  • state: state abbreviation

Examples

head(fipsCounty)

County geolocation lookup table

Description

Table of geographical coordinates of centroids of U.S. counties. Computed based on a procedure described here: http://stackoverflow.com/questions/9441778/improve-centering-county-names-ggplot-maps.

Usage

geoCounty

Format

A data frame with 3075 rows and 7 columns.

Variables

  • fips: FIPS county code

  • county: county name

  • state: state abbreviation

  • lon: county centroid longitude

  • lat: county centroid latitude

  • rMapState: county name as can be looked up in calls to map() in the maps package

  • rMapCounty: state abbreviation as can be looked up in calls to map() in the maps package

Examples

head(geoCounty)

Housing data

Description

Monthly median home listing, sale price per square foot, and number of units sold for 2984 counties in the contiguous United States From 2008 to January 2016, harvested from Quandl's Zillow Housing Data https://www.quandl.com/collections/housing. Provided from Quandl with rights to distribute without restriction.

Usage

housing

Format

A data frame with 247082 rows and 7 columns.

Details

List price data is the most complete. Many counties are missing sale price and number of units sold. Only counties with at least one non-NA listing price entry are included in the data. Also, the data only represents counties in the contiguous United States (Alaska, Hawaii, Puerto Rico, and Virgin Islands are not included). A few major outliers in sale prices in small counties have been removed.

Variables

  • fips: FIPS county code

  • county: county name

  • state: state abbreviation

  • time: time of class "Date" - each month's values are placed at the first day of the month

  • nSold: number of units sold

  • medListPriceSqft: median list price per square foot

  • medSoldPriceSqft: median sold price per square foot

Examples

head(housing)

County Wikipedia lookup table

Description

Table of links to wikipedia articles on U.S. counties. Adapted from table here: http://en.wikipedia.org/wiki/List_of_United_States_counties_and_county_equivalents.

Usage

wikiCounty

Format

A data frame with 3143 rows and 5 columns.

Variables

  • fips: FIPS county code

  • county: county name

  • state: state abbreviation

  • pop2013: 2013 population (from wikipedia table)

  • href: web link to wikipedia page about the county

Examples

head(wikiCounty)