chooseFilter: Allows to interactively filter data from quitte object

View source: R/chooseFilter.R

chooseFilterR Documentation

Allows to interactively filter data from quitte object

Description

Allows to interactively filter data from quitte object

Usage

chooseFilter(
  data,
  types = c("model", "scenario", "region", "variable", "period"),
  keep = list()
)

Arguments

data

A quitte object or something that can be transformed into one by as.quitte

types

vector of quitte columns for user to select data if more than one option available

keep

list with quitte columns as names and data points that should always be kept. If the column is not also in types, only the elements in that list are kept

Author(s)

Oliver Richters

Examples

## Not run: 
  qe <- chooseFilter(quitte_example_dataAR6, types = c("model"),
                    keep = list(region = "World"))

## End(Not run)


pik-piam/quitte documentation built on April 26, 2024, 12:58 a.m.