Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

zip_distance

Calculate the distance between two ZIP codes in miles


Description

Calculate the distance between two ZIP codes in miles

Usage

zip_distance(zipcode_a, zipcode_b)

Arguments

zipcode_a

First ZIP code

zipcode_b

Second ZIP code

Value

distance calculated from centroids of each ZIP code in miles

Examples

zip_distance("08731", "08901")

zipcodeR

Data & Functions for Working with US ZIP Codes

v0.3.0
GPL-3
Authors
Gavin Rozzi [aut, cre] (<https://orcid.org/0000-0002-9969-8175>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.