| English | 中文 |
Use existing Excel tables to prepare province–industry economic indicators or province–product output. National-sector processing requires a separate implementation.
Use R with data.table, readxl, and stringr, plus a spreadsheet viewer for source checks. Record edition years, actual data years, authorized files/sheets, units and industry-code version. Put immutable originals in an external versioned data folder; create the task specification and mapping in AIRMOSAIC_CONFIG_DIR, with working copies and results in a fresh project result folder.
The two R templates are adaptation material: yearbook_regional_sector_template and yearbook_product_output_template cannot execute through run-tool. Inspect their current metadata without starting processing:
python -m runtime.cli describe-tool yearbook_regional_sector_template
python -m runtime.cli describe-tool yearbook_product_output_template
中国工业统计年鉴{edition}(Excel)/3分地区数据/; product tables beneath 工业产量/ or 分地区工业主要产品产量/ in each edition folder.output_dir; product processing writes within edition folders and root, with no independent output-directory argument. Use task working copies or adapt all writes before any use; setting one final destination does not protect originals.地区 panel boundaries, continuation sheets, numeric-conversion failures, edition/data-year mapping, excluded tables and industry-code matches. The templates assume data year = edition year − 1; verify that assumption against actual tables.Detailed layout and historical design: processing techniques, pipeline blueprint, industry matching, encoding repair. Historical references retain their existing language. Scientific choices and interpretation: yearbook methods.