Skip to content

Commit

Permalink
margins removed from two region models see #290
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-young committed Oct 28, 2024
1 parent d2cf76d commit f06c52d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/DisaggregateFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ disaggregateModel <- function (model){
#Disaggregating Crosswalk
model$crosswalk <- disaggregateMasterCrosswalk(model, disagg)

#Disaggregate Margins
model$Margins <- disaggregateMargins(model, disagg)
if (model$specs$IODataSource != "stateior") {
#Disaggregate Margins, one region models only see #290
model$Margins <- disaggregateMargins(model, disagg)
}
model$TaxLessSubsidies <- disaggregateTaxLessSubsidies(model, disagg)

# Transform model FinalDemand, DomesticFinalDemand, and InternationalTradeAdjustment to by-industry form
Expand Down

0 comments on commit f06c52d

Please sign in to comment.