diff --git a/R/StateiorFunctions.R b/R/StateiorFunctions.R index 8a81e2ac..e58c0b03 100644 --- a/R/StateiorFunctions.R +++ b/R/StateiorFunctions.R @@ -47,7 +47,7 @@ getTwoRegionIOData <- function(model, dataname) { return(TwoRegionIOData) } -#' @description Disaggregate CPI table to ensure the correct dimensions +#' Disaggregate CPI table to ensure the correct dimensions #' @param df, CPI table #' @param model An EEIO form USEEIO model object with model specs and IO meta data loaded. #' @return An expanded CPI table with values replicated for disaggregated sectors. @@ -70,7 +70,7 @@ disaggregateCPI <- function(df, model){ } -#' @description Generate direct requirements Use table for 2 region models using domestic +#' Generate direct requirements Use table for 2 region models using domestic #' Use table with trade data generated by stateior #' @param model An EEIO form USEEIO model object with model specs and IO meta data loaded. #' @param domestic A logical parameter indicating whether to DR or Domestic DR. diff --git a/man/disaggregateCPI.Rd b/man/disaggregateCPI.Rd new file mode 100644 index 00000000..1a982895 --- /dev/null +++ b/man/disaggregateCPI.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/StateiorFunctions.R +\name{disaggregateCPI} +\alias{disaggregateCPI} +\title{Disaggregate CPI table to ensure the correct dimensions} +\usage{ +disaggregateCPI(df, model) +} +\arguments{ +\item{df, }{CPI table} + +\item{model}{An EEIO form USEEIO model object with model specs and IO meta data loaded.} +} +\value{ +An expanded CPI table with values replicated for disaggregated sectors. +} +\description{ +Disaggregate CPI table to ensure the correct dimensions +} diff --git a/man/generate2RDirectRequirementsfromUseWithTrade.Rd b/man/generate2RDirectRequirementsfromUseWithTrade.Rd new file mode 100644 index 00000000..2b21b508 --- /dev/null +++ b/man/generate2RDirectRequirementsfromUseWithTrade.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/StateiorFunctions.R +\name{generate2RDirectRequirementsfromUseWithTrade} +\alias{generate2RDirectRequirementsfromUseWithTrade} +\title{Generate direct requirements Use table for 2 region models using domestic +Use table with trade data generated by stateior} +\usage{ +generate2RDirectRequirementsfromUseWithTrade(model, domestic) +} +\arguments{ +\item{model}{An EEIO form USEEIO model object with model specs and IO meta data loaded.} + +\item{domestic}{A logical parameter indicating whether to DR or Domestic DR.} +} +\value{ +A 2-region direct requirements table generated using the domestic Use table with trade +} +\description{ +Generate direct requirements Use table for 2 region models using domestic +Use table with trade data generated by stateior +}