When I import country data using RODBC I often use ISO2 codes. The unfortunate part is Namibia with ISO2 "NA" always gets set to missing. There are various ways around this of course, but I wonder if anyone has found a way to just import correctly. I've tried
df <- sqlFetch(ch,"data_from_database", na.strings="")
df <- sqlFetch(ch,"data_from_database", as.is)
to no avail. Any tips?