dot-json2RDataType: Get the data type and isList from JSON data

.json2RDataTypeR Documentation

Get the data type and isList from JSON data

Description

Get the data type and isList from JSON data

Usage

.json2RDataType(dataType, default = "string")

Arguments

dataType

data type column from jsonToRCX => .jsonV

default

default value for NA values (by default the values remain NA)

Value

list(type=<character vector>, isList=<logical vector>)

Note

Internal function only for convenience

Examples

jsonD = c("boolean", "double", "integer", "long", "string", 
          "list_of_boolean", "list_of_double", "list_of_integer", 
          "list_of_long", "list_of_string")

RCX:::.json2RDataType(jsonD)

frankkramer-lab/RCX documentation built on Feb. 4, 2023, 5:12 p.m.