sckott / elastic_data

Elasticsearch datasets ready for bulk loading
43 stars 21 forks source link

Incomplete example #1

Closed karthik closed 9 years ago

karthik commented 9 years ago
devtools::install_github("ropensci/elastic")
library("elastic")
files <- list.files("path/to/unzipped/files")
for(i in seq_along(iter)){
  invisible(
    docs_bulk(
      sprintf("path/geonames%s.json", iter[i])
    )
  )
}
Error: object 'iter' not found
sckott commented 9 years ago

yeah, that was a pseudo example, i can give a full one

karthik commented 9 years ago

my bad. Just noticed that.

sckott commented 9 years ago

updated the readme to make it more clear with all steps