Displaying 1 result from an estimated 1 matches for "dat_add".
2012 Apr 04
1
Subscript Error
..._dir is a list of JSON lists mapping lat/long route points between
locations using CloudMade's API.
post_url is the URL of the HTTP request
for (n in json_dir) {
i = i + 1
if (typeof(json_dir[[i]]) != "NULL") {
if (i == 1) {
dat_add <- ldply(json_dir[[i]], function(x)
t(data.frame(x)), .progress = "text")
names(dat_add) <- c("lat", "lon")
json_path <- list(dat_add)
} else {
dat_add <- ldply(json_dir[[i]], funct...