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
data(demo_rec) # makes rec
v = getValues(demo_rec@reckoning, "terra-submission-id")[1] # for instance
nt = subsetByKeyValue(demo_rec@reckoning, "terra-submission-id", v)
head(nt)
dim(nt)

bjstubbs/AnVILBilling documentation built on Oct. 2, 2020, 10:44 p.m.