SegmentsSuper#

class caf.base.segmentation.SegmentsSuper(value)[source]#

Bases: Enum

Getter for predefined segments.

This should be where segments forming segmentations come from. In most cases if a segment is not defined here it should be added, rather than defined as a custom segment in a Segmentation.

Attributes

Methods

values()

Return values from class.

get_segment([subset])

Get a segment.

Attributes Documentation

PURPOSE = 'p'#
TIMEPERIOD = 'tp'#
MODE = 'm'#
GENDER = 'g'#
SOC = 'soc'#
SIC = 'sic'#
CA = 'ca'#
TFN_AT = 'tfn_at'#
TFN_TT = 'tfn_tt'#
USERCLASS = 'userclass'#
ACCOMODATION_TYPE_H = 'accom_h'#
ACCOMODATION_TYPE_HR = 'accom_hr'#
ADULTS = 'adults'#
CHILDREN = 'children'#
CAR_AVAILABILITY = 'car_availability'#
AGE = 'age_9'#
AGE_11 = 'age_11'#
AGE_AGG = 'age_5'#
AGE_NTEM = 'age_ntem'#
AGE_EDGE = 'age_edge'#
GENDER_3 = 'gender_3'#
ECONOMIC_STATUS = 'economic_status'#
POP_EMP = 'pop_emp'#
POP_ECON = 'pop_econ'#
NS_SEC = 'ns_sec'#
AWS = 'aws'#
HH_TYPE = 'hh_type'#
ADULT_NSSEC = 'adult_nssec'#
SIC_1 = 'sic_1_digit'#
SIC_2 = 'sic_2_digit'#
SIC_4 = 'sic_4_digit'#
STATUS_APS = 'status_aps'#
NORCOM_0V1 = 'norcom_0v1+'#
TOTAL = 'total'#
UNI = 'uni'#
DIRECTION = 'direction'#
DIRECTION_OD = 'direction_od'#
UC = 'uc'#