knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of income is to visualise income data of countries through plotting Lorenz-Curves.
You can install this package with:
devtools::install_github("m-g-h/income")
This package is implemented via the package drake
and should only be used inside an R-Project. After setting one up, do the following:
income::make_project()
You can take a look at the drake-plan with:
income::show_project()
(it's quite simple)
income::plot_lorenz(ctry = "FR")
A list of the country id's can be shown with the function country_list()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.