house: Lucas county OH housing

Description Usage Format Source Examples

Description

Data on 25,357 single family homes sold in Lucas County, Ohio, 1993-1998 from the county auditor, together with an nb neighbour object constructed as a sphere of influence graph from projected coordinates.

Usage

1

Format

Formal class 'SpatialPointsDataFrame' [package "sp"] with 5 slots. The data slot is a data frame with 25357 observations on the following 24 variables.

Its projection is CRS(+init=epsg:2834), the Ohio North State Plane.

Source

Dataset included in the Spatial Econometrics toolbox for Matlab, http://www.spatial-econometrics.com/html/jplv7.zip.

Examples

1
2
3
4
5
6
if (requireNamespace("sp", quietly = TRUE)) {
  library(sp)
  data(house)
  str(house)
  plot(house)
}

Example output

To access larger datasets in this package, install the spDataLarge
package with: `install.packages('spDataLarge')`
Formal class 'SpatialPointsDataFrame' [package "sp"] with 5 slots
  ..@ data       :'data.frame':	25357 obs. of  24 variables:
  .. ..$ price     : int [1:25357] 303000 92000 90000 330000 185000 100000 43065 305000 56493 50000 ...
  .. ..$ yrbuilt   : int [1:25357] 1978 1957 1937 1887 1978 1989 1927 1990 1877 1936 ...
  .. ..$ stories   : Factor w/ 7 levels "one","bilevel",..: 4 1 5 4 5 1 1 4 1 1 ...
  .. ..$ TLA       : int [1:25357] 3273 920 1956 1430 2208 1232 832 3011 1034 960 ...
  .. ..$ wall      : Factor w/ 7 levels "stucdrvt","ccbtile",..: 7 3 1 6 7 6 6 7 6 6 ...
  .. ..$ beds      : num [1:25357] 4 2 3 4 3 1 2 3 3 2 ...
  .. ..$ baths     : num [1:25357] 3 1 1 1 2 1 1 2 1 1 ...
  .. ..$ halfbaths : num [1:25357] 1 0 0 0 1 0 0 1 0 0 ...
  .. ..$ frontage  : int [1:25357] 177 100 192 200 241 154 320 362 500 220 ...
  .. ..$ depth     : int [1:25357] 0 0 0 217 0 1420 0 0 990 0 ...
  .. ..$ garage    : Factor w/ 5 levels "no garage","basement",..: 3 4 3 1 3 4 4 3 4 4 ...
  .. ..$ garagesqft: int [1:25357] 625 308 480 0 528 1200 360 672 624 780 ...
  .. ..$ rooms     : int [1:25357] 12 4 7 7 7 5 4 6 7 6 ...
  .. ..$ lotsize   : int [1:25357] 53496 37900 52900 43560 225800 214100 23500 324900 354200 37000 ...
  .. ..$ sdate     : int [1:25357] 960423 970421 931101 971223 950807 931101 951031 931229 960222 960607 ...
  .. ..$ avalue    : int [1:25357] 306514 84628 126514 199228 192514 107914 49028 263400 76600 50714 ...
  .. ..$ s1993     : int [1:25357] 0 0 1 0 0 1 0 1 0 0 ...
  .. ..$ s1994     : int [1:25357] 0 0 0 0 0 0 0 0 0 0 ...
  .. ..$ s1995     : int [1:25357] 0 0 0 0 1 0 1 0 0 0 ...
  .. ..$ s1996     : int [1:25357] 1 0 0 0 0 0 0 0 1 1 ...
  .. ..$ s1997     : int [1:25357] 0 1 0 1 0 0 0 0 0 0 ...
  .. ..$ s1998     : int [1:25357] 0 0 0 0 0 0 0 0 0 0 ...
  .. ..$ syear     : Factor w/ 6 levels "1993","1994",..: 4 5 1 5 3 1 3 1 4 4 ...
  .. ..$ age       : num [1:25357] 0.21 0.42 0.62 1.12 0.21 0.1 0.72 0.09 1.22 0.63 ...
  ..@ coords.nrs : num(0) 
  ..@ coords     : num [1:25357, 1:2] 484668 484876 485248 485764 488150 ...
  .. ..- attr(*, "dimnames")=List of 2
  .. .. ..$ : NULL
  .. .. ..$ : chr [1:2] "long" "lat"
  ..@ bbox       : num [1:2, 1:2] 484575 195270 538364 229836
  .. ..- attr(*, "dimnames")=List of 2
  .. .. ..$ : chr [1:2] "long" "lat"
  .. .. ..$ : chr [1:2] "min" "max"
  ..@ proj4string:Formal class 'CRS' [package "sp"] with 1 slot
  .. .. ..@ projargs: chr " +init=epsg:2834 +proj=lcc +lat_1=41.7 +lat_2=40.43333333333333 +lat_0=39.66666666666666 +lon_0=-82.5 +x_0=6000"| __truncated__

spData documentation built on Oct. 14, 2021, 5:06 p.m.