christophergandrud / imfr

R package for interacting with the IMF RESTful JSON API
49 stars 5 forks source link

Missing Counterpart DOT #21

Closed msgoussi closed 4 years ago

msgoussi commented 4 years ago

DOT database has counterpart country, ie Country/area is trading with other country/area. imf_codes(codelist = 'CL_INDICATOR_DOT')

when I run the following code, i can not find the counterpart area column

imf_data("DOT", indicator = "TXG_FOB_USD", country = "US", start = 2018, end = current_year(), freq = "A")

can we use ios3 instead of iso2, the reason behind is Nambia iso2 is NA, so when you save the dataframe, NA becomes a Missing value. Thanks

cjyetman commented 4 years ago

related to #22