andysouth / rworldmap

R package for mapping country data
29 stars 7 forks source link

Record for 'Ivory Coast' is mispelled from rworldmap::countrySynonyms #6

Closed prebours closed 1 year ago

prebours commented 7 years ago

The country 'Ivory Coast' (ISO CODE: CIV) seems to be incorrectly spelled in columns name1 and name2.

 tbl_df(rworldmap::countrySynonyms) %>%
    select(ISO3, name1, name2, name3) %>%
    filter(ISO3 == 'civ')

returns:

# A tibble: 1 × 4
   ISO3         name1                     name2       name3
  <chr>         <chr>                     <chr>       <chr>
1   civ Cote d'Ivoire Republic of Cote D'Ivoire Ivory Coast

I was expected to see instead:

# A tibble: 1 × 4
   ISO3         name1                     name2       name3
  <chr>         <chr>                     <chr>       <chr>
1   civ Côte d'Ivoire Republic of Côte d'Ivoire Ivory Coast

The base of reference is Wikipedia.