Dear all,
I have a dataset that contains the following string variables: "country" and "countrydestination". The first variable includes all African countries as individual country observations in the year 2000. Each country then has many - kind of - results with "countrydestination" (the country where African refugees emigrate to --> there are many listed for each country of origin).
I would like to create a graph (preferably a pie chart or a bar graph) that shows which countries Africans are fleeing to the most.
My thought (before starting with the graph) is: I would like to summarize all the African countries so that it is only "Africa" --> not individual countries, but only the entire continent. And then I would like to have the top 5 or top 10 countries that are destinations.
Unfortunately, I don't have a solution for any of these three problems (A: Summarize countries to Africa, B: Show only the top 10 destinations and C: create the graph).
Every help is very much appreciated!
Thank you to everyone in advance!
Kind regards,
Marah
Related Posts with Create graphs
Programming a loop for non-time series datasetDear all, I turn to you for advice once again, as I am working for the first time on a dataset that…
t-test on coefficient of probit regressionHello there, I'm trying to find the impact of contingencies on an explanatory variable in a probit r…
Stratified analysis or statistical measures of co-linearityHello, I have a sample of 1239 participants. My exposure variable is binary (1 = yes, 0 = no), and …
Market shares after mixlogitDear all, Does anyone know how can the market shares after a mixlogit model, including price, be est…
Consistently sorting data ahead of generating duplicatesDear community, I am currently trying to identify different individuals(across several years) withi…
Subscribe to:
Post Comments (Atom)
0 Response to Create graphs
Post a Comment