Description Usage Arguments Examples
Read in a json file and parse it into a R list. If both parameters (file,url) are provided, then url value is used.
1 |
file |
the name of the file, where the json is read from. |
url |
the url of the json to read. |
1 2 3 4 | read.json('examples/example_json_self.json') # Reads in an example json as list from examples/.
read.json('examples/example_json_self_written.json') # Reads in an example json as list from examples/.
read.json('examples/dnd_example.json') # Reads in an example json as list from examples/.
read.json(url = 'https://www.dnd5eapi.co/api/spells/acid-arrow/' ) # Reads in json from given url as list.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.