Skip to content

Commit

Permalink
Fix: now lat/lon output is numeric (was character)
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandbricks committed Oct 1, 2019
1 parent 73674f7 commit 8ec909d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/USIG_geocode.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ USIG_geocode <- function(address) {


data.frame(address_normalised = ifelse(is.null(address_normalised), NA, address_normalised),
lon = ifelse(is.null(x), NA, x),
lat = ifelse(is.null(y), NA, y),
lon = ifelse(is.null(x), NA, as.numeric(x)),
lat = ifelse(is.null(y), NA, as.numeric(y)),
stringsAsFactors = FALSE)
}
}
Expand Down

0 comments on commit 8ec909d

Please sign in to comment.