Learn R Programming

kntnr (version 0.4.4)

kntn_parse: Parse 'kintone' API Response

Description

Convert various kinds of fields to the correspondent R classes.

Usage

kntn_parse_records(records)

kntn_parse_record(record)

kntn_parse_col(x)

Arguments

records

List objects converted from multiple kintone records.

record

List object converted from a single kintone record.

See Also

https://developer.kintone.io/hc/en-us/articles/212494818/

Examples

Run this code
# NOT RUN {
library(jsonlite)

rcd_file <- system.file("extdata/record.json", package = "kntnr")
rcd <- fromJSON(rcd_file, simplifyVector = FALSE)$record
kntnr:::kntn_parse_record(rcd)

rcds_file <- system.file("extdata/records.json", package = "kntnr")
rcds <- jsonlite::fromJSON(rcds_file, simplifyVector = FALSE)$records
kntnr:::kntn_parse_records(rcds)

# }

Run the code above in your browser using DataLab