knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

indstat

The package provides utilities, examples, data sets and other materials related to the UNIDO INDSTAT database.

Installation/Building from source

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).

Example

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))


valentint/indstat documentation built on July 2, 2023, 10:39 p.m.