Description Usage Arguments Examples
zip_dist
measures the geographic distance between two ZCTAs. The location of each
ZCTA is assumed to be its centroid. Returns NA values for ZIP codes that do not match to a
ZCTA. Function is vectorized and accounts for NA matches.
1 |
zip_one |
ZIP code of first ZCTA. Order does not matter. |
zip_two |
ZIP code of second ZCTA. Order does not matter. |
miles |
Binary flag for whether to return distance in miles (TRUE) or kilometers (FALSE). |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.