Skip to content

Commit

Permalink
Merge pull request #33 from ateucher/fix-handle_dates
Browse files Browse the repository at this point in the history
Make handle_dates ignore geometry column
  • Loading branch information
SymbolixAU authored Sep 26, 2018
2 parents c418bb0 + c915f72 commit 535c314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/geojson_sf.R
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ date_columns <- function( sf ) names(which(vapply(sf , function(x) { inherits(x,

handle_dates <- function( x ) {
dte <- date_columns( x )
x[dte] <- lapply(x[dte], as.character)
x[dte] <- lapply(as.data.frame(x)[dte], as.character)
return( x )
}

Expand Down

0 comments on commit 535c314

Please sign in to comment.