Learn R Programming

rgho (version 2.0.2)

build_gho_url: Construct GHO request URL

Description

Construct GHO request URL

Usage

build_gho_url(
  base_url = "https://apps.who.int/gho/athena/api/",
  dimension = "GHO",
  code = NULL,
  filter = NULL,
  ...
)

Arguments

base_url

Base URL of the API.

dimension

Dimension of interest.

code

A vector of requested codes.

filter

A named list of filtering parameters.

...

Other optional URL parameters.

Value

An URL as a string.