rOpenGov / iotables

Importing and Manipulating Symmetric Input-Output Tables
https://iotables.dataobservatory.eu
Other
20 stars 8 forks source link

What counts as a symmetric input-output table? #24

Open giuliogcantone opened 1 year ago

giuliogcantone commented 1 year ago

I have a custom table in this format:

tibble(
  Buyer = c("A","B","Total"),
  A = c(1,2,3),
  B=c(3,4,7),
  Total=c(4,6,10)
) -> data

I am asked to convert this format into a causative matrix. I have no idea what a causative matrix is, but I noticed that in your package, a preliminary step to reach Leontief/Ghosh is to convert the tibble with output_coefficient_matrix_create(), or analogous commands. However, if I process data with output_coefficient_matrix_create(), I get the error that arguments have different numbers of rows.

Given that my data are formatted as data, what do I need, to output a Leontief or a Ghosh? To my understanding, the causative matrix is a combination of both of them.

antaldaniel commented 1 year ago

@giuliogcantone The package currently works only with standardized, European SIOTs. The inclusion of custom SIOTs is overdue, as we want to work with Swiss, OECD, etc, data sources as well. Currently you must adhere to the formatting standards of the pacakge and Eurostat.