Skip to content

Commit

Permalink
rename all the *.names data frames to *.regions
Browse files Browse the repository at this point in the history
  • Loading branch information
alamstein-trulia committed Oct 23, 2014
1 parent 054d5d6 commit b759c85
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 33 deletions.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ Version: 1.0
Date: 2014-10-22
Author: Ari Lamstein <[email protected]>
Maintainer: Ari Lamstein <[email protected]>
Description: Contains 3 maps. 1) US States 2) US Counties 3) Countries of the world.
Description: Contains 3 maps. 1) US States 2) US Counties 3) Countries of the
world.
License: BSD_3_clause + file LICENSE
URL: https://github.com/trulia/choroplethrMaps/,
https://groups.google.com/forum/#!forum/choroplethr
BugReports: https://github.com/trulia/choroplethrMaps/issues
BugReports: https://github.com/trulia/choroplethrMaps/issues
6 changes: 3 additions & 3 deletions R/country.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
#' @usage data(country.map)
NULL

#' Names of all counties on the country.map data.frame. A data.frame that includes both English names and
#' Names of all regions on the country.map data.frame. A data.frame that includes both English names and
#' their iso2c equivalents.
#' @name country.names
#' @usage data(country.names)
#' @name country.regions
#' @usage data(country.regions)
#' @docType data
NULL
6 changes: 3 additions & 3 deletions R/county.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
#' The resolutions is 20m (20m = 1:20,000,000).
NULL

#' A data.frame consisting of the name of each county in the map county.map as well as their FIPS codes and state names.
#' A data.frame consisting of the name of each region in the map county.map as well as their FIPS codes and state names.
#'
#' choroplethr requires you to use the naming convention in the "region" column (i.e. the numeric version of
#' the FIPS code - no leading zero).
#'
#' @seealso ?county.map
#'
#' @docType data
#' @name county.names
#' @usage data(county.names)
#' @name county.regions
#' @usage data(county.regions)
NULL
6 changes: 3 additions & 3 deletions R/state.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
#' The resolutions is 20m (20m = 1:20,000,000).
NULL

#' A data.frame consisting of all 50 state names plus their postal code abbreviations and FIPS codes.
#' A data.frame consisting of each region on the map state.map plus their postal code abbreviations and FIPS codes.
#'
#' choroplethr requires you to use the naming convention in the "region" column (i.e. all lowercase, full name).
#'
#' @docType data
#' @name state.names
#' @usage data(state.names)
#' @name state.regions
#' @usage data(state.regions)
#' @references Taken from http://www.epa.gov/envirofw/html/codes/state.html
NULL
Binary file removed data/country.names.rdata
Binary file not shown.
Binary file added data/country.regions.rdata
Binary file not shown.
Binary file removed data/county.names.rdata
Binary file not shown.
Binary file added data/county.regions.rdata
Binary file not shown.
Binary file removed data/state.names.rdata
Binary file not shown.
Binary file added data/state.regions.rdata
Binary file not shown.
14 changes: 0 additions & 14 deletions man/country.names.Rd

This file was deleted.

14 changes: 14 additions & 0 deletions man/country.regions.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
% Generated by roxygen2 (4.0.2): do not edit by hand
\docType{data}
\name{country.regions}
\alias{country.regions}
\title{Names of all regions on the country.map data.frame. A data.frame that includes both English names and
their iso2c equivalents.}
\usage{
data(country.regions)
}
\description{
Names of all regions on the country.map data.frame. A data.frame that includes both English names and
their iso2c equivalents.
}

8 changes: 4 additions & 4 deletions man/county.names.Rd → man/county.regions.Rd
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
% Generated by roxygen2 (4.0.2): do not edit by hand
\docType{data}
\name{county.names}
\alias{county.names}
\title{A data.frame consisting of the name of each county in the map county.map as well as their FIPS codes and state names.}
\name{county.regions}
\alias{county.regions}
\title{A data.frame consisting of the name of each region in the map county.map as well as their FIPS codes and state names.}
\usage{
data(county.names)
data(county.regions)
}
\description{
choroplethr requires you to use the naming convention in the "region" column (i.e. the numeric version of
Expand Down
8 changes: 4 additions & 4 deletions man/state.names.Rd → man/state.regions.Rd
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
% Generated by roxygen2 (4.0.2): do not edit by hand
\docType{data}
\name{state.names}
\alias{state.names}
\title{A data.frame consisting of all 50 state names plus their postal code abbreviations and FIPS codes.}
\name{state.regions}
\alias{state.regions}
\title{A data.frame consisting of each region on the map state.map plus their postal code abbreviations and FIPS codes.}
\usage{
data(state.names)
data(state.regions)
}
\description{
choroplethr requires you to use the naming convention in the "region" column (i.e. all lowercase, full name).
Expand Down

0 comments on commit b759c85

Please sign in to comment.