createdata: Create data set for analysis.

View source: R/createdata.R

createdataR Documentation

Create data set for analysis.

Description

This function creates the data objects (matrices, vectors and scalars) necessary to implement the SI and NI from the WIOD.

Usage

createdata(country, year, datasea, dataio)

Arguments

country

country code as a character (e.g. "USA").

year

year (eg. 2000).

datasea

the socio economic accounts (data frame).

dataio

the input-output (data frame).

Value

A list with the following elements:

Ahat

The input-output matrix

l

The direct labor input vector (complex labor)

l_simple

The direct labor input vector (simple labor)

Q

The gross output vector

wavg

The average or uniform nominal wage rate

wagevector_all

The vector of nominal wage rates

vlp

Value of labor power

b

Real wage bundle (consumption/total hours)

b1

Real wage bundle (share of PCE * min wage)

pshare

Average profit share

Examples


createdata(country="USA",year=2010,datasea=usasea,dataio=usaiot)



clptheory documentation built on March 18, 2026, 1:07 a.m.