extract_secondary_unit_set: Extract Secondary Unit Set

View source: R/UnitsAndConversions.R

extract_secondary_unit_setR Documentation

Extract Secondary Unit Set

Description

In the second processing step of RHoMIS, there are secondary units which need to be verified (e.g. livestock_tlu), this function is used to extract these types of units and search for existing conversions within the package (see R/config_package_vars.R "set_secondary_units()").

Usage

extract_secondary_unit_set(units_and_conversions, name_conversions, unit_type)

Arguments

units_and_conversions

A list of units conversion tibbles

name_conversions

The names for the conversions (e.g. livestock_name)

unit_type

The type of unit we are preparing to right to conversion

Details

file: R/UnitsAndConversions.R


l-gorman/rhomis-R-package documentation built on Nov. 8, 2023, 6:46 a.m.