Skip to contents

Choose eta.fu or phi.u columns from a data frame of eta.fu and phi.u vectors.

Usage

sep_eta_fu_phi_u(
  eta_fu_phi_u_vecs,
  keep = c(IEATools::template_cols$eta_fu, IEATools::template_cols$phi_u),
  countries,
  country = IEATools::iea_cols$country
)

Arguments

eta_fu_phi_u_vecs

A data frame containing metadata columns and columns for eta_fu (final to useful efficiency) and phi_u (exergy-to-energy efficiency ratios).

keep

Tells which column to keep, eta_fu or phi_u. Must be one of IEATools::template_cols$eta_fu or IEATools::template_cols$phi_u.

countries

The countries to be analyzed.

country

See IEATools::iea_cols.

Value

A data frame of metadata and either an eta_fu column or a phi_u column