Learn R Programming

repijson (version 0.1.0)

epiJSON2r: converting epiJSON into a list of lists

Description

takes an epiJSON string or file and converts to a list of lists later this needs to be made more formal

Usage

epiJSON2r(file)

Arguments

file
an epiJSON filename or string to convert to R

Value

a list of lists of the epijson content

Examples

Run this code
listJSON <- epiJSON2r( system.file("extdata//example.JSON", package="repijson"))
str(listJSON)
#from within the package would do this
#listJSON <- epiJSON2r("extdata//example.JSON")

Run the code above in your browser using DataLab