get_addresses: 'get_addresses' Identifies the address column in a csv file,...

Description Usage Arguments Value Examples

View source: R/get_addresses.R

Description

get_addresses Identifies the address column in a csv file, and returns it as a data frame object.

Usage

1
get_addresses(infile, address_column = "address")

Arguments

infile

A csv file to read as a character object. If in your cwd, you needn't specify the filepath. If not, the file path should be attached.

address_column

A character object. The name of the column containing the addresses.

Value

Returns the address column as a dataframe object.

Examples

1
2
3
4
5
6
## Not run: 
get_addresses('F:/gitrepos/R-sandbox/pei-test.csv','Business Address')

test <- get_addresses("pei_test.csv", address_column = "Business Address")

## End(Not run)

12mre1/geocodr documentation built on Oct. 30, 2019, 4:02 a.m.