Learn R Programming

kgc (version 1.0.0.2)

TranslateZipCode: TranslateZipCode

Description

This function will return the data frame with the longitude and latitude of the zip codes

Usage

TranslateZipCode(number)

Arguments

number

A dataframe that contains zip codes in a column labeled 'zip'

Value

The original data frame, with two additional columns for the corresponding latitude and longitude

Examples

Run this code
# NOT RUN {
example <- data.frame("zip" = c(44106,638, 1106))
TranslateZipCode(example)
# }

Run the code above in your browser using DataLab