Skip to content

ISO Code for Namibia ('NA')

3 messages · Bill Dunlap, Dr Eberhard W Lisse

#
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
#
# A tibble: 3 x 2
  Code  Name
  <chr> <chr>
1 NA    Namibia
2 NZ    New Zealand
3 <NA>  ?
# A tibble: 1 x 2
  Code  Name
  <chr> <chr>
1 NA    Namibia
# A tibble: 1 x 2
  Code  Name
  <chr> <chr>
1 <NA>  ?
# A tibble: 0 x 2
# ... with 2 variables: Code <chr>, Name <chr>
On Wed, Sep 1, 2021 at 3:33 PM Dr Eberhard Lisse <nospam at lisse.na> wrote:

            

  
  
#
Thank you.

el
On 02/09/2021 00:41, Bill Dunlap wrote: