write_data: write_data

Description Usage Arguments Value Author(s)

View source: R/data.R

Description

Write a geojson file from a dataset

Usage

1
write_data(object, varname = "data", file = tempfile())

Arguments

object

A list of spatial polygon or point dataframes list may be of length 1

varname

The name of the variable to be given to the geojson oject in javascript.

file

The path to where the geojson will be written

Value

path to the file

Author(s)

Thomas Rosendal


SVA-SE/svamap documentation built on Sept. 25, 2020, 3:53 p.m.