A1: ETL 재적재 — ttareungi.dong_code 마포 + ecos.cycle 100%#198
Merged
Conversation
…settings 추가) audit-null-orphan-2026-05-04 발견 100% NULL 컬럼 중 가능 항목 재적재. settings.py: - kakao_api_key + ecos_api_key 추가 (.env 에 이미 존재, settings 미반영이었음) DB UPDATE (idempotent): 1. master_ttareungi_station.dong_code (마포 한정) - PR #184 가 채운 lat/lon 위에서 dong_centroid 16동 haversine 거리 매핑 - 마포 sigungu_code='11440' 243 row 채움 - 마포 외 5,298 row: 서울 전체 dong_centroid 부재 (E4 한계) — skip 2. ecos_timeseries.cycle: 0% → **100%** (2,783 row) - ECOS StatisticItemList API (3 stat_code: 121Y006/722Y001/901Y009) - 901Y009 페이지네이션 (1,743 items × 2 페이지) 처리 - cycle 분포: Q 99.9%, A 0.1% 3. kakao_store_hours.mon~sun_hours: ❌ 불가 - 카카오 비공식 endpoint (place.map.kakao.com/main/v/{kid}) deprecate - status 404/302 — 별 API (Naver Place / 카카오 비즈) 권한 필요 신규 스크립트 (재실행 가능): - scripts/ingest/fill_ttareungi_dong_code.py - scripts/ingest/backfill_ecos_cycle.py DB 변경 요약: - UPDATE: 243 (ttareungi) + 2,783 (ecos cycle) = 3,026 row - 스키마 변경: 0 - 다른 팀원 영향: 0 (read 데이터 enrich만) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
audit-null-orphan-2026-05-04 발견 100% NULL 컬럼 중 가능 항목 재적재. settings.py 에 KAKAO/ECOS API key 추가 (.env 에 이미 있었으나 settings 미반영).
DB UPDATE (3,026 row)
master_ttareungi_station.dong_code(마포)ecos_timeseries.cyclesettings.py 추가
신규 스크립트 (재실행 가능)
scripts/ingest/fill_ttareungi_dong_code.pyscripts/ingest/backfill_ecos_cycle.py미완 (불가)
kakao_store_hours.mon~sun_hoursplace.map.kakao.com/main/v/{kid}) deprecate (404/302). 별 API 권한 (Naver Place / 카카오 비즈) 필요DB 변경
O — UPDATE 3,026 row. 스키마 변경 0. 다른 팀원 영향 0 (read 데이터 enrich).
Test plan
🤖 Generated with Claude Code