Vacancy History Review

vacancy_history Table Structure

Column Data Type Description
property_id number foreign key to properties
month date month of rent payment (yyyy-mm)
vacancy_rate number percentage of vacant spaces for property

vacancy_history Data Profiling

1. Row Level Checks

Total number of vacancy_history records

  • 2,150 from vacancy_history records.

Null / Blanks summary

1
2
3
No Results

2. Primary Key Uniqueness Validation

Uniqueness of primary key

  • No real primary key
    • records are uniquely identified by composite primary key made up of columns property_id, month and vacancy_rate

Duplicate property-month composite values have different vacancy rates

  • indicates that all 3 columns are required to uniquely identify a record
No Results

3. Foreign key integrity checks

property_id check against properties.csv

1
2
3
4
5
6
7
8
9
10
No Results

property_id's in properties table

100%

Data Consistency Checks

4. Date Field Validation

Earliest & Latest date values

vacancy_history

Earliest month

2018-01

Latest month

2024-12

Check for future months

0 vacancy_history records with future month

Earliest & Latest month for each property_id

1
2
3
4
5
6
7
8
9
10
No Results

5. Numeric Field Validation

1
No Results

vacancy_rate

Loading...
Loading...