subsetByKeyValue {AnVILBilling} | R Documentation |
filter a reckoning by 'label' retaining records associated with a particular key-value pair
subsetByKeyValue(mybilling, mykey, myvalue)
mybilling |
instance of avReckoning |
mykey |
character(1) |
myvalue |
character(1) |
data.frame
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)