Description Usage Arguments Details Value References See Also Examples
This imports data from New York Times' ArchieML format as an R object. Text is parsed to JSON using archieml-js, then imported via jsonlite::fromJSON.
1 2 3 |
aml |
a string, file, connection, URL, or Google Drive ID created by googledrive::as_id from which to read ArchieML. Inputs of length > 1, with line breaks, or non-existent file names will always be treated as raw ArchieML. To read multiple ArchieML inputs use a function such as lapply. |
simplifyVector, simplifyDataFrame, simplifyMatrix, flatten |
passed to fromJSON to determine how the JSON generated from is parsed. If raw JSON outputs are desired use aml_to_json |
... |
further arguments to be passed tojsonlite::fromJSON, for class-specific print methods |
This function was formerly named from_archie
, which is now deprecated.
A list of class "from_aml"
aml_to_json
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.