The package allows you to easily download personalized Life Tables from the Eurostat website
You'll need to install and load:
library(devtools) install_github("ropengov/eurostat") install_github("hadley/rvest") install_github("gfarinacci/lifeTables") library(lifeTables)
Then you'll be able to use the package, for example:
lT <- lifeTable(geo = "IT", sex = "M", year = 2015, indic_de = "px")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.