dfToGeoJSON: Internal function of toGeoJSON

Description Usage Arguments Value Author(s) See Also

Description

Create GeoJSON file from data frame

Usage

1
dfToGeoJSON(data, name, dest, lat.lon, overwrite)

Arguments

data

data.frame or tbl_df (dplyr package).

name

Name of the resulting GeoJSON file, as string.

dest

Directory the file shall be saved to, as string.

lat.lon

Names or indices of the columns in data containing the coordinates, as vector of two: c(latitude, longitude).

overwrite

TRUE overwrites existing files with the same name.

Value

GeoJSON file path, as string.

Author(s)

Christian Graul

See Also

toGeoJSON



Search within the leafletR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.