create_ir: Create IR folder and templates

View source: R/create_ir.R

create_irR Documentation

Create IR folder and templates

Description

create_ir Creates folder, code and output template for an information request.

Usage

create_ir(ir_number, title = NULL, source = NULL)

Arguments

ir_number

A character string specifying the name of the IR, including the year, e.g. IR2022-5555.

title

An optional character string specifying the title of the IR.

source

An optional character string specifying the source of the data.

Details

Everything is created in cl-out.

Value

Creates a series of directories in cl-out, a script that can be used as a template for the IR, and an Excel file for the final output

Examples

create_ir("IR2022-55555")

create_ir("IR2022-55555", title = "Number of admissions", source = "SMR01")


Public-Health-Scotland/qifunctions documentation built on July 15, 2022, 2:36 a.m.