Learn R Programming

spData (version 2.0.1)

columbus: Columbus OH spatial analysis data set

Description

The columbus data frame has 49 rows and 22 columns. Unit of analysis: 49 neighbourhoods in Columbus, OH, 1980 data. In addition the data set includes a polylist object polys with the boundaries of the neighbourhoods, a matrix of polygon centroids coords, and col.gal.nb, the neighbours list from an original GAL-format file. The matrix bbs is DEPRECATED, but retained for other packages using this data set.

Usage

columbus

Arguments

Format

This data frame contains the following columns:

  • AREA computed by ArcView

  • PERIMETER computed by ArcView

  • COLUMBUS_ internal polygon ID (ignore)

  • COLUMBUS_I another internal polygon ID (ignore)

  • POLYID yet another polygon ID

  • NEIG neighborhood id value (1-49); conforms to id value used in Spatial Econometrics book.

  • HOVAL housing value (in \$1,000)

  • INC household income (in \$1,000)

  • CRIME residential burglaries and vehicle thefts per thousand households in the neighborhood

  • OPEN open space in neighborhood

  • PLUMB percentage housing units without plumbing

  • DISCBD distance to CBD

  • X x coordinate (in arbitrary digitizing units, not polygon coordinates)

  • Y y coordinate (in arbitrary digitizing units, not polygon coordinates)

  • NSA north-south dummy (North=1)

  • NSB north-south dummy (North=1)

  • EW east-west dummy (East=1)

  • CP core-periphery dummy (Core=1)

  • THOUS constant=1,000

  • NEIGNO NEIG+1,000, alternative neighborhood id value

Details

The row names of columbus and the region.id attribute of polys are set to columbus$NEIGNO.

Examples

Run this code
if (requireNamespace("rgdal", quietly = TRUE)) {
  library(rgdal)
  columbus <- readOGR(system.file("shapes/columbus.shp", package="spData")[1])
  plot(columbus)
}

if (requireNamespace("spdep", quietly = TRUE)) {
  library(spdep)
  col.gal.nb <- read.gal(system.file("weights/columbus.gal", package="spData")[1])
}

Run the code above in your browser using DataLab