createTestDataset: Create a test Targets dataset

View source: R/createTestDataset.R

createTestDatasetR Documentation

Create a test Targets dataset

Description

Compiles a test DATIM import file as would be output by a Data Pack.

Usage

createTestDataset(
  country_uids,
  cop_year,
  d2_session = dynGet("d2_default_session", inherits = TRUE)
)

Arguments

country_uids

UIDs for Countries to tailor data for.

cop_year

COP year for dating as well as selection of templates.

d2_session

datimutils d2Session object

Value

wb with specified sheet packed with data


pepfar-datim/datapackr documentation built on April 14, 2024, 10:35 p.m.