View source: R/utils-validation.R
Given some fetched data and required fields this function checks the data for the existance of all requiredFields. It also will check data returned as a data frame from a JSON array to ensure that all array entries have the required fields.
1 | checkRequiredFields(data, requiredFields)
|
data |
The data retrieved from a fetch function |
requiredFields |
The list of fields that are required to be present |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.