df_to_string: Format a df of addresses for upload

Description Usage Arguments Value Examples

Description

Format a df of addresses for upload

Usage

1
df_to_string(addresses_df)

Arguments

addresses_df

A df with two columns, a unique id and address character strings to be geocoded. Only results with valid lat, lng are returned, so the unique id is used to match back to the data later on.

Value

a long string consisting of all of the addresses to be geocoded formatted for the POST request in geocodeHERE_batch_upload()

Examples

1
2
3
4
addresses <- chicago_landmarks[,"Address"]
addresses <- paste(addresses, "chicago IL")
addresses_df <- data.frame(id=1:length(addresses), addresses=addresses)
address_str <- df_to_string(addresses_df)

geocodeHERE documentation built on Jan. 15, 2017, 3:35 p.m.

Search within the geocodeHERE package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.