Skip to contents

Get indicator ID from domain name

Usage

fingertips_get_id_from_dm_name(
  metadata = list(indicator_profile_domain = fingertipsR::indicators(),
    indicator_ids_names = fingertipsR::indicators_unique(), area_type =
    fingertipsR::area_types()),
  domain_name = "B. Wider determinants of health",
  indicator_name = NULL
)

Arguments

metadata

a list with the fingertips metadata

domain_name

the domain name

indicator_name

the indicator name

Value

an object of type numeric that contains the indicator ID.

Examples

if (FALSE) {
indicator_id <- fingertips_get_id_from_dm_name(
  metadata    = list(
    indicator_profile_domain = fingertipsR::indicators(),
    indicator_ids_names      = fingertipsR::indicators_unique(),
    area_type                = fingertipsR::area_types()
  ),
  domain_name = "B. Wider determinants of health",
)
}