Learn R Programming

geocodeHERE (version 0.1.3)

geocodeHERE_batch_status: Check the status on a batch geocoding job

Description

Check the status on a batch geocoding job

Usage

geocodeHERE_batch_status(request_id = "", full_list = FALSE, App_id = "", App_code = "")

Arguments

request_id
Character string containing a request_id. This is returned from geocodeHERE_batch_upload(...)
full_list
TRUE / FALSE indicating whether to return the full response from Nokia HERE or just the "Status" portion of the response
App_id
App_id to use the production HERE API. Get one here... http://developer.here.com/get-started. If left blank, will default to demo key with an unknown usage limit.
App_code
App_code to use the production HERE API. Get one here... http://developer.here.com/get-started. If left blank, will default to demo key with an unknown usage limit.

Value

A string representing the status of the job. The full reply from Nokia as a list if the full_list parameter is TRUE

Examples

Run this code
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