01. 연구 (2) 원전 정책 담론 연구 05 연구 인프라 및 구현 구조
이 글은 이전 문서(00. 개요)의 후속 내용으로,
해당 연구 설계 및 구현 구조를 보다 구체적으로 정리했다.
블로그에 공개한 01–06 문서는 당시 컨택 과정에서 제출했던 18페이지 분량의 영어 연구계획서 가운데
방법론과 연구 구현에 해당한다.


최종 제출본에는 분량 제한 때문에 일부만 반영되었지만,
방법론 부분이 가장 오래 수정 및 검토되었다.
연구계획서를 작성하는 일련의 과정 속에서,
나는 연구 과정을 스스로 설명할 수 있어야 한다는 점을 중요하게 여겼다.
예상과 다른 결과가 나오면 원인을 다시 확인했고, 구현 과정이 바뀌면 방법론도 함께 수정했다.
연구 질문과 분석 구조가 맞지 않는다고 판단한 부분은 여러 번 다시 설계했다.
그래서 블로그에 공개한 문서에는 완성된 결과보다 시행착오와 수정 과정,
그리고 연구를 진행하면서 마주했던 한계와 고민이 더 많이 남아 있다.
처음부터 연구 시스템을 만들 계획은 없었다.
그런데 Python으로 분석하고 SQL로 데이터를 관리하는 작업을 반복하다 보니,
연구 전체를 하나의 구조로 정리할 필요가 생겼다.
이 문서는 개발 자체를 설명하기보다
연구 방법론이 실제 코드와 데이터 구조에서 어떻게 구현되는지를 기록하기 위해 작성했었다.
(정확히는 Git Read Me로 쓰려고 만들었는데,
첫 글에도 나오듯 Git Read Me에는 다른 내용을 담게 되었다.)
This study designs and implements a research data infrastructure to analyze the structural relationship between policy events and changes in discourse based on news text data.
This infrastructure is not a simple data processing system, but a system-oriented research infrastructure that extends the analytical framework defined in Chapter 5 of the methodology into an executable system.
In particular, this system integrates the following functions:
In other words, this infrastructure is an execution-level analytical system that implements the research methodology at the code level.
The data infrastructure of this study consists of the following three layers.
The Data Construction Layer includes preprocessing steps from data collection to corpus construction and directly corresponds to the dataset construction stage in the research methodology.
Here, Core Keywords serve as an intermediate conceptual layer that ensures semantic alignment between data-driven keywords and policy concepts.
The Analysis Layer performs discourse analysis based on the preprocessed corpus.
The Visualization Layer presents analysis results in an interpretable form.
The data processing pipeline follows the structure below:
Literature review and theoretical background
→ Search query design (Phase 1 & 2)
→ News data collection via BigKinds
→ Data Reduction
→ Data Cleaning
→ Core Keyword construction
→ Corpus construction
→ Analysis Filtering
→ TF-IDF analysis
→ Interpretation of discourse changes and visualization
This structure maintains a hierarchical flow from data collection → reduction → cleaning → conceptualization → analysis, with each stage functioning as an independent processing unit.
The database is designed based on the following relational structure:
News Article → Keyword → Policy Event → (International Framework)
This enables multi-layered relational discourse analysis between articles, keywords, and policy events.
From the initial design stage, the database was structured to flexibly support expansion and modification of time-series analysis periods.
Although the dataset is built on 1994–2025 news data, the structure allows extension to periods prior to the 1990s through simple data addition.
This indicates that the infrastructure is not dependent on a fixed time range, but represents a:
Temporal Scalable Discourse Analysis Structure
In particular, article_keyword_map is a key analytical table containing:
Additionally, nuclear plant information and radiation data are included as auxiliary structures for extended analysis.
To ensure efficient processing of large-scale news data and JOIN operations, the following indexing strategy is applied:
In particular, the system is designed with composite index–centered optimization considering GROUP BY + JOIN-based analytical queries.
In this study, SQL is not used as an analytical tool, but as a:
All TF-IDF computation and discourse analysis are performed in Python, while SQL is used only for aggregation and retrieval.
The system uses MyBatis Mapper to construct the Data Access Layer.
The Mapper performs:
The system retrieves analytical data through the following Mapper queries:
This Mapper structure functions not merely as a query layer but as a core interface for delivering analytical results to the visualization layer.
The system is designed under a distributed architecture assumption to process hundreds of thousands to millions of news records.
Focus is placed on optimizing JOIN- and GROUP BY–heavy discourse analysis queries.
This step generates a sub-dataset tailored to the research purpose:
The system adopts a modular preprocessing structure that allows flexible selection of analysis tools:
Core Keywords ensure alignment between data-driven extraction and policy concepts.
Validation criteria:
Core Keywords serve as the foundation for all subsequent analysis stages.
The system supports incremental data processing:
DB → Spring Boot → Mapper → View → Chart.js
Python TF-IDF Engine
↓
TiDB Cloud Database
↓
Spring Boot Web System
↓
Chart.js Visualization
This research infrastructure is not a simple data processing system but a structured execution framework implementing the research methodology with data reduction and conceptual alignment at its core.
In particular, it integrates:
Through this, the study proposes a fully reproducible and scalable integrated analytical environment for analyzing the relationships among policy events, news discourse, and conceptual structures.
This document describes the structural foundation supporting the analytical framework presented in the Research Methodology.
Detailed technical specifications are provided in Appendix A. Research Infrastructure.
For practical system execution and interface-level implementation, see the System Implementation and Demonstration.
| 01. 연구 (2) 원전 정책 담론 연구 06 연구 인프라 부록 (0) | 2026.07.03 |
|---|---|
| 01. 연구 (2) 원전 정책 담론 연구 04 연구 방법론 (요약본) (0) | 2026.07.03 |
| 01. 연구 (2) 원전 정책 담론 연구 03 연구 방법론 (0) | 2026.07.03 |
| 01. 연구 (2) 원전 정책 담론 연구 02 연구 설계 및 구조 (0) | 2026.07.03 |
| 01. 연구 (2) 원전 정책 담론 연구 01 문헌 검토 및 이론적 배경 (0) | 2026.07.03 |