Learn R Programming

medicare (version 0.2.0)

subset_worksheet: Subset the desired dataset, based on a worksheet code.

Description

This function is not standalone - it is called from the cr_extract function.

Usage

subset_worksheet(dataset, worksheet)

Arguments

dataset
The name of a cost report alpha or numeric dataset
worksheet
The name of the workheet, converted to 7-character format

Value

A subset of the provided dataset, subset to only having worksheets of the correct value