Learn R Programming

leaflet.extras2 (version 1.3.1)

to_jsonformat: to_jsonformat Transform object to JSON expected format

Description

to_jsonformat Transform object to JSON expected format

Usage

to_jsonformat(data, time, popup = NULL, label = NULL, name = NULL)

Value

A list that is transformed to the expected JSON format

Arguments

data

The data

time

Name of the time column.

popup

Name of the popup column.

label

Name of the label column.

name

Name of the name column.