50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

healthyAddress (version 0.4.5)

mutate_latlon: Add latitude and longitude columns to a standard address

Description

Add latitude and longitude columns to a standard address

Usage

mutate_latlon(DT, data_dir = getOption("healthyAddress.data_dir"))

Value

DT with the columns lat and lon added, by reference, the latitude and longitude of the address for that row.

Arguments

DT

A data.table from standardize_address

data_dir

The directory in which the latitude longitude data has been downloaded. (See download_latlon_data.)