get lat,lon from table that contains USPS addresses
Source:R/latlon_from_address.R
latlon_from_address_table.Rd
get lat,lon from table that contains USPS addresses
Value
same as output of latlon_from_address()
Examples
address_from_table(testinput_address_table)
## see available test data objects and files:
# cbind(data.in.package = sort(grep("address", datapack()$Item, value = T)))
# cbind(files.in.package = sort(basename(testdata('address', quiet = T))))
# \donttest{
# This requires first attaching the AOI package.
pts <- latlon_from_address(testinput_address_9[1:2])
## out <- ejamit(pts, radius = 1)
## ejam2report(out)
latlon_from_address_table(testinput_address_table)
latlon_from_address_table(testinput_address_table_withfull)
## *** NOTE IT FAILS IF A COLUMN WITH STREET NAME ONLY IS CALLED "address"
## instead of that storing the full address.
# }
fixcolnames_infer(currentnames = testinput_address_parts)
fixcolnames_infer(currentnames = names(testinput_address_table))