Description Usage Format Examples
JSON risk result object generated with R script (data-raw/risk_json.R)
1 |
A json list with all risk results generated by opencpu_simulate_risk, using the dataset 'config_dummy_json'
1 2 3 4 5 6 | data("risk_dummy_json")
risk <- jsonlite::fromJSON(risk_dummy_json)
### only show "stats" elements (skip "events" and "total" due to much data)
risk_stats <- list(stats_total = risk$stats_total,
stats_logremoval = risk$stats_logremoval)
jsonlite::toJSON(risk_stats, pretty = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.