View source: R/name_phonetic_matching_functions.R
contextualize_data | R Documentation |
Contextual data from the contextuals database obtained from a variety of sources. Contextual information includes region, population, latitude, longitude, area, elevation, and the initiatives committed by the actor. Merging is done based on actors' name, iso, and entity type.
contextualize_data(dataset, contextual_df, context = names(contextual_df))
dataset |
Original dataset |
contextual_df |
Contextuals database included in the package. Called using 'r contextuals' |
context |
Vector consisting of contextual column name to be merged into the dataset includes "region", "population", "population_year", "lat", "lng", "area", "area_units", "intiatives_committed", "num_commit", "state". Defaults to taking all the contextual information. |
Dataset with contextuals merged
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.