repair_number | R Documentation |
We will search in the given zipcode for street numbers that are available for the given name, and then try to interpolate. We will honor odd/even to stay on one side of the street and look no further than 3 blocks total. On success, the Lat Long will be returned.
repair_number( Street_num, Prefix = "", Street_name, Street_type = "", Zipcode, Distance = 250 )
Street_num |
Number portion of address. |
Prefix |
Directional prefix (N, S, E, W) if exists. |
Street_name |
Name of the street. |
Street_type |
Designation like RD, ST, LN, etc. |
Zipcode |
The zip code for the address |
Distance |
The max distance in feet to interpolate, 250 default |
A tibble will be returned with the:
Longitude (Lon),
Latitude (Lat),
A description of the result - how far the interpolation was (Result),
a success flag (Success) (T/F),
and a Fail code describing why the repair attempt failed.
repair_number("1313", "", "Tulane", "ST", "77008")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.