write.json.stat {pxR} | R Documentation |
Write a px object in JSON-stat format.
Description
This function writes a object of class px
to a file conforming the JSON-stat standard, a simple lightweight JSON dissemination format best suited for data visualization, mobile apps, or open data initiatives.
Usage
write.json.stat(obj.px, filename)
Arguments
obj.px |
the name of a objest of class |
filename |
the name of the json-stat file to be created (suggested extension, .json) |
Author(s)
Carlos J. Gil Bellosta
References
See Also
Examples
## Not run:
opx1 <- read.px(system.file( "extdata", "example.px", package = "pxR"))
write.json.stat(opx1, file = "opx.px")
## End(Not run)
[Package pxR version 0.42.7 Index]