Description Usage Arguments Details Value Examples
Creates the report 'html' or 'pdf' in the directory chosen at the beginning of the current
Hugo Investigation in the subfolder 'gallery' in .rda file and a summary in .md file.
This reports summarizes the contents of a dataset
and flags potential problems.
To generate report is used function dataMaid::makeDataReport
.
1 | hugo_summarise_data(data, overwrite_params = TRUE)
|
data |
R dataset which you wish to summary. This dataset should be of class |
overwrite_params |
logical. If |
While using hugo_summarise_data user is prompted and asked to choose additional parameters - report format , decide to overwrite existing report, decide to automatically open report , decide whether numeric and integer variables with less than 5 unique values are treated as factor variables and type max decimals .
If hugo remembers previuos answer, user will be prompted and asked if he wishes to use previous parameters or choose new ones.
The function does not return anything. Its side effect (the production of a data report) is the reason for running the function.
1 2 3 4 5 6 7 | ## Not run:
# create report for iris dataset
hugo_summarise_data(data = iris)
# create report for cars dataset with no overwrite parameters
hugo_summarise_data(data = cars, overwrite_params = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.