View source: R/check_format_df.R
check_format_df | R Documentation |
What is checked:
The format of the table: data.table, data.frame or tibble?
The names of the columns needed: only letters, integers or "_"
The format of the columns: contains only factors and numeric columns
Missing data per column
Other strange values: "NaN", "NA", or +/- Inf
check_format_df(data, digits = 6)
data |
Dataframe containing the dataset to check |
digits |
integer, number of digits we will round the numerical variables. Default is 6 |
And a summary is created on all variables
string "Check completed".
check_format_df(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.