types.castGeopoint {tableschema.r} | R Documentation |
Cast geographic point
Description
Cast geographic point
Usage
types.castGeopoint(format, value)
Arguments
format |
available options are "default", "array" and "object", where
|
value |
geopoint to cast |
See Also
Types and formats specifications
Examples
types.castGeopoint(format = "default", value = list(180, 90))
types.castGeopoint(format = "default", value = '180,90')
types.castGeopoint(format = "default", value = '180, -90')
types.castGeopoint(format = "array", value = list(180, 90))
types.castGeopoint(format = "array", value = '[180, -90]')
types.castGeopoint(format = "object", value = list(lon = 180, lat = 90))
types.castGeopoint(format = "object", value = '{"lon": 180, "lat": 90}')
[Package tableschema.r version 1.1.2 Index]