Skip to content

Commit

Permalink
really suppress warnings this time
Browse files Browse the repository at this point in the history
  • Loading branch information
cole-brokamp committed Sep 7, 2018
1 parent 5e1f2c2 commit d2ca079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/geocode.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ addresses <- read.csv(in.file,stringsAsFactors=FALSE,colClasses='character')

addresses.unique <- unique(addresses[ ,address.col.name])

geocoded <- suppressMessages(CB::cb_apply(addresses.unique,function(x) {
geocoded <- suppressWarnings(CB::cb_apply(addresses.unique,function(x) {
tf <- tempfile()
system(paste0('ruby /root/geocoder/bin/geocode.rb "',x,'"',' "',tf,'"'))
out <- jsonlite::fromJSON(tf)
Expand Down

0 comments on commit d2ca079

Please sign in to comment.