build_OU_period_exp: Generic function to build expactations for all datasets...

Description Usage Arguments Value

Description

Generic function to build expactations for all datasets (number of DEs per dataset)

Usage

1
2
build_OU_period_exp(dataset_id, metadata_OrgUnit_datasetinfo, dataset_exp,
  period)

Arguments

dataset_id

–> id of the dataset

metadata_OrgUnit_datasetinfo

–> The dataframe containing orgunit_dataset metadata (should be the ouput of "extract_metadata_DS_OrgUnit" function)

dataset_exp

–> The dataframe containing expactations for all datasets (should be the ouput of "build_DS_exp" function)

period

–> should be a vector with a monthly range such as "c(201701, 201712)"

Value

Returns a dataframe with the number of expected values for each OrgUnit, dataset and period


grlurton/dhisextractr documentation built on May 3, 2019, 8:37 p.m.