write.epijson: Write out an ejObject

Description Usage Arguments Author(s)

View source: R/fileOps.R

Description

Write an ejObject out to a file or connection in JSON form

Usage

1
2
write.epijson(x, pretty = FALSE, file = "", fileEncoding = "",
  append = FALSE)

Arguments

x

an ejObject to be written

pretty

Should the JSON be prittified (made more human readble with whitespace)?

file

either a character string naming a file or a connection open for writing. "" indicates output to the console.

fileEncoding

character string: if non-empty declares the encoding to be used on a file (not a connection) so the character data can be re-encoded as they are written. See 'file'.

append

Should the output be appended?

Author(s)

Thomas Finnie (Thomas.Finnie@phe.gov.uk)


Hackout2/repijson documentation built on May 6, 2019, 9:48 p.m.