Learn R Programming

ZipRadius (version 1.0.1)

getZipPop: getZipPop returns a data frame of zipcodes and their population where the zip codes fall within a given radius for use in choroplethrZip

Description

getZipPop returns a data frame of zipcodes and their population where the zip codes fall within a given radius for use in choroplethrZip

Usage

getZipPop(zipcode, radius)

Arguments

zipcode

the reference zip code of which you'd like the list of zip codes within a give radius as character

radius

the distance in miles from the center of the given zip to the center of the other zips as numeric

Examples

Run this code
# NOT RUN {
getStates("30316", 10)

# }

Run the code above in your browser using DataLab