extract_from_slf: Extract the correct variables for Source workbooks from the...

View source: R/extract_from_slf.R

extract_from_slfR Documentation

Extract the correct variables for Source workbooks from the Source Linkage Files

Description

A wrapper around slfhelper::read_slf_individual and slfhelper::read_slf_episode that defines the columns to be extracted based on pre-defined list within bluenile

Usage

extract_from_slf(year, workbook_name, sub_name)

Arguments

year

The year or years to be extracted, in "XXYY" format

workbook_name

A valid workbook name from workbook_names

sub_name

For HRI Pathways and HRI Main, specification of which part is being worked on

Examples

x <- utils::head(extract_from_slf(year = "1819", workbook_name = "HRI", sub_name = "main"), 1000)

shintoLamp/bluenile documentation built on Aug. 6, 2022, 6:29 a.m.