View source: R/cleaning_standardizing_preprocessing_functions.R
resolve_entity_types | R Documentation |
Resolve entity type conflicts between user's dataset and the key dictionary. The function checks for entries that have the same name and are from the same country but have different entity types.between the user's dataset and the key dictionary. Users can decide whether they would like to accept the key dictionary's entity types or export a dataframe of the differences for inspection.
resolve_entity_types(dataset, key.dict, clean_enc = T)
dataset |
Dataset containing actors' names |
key.dict |
Key dictionary |
clean_enc |
Is the data read in with the correct encoding? If unknown, set as FALSE. Defaults to TRUE. |
Returns the dataset with entity types resolved (if applicable)
Also returns a dataset that contains the different conflicts (if applicable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.