getProperties: Print property names of a GeoJSON file

Description Usage Arguments Value Author(s) See Also Examples

View source: R/getProperties.R

Description

Prints the names of all available properties of a GeoJSON file.

Usage

1
2

Arguments

data

Path to data file as string or GeoJSON/TopoJSON object.

print

If TRUE (default), the property names are printed.

Value

Property names as string vector.

Author(s)

Christian Graul

See Also

styleCat, styleGrad

Examples

1
2
3
4
5
6
## Not run: 
data(quakes)
qks <- toGeoJSON(data=quakes, dest=tempdir())
getProperties(data=qks)

## End(Not run)

leafletR documentation built on May 2, 2019, 10:25 a.m.