The viz_render function returns a pretty map in SVG format :-)
Examples
library(sf)
world <- st_read(
system.file("gpkg/world.gpkg", package = "geoviz"),
quiet = TRUE
)
viz_create() |>
viz_outline() |>
viz_path(data = world) |>
viz_render()
The viz_render function returns a pretty map in SVG format :-)
library(sf)
world <- st_read(
system.file("gpkg/world.gpkg", package = "geoviz"),
quiet = TRUE
)
viz_create() |>
viz_outline() |>
viz_path(data = world) |>
viz_render()