update_country_dict: Updates the country dictionary

View source: R/name_phonetic_matching_functions.R

update_country_dictR Documentation

Updates the country dictionary

Description

Update the country dictionary with the custom countries given by the user and the countries that were not in the country dictionary.

Usage

update_country_dict(dataset, country.dict, custom_count, unmatched_count)

Arguments

dataset

Dataset by user

country.dict

country dictionary

custom_count

Vector of numbers containing indices where new custom countries added by the user

unmatched_count

Vector of numbers containing indices where countries were unmatched with the country dictionary

Value

Country dictionary with updated entries


datadrivenenvirolab/ClimActor documentation built on April 23, 2024, 7:40 a.m.