mutate_latlon {healthyAddress}R Documentation

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"))

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.)

Value

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


[Package healthyAddress version 0.4.3 Index]