sa_gdp_elec | R Documentation |
Includes yearly data on gdp, gni, co2 emissions, start up costs.
sa_gdp_elec
A data frame with 16 rows and 7 variables.
Year data collected.
Access to electricity as a percentage of the population.
cost of business startup procedures as a percent of GNI.
CO2 emission in kt (kiloton).
GDP per capita, PPP in constant 2017 international dollars.
GNI per capita, PPP in constant 2017 international dollars.
kg per 2017 PPP dollars of GDP.
library(ggplot2)
ggplot(sa_gdp_elec, aes(year, access_elec)) +
geom_point(alpha = 0.3) +
labs(
x = "Year",
y = "Percent of Population",
title = "Access to Electricity in South Africa 2003 - 2018"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.