Get indicator ID from profile ID and/or profile name
Source:R/read_from_fingertips-helpers.R
fingertips_get_id_from_profile.Rd
Get indicator ID from profile ID and/or profile name
Usage
fingertips_get_id_from_profile(
metadata = list(indicator_profile_domain = fingertipsR::indicators(),
indicator_ids_names = fingertipsR::indicators_unique(), area_type =
fingertipsR::area_types()),
domain_id = NULL,
domain_name = NULL,
indicator_name = NULL,
profile_name = NULL,
profile_id = 19L
)
Arguments
- metadata
a list with the fingertips metadata
- domain_id
the domain ID
- domain_name
the domain name
- indicator_name
the indicator name
- profile_name
the profile name
- profile_id
the profile ID
Examples
if (FALSE) {
res <- fingertips_get_id_from_profile(
metadata = list(
indicator_profile_domain = fingertipsR::indicators(),
indicator_ids_names = fingertipsR::indicators_unique(),
area_type = fingertipsR::area_types()
),
profile_id = 19
)
}