Description Usage Arguments Details Value Examples
Spark geometry example.
1 | st_example(sc, geom = "polygons")
|
sc |
an object of spark connection |
geom |
a string of geometry type |
geometry can be "polygons" or "points"
a data.frame contains wkt format column example
1 2 3 4 5 6 7 8 9 | library(geospark)
library(sparklyr)
library(utils)
# use the proper master, like 'local', 'yarn', etc.
sc <- spark_connect(master = "spark://HOST:PORT")
st_example(sc, "polygons")
st_example(sc, "points")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.