getPeriodInfo: Get Period Info

View source: R/getPeriodInfo.R

getPeriodInfoR Documentation

Get Period Info

Description

Get information like start date, end date and period type from an ISO period string

Usage

getPeriodInfo(
  ISO = NA,
  d2session = dynGet("d2_default_session", inherits = TRUE)
)

Arguments

ISO

Formatted string such as 2016Q1. Refer to DHIS2 documentation for details.

d2session

DHIS2 Session id

Value

Returns a data frame of ISO, startDate, endDate,and periodtype.


jason-p-pickering/datim-validation documentation built on April 20, 2023, 5:32 a.m.