Last data update: 2014.03.03
|
R: Print property names of a GeoJSON file
getProperties | R Documentation |
Print property names of a GeoJSON file
Description
Prints the names of all available properties of a GeoJSON file.
Usage
getProperties(data, print=TRUE)
prop(data, print=TRUE)
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
## Not run:
data(quakes)
qks <- toGeoJSON(data=quakes, dest=tempdir())
getProperties(data=qks)
## End(Not run)
Results
|