write_jsonlines: Writes each row of a data frame as JSON into a file separated...

Description Usage Arguments Examples

View source: R/redshift.R

Description

Writes each row of a data frame as JSON into a file separated by line breaks as per http://jsonlines.org

Usage

1

Arguments

df

data frame

file

path

Examples

1
2
3
4
5
## Not run: 
t <- tempfile()
write_jsonlines(mtcars, t)

## End(Not run)

daroczig/dbr documentation built on June 12, 2020, 2:47 p.m.