Scale
SLiDE.Mapping
— Typemutable struct Mapping <: Scale
data::DataFrame
from::Union{Symbol,Array{Symbol,1}}
to::Union{Symbol,Array{Symbol,1}}
on::Union{Symbol,Array{Symbol,1}}
direction::Symbol
end
Store mapping information for scaling. This should NOT include any multiplication factors.
Arguments
data::DataFrame
: input file namefrom::Union{Symbol,Array{Symbol,1}}
:data
columns that overlap withon
to::Union{Symbol,Array{Symbol,1}}
:data
columns that DO NOT overlap withon
on::Union{Symbol,Array{Symbol,1}}
: columns that can be mapped withdata
direction::Symbol
: indicator describing whether to aggregate/disaggregate
SLiDE.Mapping
— MethodSLiDE.Weighting
— Typemutable struct Weighting <: Scale
data::DataFrame
constant::Array{Symbol,1}
from::Union{Symbol,Array{Symbol,1}}
to::Union{Symbol,Array{Symbol,1}}
on::Union{Symbol,Array{Symbol,1}}
direction::Symbol
end
Store mapping AND weighting information for scaling. math 1+1
Arguments
data::DataFrame
: input file nameconstant::Array{Symbol,1}
:data
columns that are included in but not changed by the mapping processfrom::Union{Symbol,Array{Symbol,1}}
:data
columns that overlap withon
to::Union{Symbol,Array{Symbol,1}}
:data
columns that DO NOT overlap withon
on::Union{Symbol,Array{Symbol,1}}
: columns that can be mapped withdata
direction::Symbol
: indicator describing whether to aggregate/disaggregate
SLiDE.Weighting
— Method