match_country: match_country

View source: R/get_country.R

match_countryR Documentation

match_country

Description

use stringdist to get best match for country name

Usage

match_country(
  a,
  return_ISO = TRUE,
  return_country_name = FALSE,
  return_score = FALSE,
  return_score_matrix = FALSE
)

Arguments

a

country name to match

return_ISO

TRUE/FALSE

return_country_name

TRUE/FALSE

return_score

TRUE/FALSE

return_score_matrix

TRUE/FALSE

Value

ISOs, country names, matching scores, full matching distance matrix


HopkinsIDD/globaltoolboxlite documentation built on Jan. 12, 2024, 5:49 a.m.