dwelling
Load dwelling information from SOEP (Socio-Economic Panel).
This module provides functions for processing dwelling characteristics data from SOEP surveys. The functions handle encoding transformations for building types, ownership status, house conditions, number of rooms, and region types.
- Disaggregation hierarchy:
House type (SFH, MFH, …) –> Restoration status –> House Owner –> Number of Rooms
- Functions defined in this script:
building_type: Translate building type codes to standardized names
owner_type: Translate ownership status from integers to strings
house_condition: Translate house condition/renovation status
room_num: Limit and categorize number of rooms
region_type: Assign region type (urban/rural) to households
Functions
|
Translate house condition/renovation status from integers to strings. |
|
Translate dwelling ownership status information from integers to strings. |
|
Limit and categorize the number of rooms in dwelling. |