Hi guys,
I am trying to merge country-level data with exchange rate data. Because in the end I need to merge my country-level dataset with a firm-level dataset and I need to use the exchange rate to convert financial data into USD.
I want to merge the two on countryid/countryid2 but all the time I get errors/values not lining up in the final dataset.
I also tried to change the rows and the columns in the country-level data set, but because many of the variables are string variables they change into a dot when trying to transpose it.
Anyone who has a clue/tip?
This is the layout of my exchange rate data

and this is the layout of my country-level data

I am trying to merge country-level data with exchange rate data. Because in the end I need to merge my country-level dataset with a firm-level dataset and I need to use the exchange rate to convert financial data into USD.
I want to merge the two on countryid/countryid2 but all the time I get errors/values not lining up in the final dataset.
I also tried to change the rows and the columns in the country-level data set, but because many of the variables are string variables they change into a dot when trying to transpose it.
Anyone who has a clue/tip?
This is the layout of my exchange rate data

Comment