knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
The package provides utilities, examples, data sets and other materials related to the UNIDO INDSTAT database.
To install the latest stable development version from GitHub, you can pull this repository and install it using
## install.packages("remotes") remotes::install_github("valentint/indstat")
Of course, if you have already installed remotes
, you can skip the
first line (I have commented it out).
This is a simple example which shows you basic functions of the package.
library(indstat) getCountryCode("Austria") getCountryCodeISO3("Austria") getCountryName(c(156, 100, 512)) ## Test now the encoding - countries with special characters ## in the names: Côte d'Ivoire, Curaçao and Réunion getCountryName(c(384, 531, 638))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.