filterData: Filter Service Data

View source: R/outputs.R

filterDataR Documentation

Filter Service Data

Description

Focus the data on a given GBV service category or sector

Usage

filterData(d, group.regex, srvtype)

Arguments

d

The data frame

group.regex

A regular expression that exactly matches the prefix used for all the service categories.

srvtype

The service type; also an exact match

Value

The modified data frame

Note

The function will preserve variable labels created with labelled::var_label.


BroVic/raampGBV documentation built on Oct. 7, 2022, 11:06 p.m.