Hi,

how can I look for the ISO code for Namibia 'NA' in a list of ISO codes
which looks something like

        # A tibble: 10 × 1
           location_code
           <chr>
         1 NC
[...]
        10 NZ

but should look like

        # A tibble: 10 × 1
           location_code
           <chr>
         1 NA
         2 NC
[...]
        11 NZ

In other words 'NA' is taken for the missing value NA.

greetings, el

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to