caption_source: caption_source

Description Usage Arguments

View source: R/caption_source.R

Description

caption_source aids in the captioning of infographics. It takes an indicator ID (located within a filtered version of indicator_data) and returns the corresponding source ID (located within indicator_info). The resulting value is used within tr_pull to obtain the full description of the source ID in English or Cymraeg.

Usage

1

Arguments

ind

The indicator ID (from a filtered version of indicator_data).

info

Lookup dataset containing the source ID. Defaults to indicator_info.


WHESRi/whesApp documentation built on Dec. 18, 2021, 6:21 p.m.