[R] ISO Code for Namibia ('NA')

Dr Eberhard Lisse no@p@m @end|ng |rom ||@@e@NA
Thu Sep 2 00:32:30 CEST 2021


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



More information about the R-help mailing list