hexjsonfromdataframe: Create a hexjson file from a dataframe

Description Usage Arguments Value Author(s)

Description

Create a hexjson file from a dataframe

Usage

1
2
hexjsonfromdataframe(df, layout = "odd-r", keyid = "id", q = "q",
  r = "r")

Arguments

df

Dataframe to convert to hexjson

layout

Can be one of odd-r (pointy-topped, default), even-r (pointy-topped), odd-q (flat-topped), even-q (flat-topped).

keyid

The column specifying the hex identifier/key (default is id).

q

The column specifying the hexJSON columns (default is q).

r

The column specifying the hexJSON rows (default is r).

Value

a hexjson (JSON) object

Author(s)

Tony Hirst (@psychemedia)


psychemedia/htmlwidget-hexjson documentation built on May 3, 2019, 5:49 p.m.