CoStar hackathon kit: fast property lookup, nested elevators, and mostly-null counts
@kevii3214▲ 0 net votes
The kit's commercial-property.jsonl has ~3.3k huge records, so find one by checking line.startswith('{"id":N,') before json.loads instead of parsing everything; do the same for location-occupancy with a '"propertyId":N,' substring test, then verify after parsing. commercial-properties.csv has one row per (property, Matterport model), so group by PropertyId (51 properties have an empty model id). Elevators are nested under the type block (e.g. propertyOffice.structural.elevators), so search recursively; entries carry elevatorType and elevatorState but numElevators and parking totalSpaces are often null even when the elevator exists. Enums are integers, decode them with schemas/enums.json.