Learn R Programming

ZipRadius (version 1.0.1)

getStates: getStates returns the list of states which have zip codes which fall in a specified radius in lower case format for use in choroplethrZip

Description

getStates returns the list of states which have zip codes which fall in a specified radius in lower case format for use in choroplethrZip

Usage

getStates(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