powered by
Get a file from kintone API and parse it with content. If you want to parse it by yourself, specify as = "raw" or as = "text".
as = "raw"
as = "text"
kntn_file(fileKey, verbose = FALSE, as = NULL, type = NULL, encoding = NULL)
File key.
If TRUE, output logs verbosely.
TRUE
as parameter passed to content.
as
type parameter passed to content.
type
encoding parameter passed to content.
encoding
https://developer.kintone.io/hc/en-us/articles/212494468/
# NOT RUN { kntn_set_auth() app <- 10 # get a single record with a file attachment field d <- kntn_record(app, id = 1) f <- kntn_file(fileKey = x$Attachment[[1]]$fileKey[1]) # } # NOT RUN { # }
Run the code above in your browser using DataLab