JSONtoDF reads a JSON data file into R and converts part of it to a
data frame.
JSONtoDF(jsonStr = NULL, file = NULL, array)jsonStr is specified,
then file must be NULL.file is
specified, then jsonStr must be NULL.JSONtoDF is intended to load JSON files into R and convert
them to data frames that can be used to create network graphs. The command
converts the files into R lists and then extracts the JSON array the user
would like to make into a data frame.