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

write_jsonlines(df, file = tempfile())

Arguments

df

data frame

file

path

Examples

if (FALSE) { t <- tempfile() write_jsonlines(mtcars, t) }