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)
## Not run:
# request_id <- geocodeHERE_batch_upload(address_string = address_str,
# email_address = "youremail<at>domain.com")
# geocodeHERE_batch_status(request_id)
# geocode_data <- geocodeHERE_batch_get_data(request_id)
# addresses_df <- merge(addresses_df, geocode_data, by.x="id", by.y="recId", all.x=T)
# ## End(Not run)
Run the code above in your browser using DataLab