Scale

SLiDE.MappingType
mutable 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 name
  • from::Union{Symbol,Array{Symbol,1}}: data columns that overlap with on
  • to::Union{Symbol,Array{Symbol,1}}: data columns that DO NOT overlap with on
  • on::Union{Symbol,Array{Symbol,1}}: columns that can be mapped with data
  • direction::Symbol: indicator describing whether to aggregate/disaggregate
source
SLiDE.WeightingType
mutable 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 name
  • constant::Array{Symbol,1}: data columns that are included in but not changed by the mapping process
  • from::Union{Symbol,Array{Symbol,1}}: data columns that overlap with on
  • to::Union{Symbol,Array{Symbol,1}}: data columns that DO NOT overlap with on
  • on::Union{Symbol,Array{Symbol,1}}: columns that can be mapped with data
  • direction::Symbol: indicator describing whether to aggregate/disaggregate
source