Closed vincentarelbundock closed 3 years ago
Right now, we can supply a new vector to no_match as a fallback. But it might be nice to do something like:
no_match
countrycode(x, "country.name", c("iso3c", "cowc", "iso2c"))
which would try to generate a ISO but return a COW if it doesn't find it. Similar might work for origin (thought I haven't thought about it carefully).
Right now, we can supply a new vector to
no_match
as a fallback. But it might be nice to do something like:which would try to generate a ISO but return a COW if it doesn't find it. Similar might work for origin (thought I haven't thought about it carefully).