Question: Use the library tidyverse in R and load the data who data and map _ data ( world ) . Using the shared

Use the library tidyverse in R and load the data "who" data and map_data("world"). Using the
shared code "Rlecture_data_cleaning.R" clean the "who" data and then plot on the world map the
geographical distribution of total TB cases for males across the world in the year 2000 using the code
"Rlecture_maps.R".
A) Show your replicated plot.
B) Were there any recorded male TB cases in 2000 in countries like the United States of America and
Russia? Report the number of total male TB cases in these two countries in 2000. Do you see them
on the map?
C) Explain why, in the given code, you find a set of countries with recorded male TB cases in 2000
that are not being plotted on the map.
D) Find the list of all unique countries that have recorded a number of male TB cases in 2000 in the
"who" data but is not being plotted on the map. [Hint: look up the function anti_join() and think
how you can use it]
E) Correct the map generated by "Rlecture_maps.R" such that these countries are reflected on the
map.
 Use the library tidyverse in R and load the data "who"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!