Creating a stacked or multi-variable bar graph.

I still am not understanding what you want when I look at your code.

For the data.frame HealthNutri that you have supplied this will give you a barplot

ggplot(HealthNutri, aes(CountryName, LifeEB17)) +
    geom_bar(stat = "identity")

If you wish to have both LifeEB17 and BasicSanitation17 on the same graph in ggplot2 then you will need to change the data. frame from wide to long format .

I think we need to see some sample data in a usable format. Please have a look at