get_indicator_data: Filter data to only return rows containing data for the...

View source: R/indicators.R

get_indicator_dataR Documentation

Filter data to only return rows containing data for the specified indicator

Description

This filters data based on metadata. If wide format data it will return the input with no filtering. If long format then it will only return the rows containing the specified indicator.

Usage

get_indicator_data(data, metadata, type, indicator)

Arguments

data

The input data type to filter.

metadata

The metadata from naomi.

type

The type of input data.

indicator

The indicator to filter on.

Value

The read data filtered for the indicator


mrc-ide/hintr documentation built on May 1, 2024, 5:33 a.m.