writeHomeTab: writeHomeTab(wb, datapack_uid, tool = "Data Pack")

View source: R/writeHomeTab.R

writeHomeTabR Documentation

writeHomeTab(wb, datapack_uid, tool = "Data Pack")

Description

Function to write Home tab details into Data Pack as specified.

Usage

writeHomeTab(
  wb = NULL,
  datapack_name = NULL,
  country_uids,
  cop_year = getCurrentCOPYear(),
  tool = "Data Pack"
)

Arguments

wb

Openxlsx workbook object.

datapack_name

Name you would like associated with this Data Pack. (Example: "Western Hemisphere", or "Caribbean Region", or "Kenya".)

country_uids

Character vector of 11 digit alphanumeric DATIM codes representing countries.

cop_year

COP Year in format YYYY.

tool

Defaults to "Data Pack".

Value

Openxlsx workbook object with added, styled Home tab.


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