AutoCompleteTable {cleanerR} | R Documentation |
AutoCompleteTable
Asks for a data.table, a vector of collumn indices and the goal collumn and returns the data frame with the values filledAutoCompleteTable
Asks for a data.table, a vector of collumn indices and the goal collumn and returns the data frame with the values filled
AutoCompleteTable(df, goal, maxi, repetitions, trigger = 1, ratio = 0.99)
df |
A data.table with the missing values you wish to fill |
goal |
The collum with the missing values you wish to fill |
maxi |
What will be the length of possible combinations you will test example if 2 they will test up to all possible pairs of collums |
repetitions |
Measure of error, the bigger the less likely you will get the right prediction |
trigger |
When you pair all possible combination of tuples a percentage of them will show only once, trigger rejects the set if this percentage is higher than this value |
ratio |
Rejects collumns that the ratio of unique values to total values is higher than this value, primary keys have ratio equal to 1 |