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

Description Usage Arguments Value Note Examples

Description

Get the data type and isList from JSON data

Usage

1
.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

1
2
3
4
5
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 Oct. 26, 2021, 1:33 a.m.