Skip to contents

This function creates a list equal to the length of any data frame supplied. It is typically used on a data frame containing Physical Supply-Use Tables (PSUT) with the associated final demand sectors in the nested Y and U_EIOU matrices.

Usage

create_fd_sectors_list(fd_sectors, .sutdata)

Arguments

fd_sectors

A character vector of final demand sectors.

.sutdata

A data frame containing Physical Supply-Use Table (PSUT) matrices with associated final demand sector names

Value

A list the length of a desired data frame containing final demand vectors

Examples

library(Recca)
final_demand_sector_list <- create_fd_sectors_list(fd_sectors = c("Residential"),
.sutdata = Recca::UKEnergy2000mats)