Skip to content

Commit

Permalink
Update cdu and user16 documentation (#628)
Browse files Browse the repository at this point in the history
* Add alternative cdu column

* Additional documentation

* Sort column names

* Fix shared column name

* Update cdu documentation
  • Loading branch information
wrridgeway authored Oct 23, 2024
1 parent 9ce3692 commit 404bb08
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
2 changes: 2 additions & 0 deletions dbt/models/iasworld/schema/iasworld.comdat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ sources:
description: Number of units
- name: upd_status
description: '{{ doc("column_upd_status") }}'
- name: user16
description: '{{ doc("shared_column_alternative_cdu") }}'
- name: useradj
description: Override to comdat userdef adjustment factor
- name: valmeth
Expand Down
2 changes: 2 additions & 0 deletions dbt/models/iasworld/schema/iasworld.dweldat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,8 @@ sources:
config: *unique-conditions
meta:
description: user15 (Use) should not be null
- name: user16
description: '{{ doc("shared_column_alternative_cdu") }}'
- name: user17
description: Age. Deprecated, use `yrblt`
- name: user20
Expand Down
2 changes: 1 addition & 1 deletion dbt/models/iasworld/schema/iasworld.oby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ sources:
- name: upd_status
description: '{{ doc("column_upd_status") }}'
- name: user16
description: '{{ doc("shared_column_cdu") }}'
description: '{{ doc("shared_column_alternative_cdu") }}'
- name: valmeth
description: Valuation Method (R(CLT/RES) or M(MSB))
- name: vect
Expand Down
17 changes: 13 additions & 4 deletions dbt/models/shared_columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,17 @@ Reason for change or no change

# Assessed / Market Values

## alternative_cdu

{% docs shared_column_alternative_cdu %}
Condition/Desirability/Utility code.

Code representing any number of seemingly unrelated characteristics
associated with a PIN, ranging from condition to types of subsidies, to
whether or not a PIN is a garage. The full list of CDU codes can be found in
`ccao.cdu`. For "condition", see the `cdu` column.
{% enddocs %}

## board_bldg

{% docs shared_column_board_bldg %}
Expand Down Expand Up @@ -852,10 +863,8 @@ Equivalent to legacy `MLT_CD` (multicode) value
{% docs shared_column_cdu %}
Condition/Desirability/Utility code.

Code representing any number of seemingly unrelated characteristics
associated with a PIN, ranging from condition to types of subsidies, to
whether or not a PIN is a garage. The full list of CDU codes can be found on
the Assessor's site
The `cdu` column only documents "condition". See `user16` for what the
Assessor's office typically considers the Condition/Desirability/Utility code.
{% enddocs %}

## class
Expand Down

0 comments on commit 404bb08

Please sign in to comment.