IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s458087.html
 

JSONIO: Stata module for I/O operations on JSON data

Author

Listed:
  • Billy Buchanan

    (Fayette County Public Schools)

Programming Language

Stata

Abstract

jsonio provides methods for importing and exporting data in JSON format. When exporting data from Stata all metadata possible from the dataset is retained as possible (e.g., value/variable labels, type indicators, etc...). The program jsonio also provides two import modes for JSON data: key-value and row-value. In key-value mode, all data are loaded into two variables named key and value; if all data types are the same, the program also handles casting the data. In row-value mode, each node is loaded into individual variables. In both cases, users are able to use simple regular expressions to query a subset of the data to load. Data can also be loaded from disk or using HTTP requests to REST APIs.

Suggested Citation

  • Billy Buchanan, 2015. "JSONIO: Stata module for I/O operations on JSON data," Statistical Software Components S458087, Boston College Department of Economics, revised 04 May 2017.
  • Handle: RePEc:boc:bocode:s458087
    Note: This module should be installed from within Stata by typing "ssc install jsonio". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/j/jsonio.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/j/jsonio.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/g/ggeocode.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/g/ggeocode.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/j/jsonio.jar
    File Function: Java archive file
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    JSON; IO; export; convert; data transfer; Stata;
    All these keywords.

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:bocode:s458087. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/debocus.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.