lib/spout/models/graphables/default.rb
# Returns variable options that are either:
# a) are not missing codes
# b) or are marked as missing codes but represented in the dataset
Returns variable options that are either:
a) are not missing codes
b) or are marked as missing codes but represented in the dataset
Returns variable options that are either : a ) are not missing codes b ) or are marked as missing codes but represented in the dataset
def filtered_domain_options(variable)
          variable.domain.options.select do |o|
            o.missing != true || (o.missing == true && @values_unique.include?(o.value))
          end
        end
def filtered_domain_options ( variable ) variable . domain . options . select do | o | o . missing != true || ( o . missing == true && @values_unique . include? ( o . value ) ) end end
Returns variable options that are either:
a) are not missing codes
b) or are marked as missing codes but represented in the dataset
Returns variable options that are either : a ) are not missing codes b ) or are marked as missing codes but represented in the dataset
variable
<not_specific>