get_gho_data {rgho}R Documentation

Returns GHO Data

Description

Given a code, returns the corresponding GHO data.

Usage

get_gho_data(code, filter = NULL)

Arguments

code

A GHO code.

filter

A named list of filtering parameters. Each parameter must be the correct type.

Details

Filtering parameters are given as a named list of the form list(COUNTRY = "FRA", ...).

If you mispecify the filtering parameter, you will get a 400 Bad Request Error

Value

A GHO object

Examples


## Not run: 
result <- get_gho_data(
  code = "MDG_0000000001"
)
print(result, width = Inf)


result <- get_gho_data(
  code = "MDG_0000000001",
  filter = list(
    REGION = "EUR",
    YEAR = 2015
  )
)
print(result, width = Inf)

## End(Not run)

[Package rgho version 3.0.2 Index]