restrict.metadata.info: Filtering the metadata.info

Description Usage Arguments Details Value Examples

Description

The function provides a mechanism for restricting the metadata.info object.

Usage

1
2
## S3 method for class 'metadata.info'
restrict(meta.inf, restr.obj)

Arguments

meta.inf

the metadata.info object to be restricted

restr.obj

description of the restriction

Details

It can be provided with:

As a result new metadata.info object is created matching the filtering criteria

Value

restricted metadata.info object

Examples

1
2
3
4
db.atts <- db.attributes(meta.inf)
# let's select attributes with more than 100 instances
db.atts.cnt <- db.attributes.counts(meta.inf)  %>% dplyr::filter(tablecount>100)
meta.inf.restr <- restrict(meta.inf, db.atts.cnt)

cezden/rpostgrexplorer documentation built on May 13, 2019, 3:08 p.m.