man/output_df.Rd 0 → 100644
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/capri_tables.R
\name{output_df}
\alias{output_df}
\title{calculates the absolute and percentage changes between baseline and scenario.}
\usage{
output_df(b, s)
}
\arguments{
\item{b}{basline.}
\item{s}{Scenario.}
}
\value{
a data frame.
}
\description{
calculates the absolute and percentage changes between baseline and scenario.
}
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/capri_sankey.R
\name{plot_sankey}
\alias{plot_sankey}
\title{function draws sankey diagram and saves html pages for sankey}
\usage{
plot_sankey(links, nodes, p_baseline, Png)
}
\arguments{
\item{links}{a data frame object with the links between the nodes. It should have include the Source and Target for each link. An optional Value variable can be included to specify how close the nodes are to one another.}
\item{nodes}{a data frame containing the node id and properties of the nodes. If no ID is specified then the nodes must be in the same order as the Source variable column in the Links data frame. Currently only grouping variable is allowed.}
\item{p_baseline}{boolean.}
\item{png}{boolean. if TRUE, the sankey chart will be saved.}
}
\value{
sankey diagram.
}
\description{
function draws sankey diagram and saves html pages for sankey
}
man/prelinks.Rd 0 → 100644
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/capri_sankey.R
\name{prelinks}
\alias{prelinks}
\title{function reads balance detailed, split it into "biofuels" and "non-biofuels"}
\usage{
prelinks(balance_detailed, p_biofuels = TRUE)
}
\arguments{
\item{balance_detailed}{A data frame.}
\item{p_biofuels}{boolean.}
}
\value{
links
}
\description{
function reads balance detailed, split it into "biofuels" and "non-biofuels"
}
man/replacestr.Rd 0 → 100644
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/capri_sankey.R
\name{replacestr}
\alias{replacestr}
\title{function Replaces specific characters within strings}
\usage{
replacestr(old, new, df)
}
\arguments{
\item{old}{old column names.}
\item{new}{new column names.}
\item{df}{replace data frame}
}
\value{
df
}
\description{
function Replaces specific characters within strings
}