Learn R Programming

d3r (version 1.1.0)

d3_json: Create 'JSON' that 'd3.js' Expects

Description

Create 'JSON' that 'd3.js' Expects

Usage

d3_json(x = NULL, strip = TRUE)

Value

string of 'JSON' data

Arguments

x

data, usually in the form of data.frame or list

strip

logical to remove outer array. Use strip=TRUE for hierarchies from d3_nest