powered by
Obtain the instances that have an empty or unknown value in any given attribute. If no attribute is given, all are considered.
get_unknown_values(ft, attributes, col_as_vector)# S3 method for flat_table get_unknown_values(ft, attributes = NULL, col_as_vector = NULL)
# S3 method for flat_table get_unknown_values(ft, attributes = NULL, col_as_vector = NULL)
A tibble with unknown values in instances.
tibble
A flat_table object.
flat_table
A vector of strings, attribute names.
A string, name of the column to include a vector of values.
If a name is indicated in the col_as_vector parameter, it includes a column with the data in vector form to be used in other functions.
col_as_vector
star_database
Other flat table definition functions: as_star_database(), flat_table(), get_table(), get_unknown_value_defined(), read_flat_table_file(), read_flat_table_folder()
as_star_database()
flat_table()
get_table()
get_unknown_value_defined()
read_flat_table_file()
read_flat_table_folder()
iris2 <- iris iris2[10, 'Species'] <- NA instances <- flat_table('iris', iris2) |> get_unknown_values()
Run the code above in your browser using DataLab