write.json.stat: 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 px
filename
the name of the json-stat file to be created (suggested extension, .json)