Data manipulation in R

0 comments

In the attached file there is trade data (imports and exports) for 6 different products for different countries from 1990 to 2002. The task is for both exports and imports separately to sum all the of the countries for each product for the given time period. Then, for the latest year (2002) find the top10 largest products. Then for each of these top 10 products what are the top 5 countries.

Next, you should aggregate the products to total trade level (imports+exports while maintaining the country breakdowns) and find the top 10 largest countries for 2002. Then for these top10 countries what are the top5 products again for imports and exports separately.

* The task should be completed in R and the code should be provided in detail.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}