IDEAS home Printed from https://ideas.repec.org/p/osf/socarx/rcwhf_v1.html

How much data? Measuring the complexity of thematic coding tasks and the amount of training samples needed for supervised modeling

Author

Listed:
  • Lore, Madison

Abstract

Traditional methods of thematic analysis are critical for deep, nuanced understanding of complex planning challenges, but the manual intensity of the process limits its applications to increasingly large datasets generated by planning processes. Hybrid, supervised methods of natural language processing offer a solution by allowing researchers to scale theory-driven topics by using traditional methods to first label a sample of the data. However, because the amount of labeled data needed varies across thematic analysis tasks, researchers and practitioners face uncertainty in the time, cost, and feasibility of applying scalable text analysis to planning research and practice. How much data needs to be labeled to achieve acceptable accuracy and how does this depend on the complexity of the task itself? This study proposes theory-informed models for measuring task complexity and defining the relationship between complexity and the number of labeled samples needed. Through the analysis of six thematic analysis tasks in 103 climate action plans (CAPs), we find that by only defining complexity from a codebook of phrases for a topic, akin to the process of manual thematic coding, it is possible to accurately predict the maximum attainable accuracy scores for any given training size and labeling a very small sample of data improves the accuracy of the prediction. This framework provides a way for urban researchers to determine the manual cost of extending a thematic coding task to larger scales before embarking on the process.

Suggested Citation

  • Lore, Madison, 2026. "How much data? Measuring the complexity of thematic coding tasks and the amount of training samples needed for supervised modeling," SocArXiv rcwhf_v1, Center for Open Science.
  • Handle: RePEc:osf:socarx:rcwhf_v1
    DOI: 10.31235/osf.io/rcwhf_v1
    as

    Download full text from publisher

    File URL: https://osf.io/download/6ae1dee196c87493ea020857/
    Download Restriction: no

    File URL: https://libkey.io/10.31235/osf.io/rcwhf_v1?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. repec:osf:socarx:8g4sv_v1 is not listed on IDEAS
    2. Halterman, Andrew & Keith, Katherine A., 2026. "Codebook LLMs: Evaluating LLMs as Measurement Tools for Political Science Concepts," Political Analysis, Cambridge University Press, vol. 34(2), pages 188-204, April.
    3. Xinyu Fu & Chaosu Li & Wei Zhai, 2023. "Using Natural Language Processing to Read Plans," Journal of the American Planning Association, Taylor & Francis Journals, vol. 89(1), pages 107-119, January.
    4. Michael Scharkow, 2013. "Thematic content analysis using supervised machine learning: An empirical evaluation using German online news," Quality & Quantity: International Journal of Methodology, Springer, vol. 47(2), pages 761-773, February.
    5. Adu, Providence & Delmelle, Elizabeth C., 2022. "Spatial Variations in Exclusionary Criteria from Online Rental Advertisements," SocArXiv 8g4sv, Center for Open Science.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Wiatrowski, Matthew R. & Miller, Jacob H. & Bhatt, Arpit & Tifft, Stephen M. & Abdullah, Zia & Tao, Ling, 2024. "Economic and sustainability prospects for wet waste valorization: The case for sustainable aviation fuel from arrested anaerobic digestion," Renewable Energy, Elsevier, vol. 232(C).
    2. Eyal Eckhaus & Zachary Sheaffer, 2018. "Managerial hubris detection: the case of Enron," Risk Management, Palgrave Macmillan, vol. 20(4), pages 304-325, November.
    3. Lind, Fabienne & Heidenreich, Tobias & Kralj, Christoph & Boomgaarden, Hajo G., 2021. "Greasing the wheels for comparative communication research: Supervised text classification for multilingual corpora," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 3(3), pages 1-30.
    4. Weidong An & Xihui Chen & Luca Esposito & Liao Zhu & Yiling Liu, 2025. "Mapping the Hotspots and New Trends of Online Teaching Evaluation: Evidence from Bibliometric Visualized Analysis," SAGE Open, , vol. 15(4), pages 21582440251, October.
    5. Triss Ashton & Nicholas Evangelopoulos & Victor Prybutok, 2015. "Quantitative quality control from qualitative data: control charts with latent semantic analysis," Quality & Quantity: International Journal of Methodology, Springer, vol. 49(3), pages 1081-1099, May.
    6. Ziwen Zu, 2026. "Talking Politics with Artificial Intelligence," Papers 2607.00551, arXiv.org, revised Jul 2026.
    7. Damien Spry & Tim Dwyer, 2017. "Representations of Australia in South Korean online news: a qualitative and quantitative approach utilizing Leximancer and Korean keywords in context," Quality & Quantity: International Journal of Methodology, Springer, vol. 51(3), pages 1045-1064, May.
    8. Anton Oleinik, 2024. "A Bayesian index of association: comparison with other measures and performance," Quality & Quantity: International Journal of Methodology, Springer, vol. 58(1), pages 277-305, February.
    9. Patrick Gildersleve & Renaud Lambiotte & Taha Yasseri, 2023. "Between news and history: identifying networked topics of collective attention on Wikipedia," Journal of Computational Social Science, Springer, vol. 6(2), pages 845-875, October.
    10. Olessia Y. Koltsova & Sergei V. Pashakhin, 2017. "Agenda Divergence in a Developing Conflict: A Quantitative Evidence from a Ukrainian and a Russian TV Newsfeeds," HSE Working papers WP BRP 79/SOC/2017, National Research University Higher School of Economics.
    11. Volkan Göçoğlu & Durukan Ayan & Atahan Demirkol, 2026. "Climate Change Adaptation Strategies in Vulnerable Countries Through the SDG 13: A Cross‐Sectoral Analysis," Sustainable Development, John Wiley & Sons, Ltd., vol. 34(1), pages 95-111, February.
    12. A. E. Opperhuizen & K. Schouten, 2021. "Dynamics and tipping point of issue attention in newspapers: quantitative and qualitative content analysis at sentence level in a longitudinal study using supervised machine learning and big data," Quality & Quantity: International Journal of Methodology, Springer, vol. 55(1), pages 19-37, February.
    13. Na Jiang & Andrew T Crooks & Hamdi Kavak & Wenjing Wang, 2024. "Leveraging newspapers to understand urban issues: A longitudinal analysis of urban shrinkage in Detroit," Environment and Planning B, , vol. 51(5), pages 1089-1103, June.
    14. Zhang, Wusiqin & Chen, Yimin & Liu, Xiaoping & Zhang, Honghui, 2025. "A large language model-based approach to building the knowledge graph for master plan: A case study in Guangzhou, China," Land Use Policy, Elsevier, vol. 159(C).
    15. Junke Chen & Yifan Liu & Qigang Zhu, 2022. "Enterprise Profitability and Financial Evaluation Model Based on Statistical Modeling: Taking Tencent Music as an Example," Mathematics, MDPI, vol. 10(12), pages 1-17, June.
    16. Yu Lim Lee & Minji Jung & Robert Jeyakumar Nathan & Jae-Eun Chung, 2020. "Cross-National Study on the Perception of the Korean Wave and Cultural Hybridity in Indonesia and Malaysia Using Discourse on Social Media," Sustainability, MDPI, vol. 12(15), pages 1-33, July.
    17. Hsi‐Chuan Wang & Vincent Nathan Lim, 2025. "How has urban metabolism research contributed to urban resilience? A conceptual review of practices," Journal of Industrial Ecology, Yale University, vol. 29(6), pages 2367-2386, December.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:osf:socarx:rcwhf_v1. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: OSF (email available below). General contact details of provider: https://socarxiv.org .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.