Learn R Programming

housingData (version 0.3.0)

geoCounty: 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

Arguments

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

Run this code
head(geoCounty)

Run the code above in your browser using DataLab