subsetByKeyValue: filter a reckoning by 'label' retaining records associated...

Description Usage Arguments Value Examples

View source: R/Billing.R

Description

filter a reckoning by 'label' retaining records associated with a particular key-value pair

Usage

1
subsetByKeyValue(mybilling, mykey, myvalue)

Arguments

mybilling

instance of avReckoning

mykey

character(1)

myvalue

character(1)

Value

data.frame

Examples

1
2
3
4
5
example(reckon) # makes rec
v = getValues(ab_reckoning(demo_rec), "terra-submission-id")[1] # for instance
nt = subsetByKeyValue(ab_reckoning(demo_rec), "terra-submission-id", v)
head(nt)
dim(nt)

AnVILBilling documentation built on Nov. 21, 2020, 2:01 a.m.