miquery_post: Post-process raw query results

View source: R/querymi.R

miquery_postR Documentation

Post-process raw query results

Description

The results returned by the ModelInterface query are not aggregated (if, for instance, the query is by region). This function performs that aggregation, if applicable.

Usage

miquery_post(results, query, scenarios, regions, warn.empty)

Arguments

results

Table returned by the ModelInterface query.

query

The original query string.

scenarios

The scenarios requested in the query.

regions

The regions requested in the query.

warn.empty

Flag: issue warning if the results table is empty.


JGCRI/rgcam documentation built on June 7, 2024, 10:54 a.m.