Journal of Data Science logo


Login Register

  1. Home
  2. To appear
  3. The Data Extraction Plan: A Framework fo ...

Journal of Data Science

Submit your article Information
  • Article info
  • Related articles
  • More
    Article info Related articles

The Data Extraction Plan: A Framework for Structured Decision-Making for Data Acquisition
Immanuel Williams  

Authors

 
Placeholder
https://doi.org/10.6339/26-JDS1248
Pub. online: 24 November 2026      Type: Education In Data Science      Open accessOpen Access

Received
28 February 2026
Accepted
25 October 2026
Published
24 November 2026

Abstract

Data acquisition from pre-existing secondary sources is a critical yet under-documented phase of applied data science. While frameworks exist for documenting finished datasets, teaching extraction techniques, and managing the broader data science lifecycle, no formal framework structures the planning and documentation decisions that guide secondary data acquisition. We introduce the Data Extraction Plan (DEP), a five-step framework for documenting decisions made before and during acquisition of pre-existing data: Purpose & Source, Legal & Ethical Review, Access & Technical Plan, Scope & Sampling, and Validation & Contingency. Through three illustrative case studies—Basketball Reference player statistics, Wikipedia population table scraping, and Spotify application programming interface (API) audio feature extraction—we demonstrate how the DEP captures decisions that are typically invisible in traditional workflows. We argue that structured extraction planning is increasingly essential in an era when artificial intelligence (AI)-assisted code generation makes writing extraction scripts trivial while the planning decisions upstream remain consequential. By elevating secondary data acquisition and extraction from an invisible prerequisite to a first-class methodological phase, the DEP provides a necessary foundation for trustworthy data cleaning, curation, and integration.

Supplementary material

 Supplementary Material
The supplementary material for this article is available on the official website of the Journal of Data Science at https://jds-online.org/. It may include additional results, appendices, tables, figures, code, and data.

References

 
Boenig-Liptsin M, Tanweer A, Edmundson A (2022). Data science ethos lifecycle: Interplay of ethical thinking and data science practice. Journal of Statistics and Data Science Education, 30(3): 228–240. https://doi.org/10.1080/26939169.2022.2089411
 
Bresler A (2026). nbastatR: R’s interface to NBA data. R package version 0.1.153, commit ad75a30, https://github.com/abresler/nbastatR.
 
Buneman P, Khanna S, Tan WC (2001). Why and where: A characterization of data provenance. In: Proceedings of the 8th International Conference on Database Theory (Van den Bussche J, Vianu V, eds.). Lecture Notes in Computer Science, volume 1973, 316–330.
 
Chen M, Tworek J, Jun H, Yuan Q, Ponde de Oliveira Pinto H, …, Zaremba W (2021). Evaluating large language models trained on code. arXiv preprint: https://arxiv.org/abs/2107.03374.
 
Chu X, Ilyas IF, Krishnan S, Wang J (2016). Data cleaning: Overview and emerging challenges. In: Proceedings of the 2016 International Conference on Management of Data (Özcan F, Koutrika G, Madden S, eds.), 2201–2206.
 
Dogucu M, Çetinkaya-Rundel M (2021). Web scraping in the statistics and data science curriculum: Challenges and opportunities. Journal of Statistics and Data Science Education, 29(sup1): S112–S122. https://doi.org/10.1080/10691898.2020.1787116
 
Gebru T, Morgenstern J, Vecchione B, Vaughan JW, Wallach H, …, Crawford K (2021). Datasheets for datasets. Communications of the ACM, 64(12): 86–92.
 
Gilani S (2026). hoopR: Access Men’s Basketball Play by Play Data. R package version 3.1.0.
 
Horton NJ, Alexander R, Parker M, Piekut A, Rundel C (2022). The growing importance of reproducibility and responsible workflow in the data science and statistics curriculum. Journal of Statistics and Data Science Education, 30(3): 207–208. https://doi.org/10.1080/26939169.2022.2141001
 
Horton NJ, Stoudt S (2024). Editorial: Guidelines and best practices to share deidentified data and code. Journal of Statistics and Data Science Education, 32(3): 227–231. https://doi.org/10.1080/26939169.2024.2364737
 
Hutchinson B, Smart A, Hanna A, Denton E, Greer C, …, Mitchell M (2021). Towards accountability for machine learning datasets: Practices from software engineering and infrastructure. In: Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency (Elish MC, Isaac W, Zemel RS, eds.), 560–575.
 
Indeed (2026). Terms of Service. Indeed.com, last updated 29 September 2026, https://www.indeed.com/legal. Accessed 11 October 2026.
 
Kandel S, Heer J, Plaisant C, Kennedy J, van Ham F, …, Buono P (2011). Research directions in data wrangling: Visualizations and transformations for usable and credible data. Information Visualization, 10(4): 271–288.
 
Kelion L (2020). Excel: Why using Microsoft’s tool caused COVID-19 results to be lost. BBC News, 5 October 2020. https://www.bbc.com/news/technology-54423988. Accessed 11 October 2026.
 
McKinney W (2010). Data structures for statistical computing in Python. In: Proceedings of the 9th Python in Science Conference (S van der Walt, J Millman, eds.), 56–61.
 
Mitchell M, Wu S, Zaldivar A, Barnes P, Vasserman L, …, Gebru T (2019). Model cards for model reporting. In: Proceedings of the Conference on Fairness, Accountability, and Transparency (boyd d, Morgenstern JH, eds.), 220–229.
 
National Academies of Sciences, Engineering, and Medicine (2018). Data Science for Undergraduates: Opportunities and Options. The National Academies Press, Washington, DC.
 
National Academies of Sciences, Engineering, and Medicine (2019). Reproducibility and Replicability in Science. The National Academies Press, Washington, DC.
 
Nolan D, Temple Lang D (2010). Computing in the statistics curricula. American Statistician, 64(2): 97–107. https://doi.org/10.1198/tast.2010.09132
 
Nosek BA, Ebersole CR, DeHaven AC, Mellor DT (2018). The preregistration revolution. Proceedings of the National Academy of Sciences, 115(11): 2600–2606. https://doi.org/10.1073/pnas.1708274114
 
Pearce H, Ahmad B, Tan B, Dolan-Gavitt B, Karri R (2022). Asleep at the keyboard? Assessing the security of GitHub Copilot’s code contributions. In: Proceedings of the 2022 IEEE Symposium on Security and Privacy (SP), 754–768.
 
Pushkarna M, Zaldivar A, Kjartansson O (2022). Data cards: Purposeful and transparent dataset documentation for responsible AI. In: Proceedings of the 2022 ACM Conference on Fairness, Accountability, and Transparency, 1776–1826.
 
Quaranta L, Calefato F, Lanubile F (2022). Eliciting best practices for collaboration with computational notebooks. Proceedings of the ACM on Human–Computer Interaction, 6(CSCW1): Article 87. https://doi.org/10.1145/3512934
 
Richardson L (2026). Beautiful Soup Documentation. Beautiful Soup version 4.15.0, https://www.crummy.com/software/BeautifulSoup/bs4/doc/.
 
Sandve GK, Nekrutenko A, Taylor J, Hovig E (2013). Ten simple rules for reproducible computational research. PLoS Computational Biology, 9(10): e1003285. https://doi.org/10.1371/journal.pcbi.1003285
 
Stodden V (2020). The data science life cycle: A disciplined approach to advancing data science as a science. Communications of the ACM, 63(7): 58–66. https://doi.org/10.1145/3360646
 
Stoudt S, Jernite Y, Marshall B, Marwick B, Sharan M, …, Danchev V (2024). Ten simple rules for building and maintaining a responsible data science workflow. PLOS Computational Biology, 20(7): e1012232.
 
The pandas development team (2020). pandas-dev/pandas: Pandas. Zenodo. https://doi.org/10.5281/zenodo.3509134.
 
The pandas development team (2026). pandas.read_html. pandas documentation, https://pandas.pydata.org/docs/reference/api/pandas.read_html.html. Accessed 11 October 2026.
 
Thompson C, Antal D, Parry J, Phipps D, Wolff T (2024). spotifyr: R Wrapper for the ‘Spotify’ Web API. R package version 2.2.5, commit 68bc0ae, https://github.com/charlie86/spotifyr.
 
Ushey K, Wickham H (2025). renv: Project Environments. R package version 1.1.5.
 
Vance EA, Trumble IM, Alzen JL, House LL (2026). The Q1Q2Q3 workflow for statistics and data science collaborations. Journal of Statistics and Data Science Education, 34(3): 319–339. https://doi.org/10.1080/26939169.2025.2475775
 
Wickham H (2024). rvest: Easily Harvest (Scrape) Web Pages. R package version 1.0.4.
 
Wilkinson MD, Dumontier M, Aalbersberg IJ, Appleton G, Axton M, …, Mons B (2016). The FAIR Guiding Principles for scientific data management and stewardship. Scientific Data, 3: 160018.
 
Wirth R, Hipp J (2000). CRISP-DM: Towards a standard process model for data mining. In: Proceedings of the 4th International Conference on the Practical Applications of Knowledge Discovery and Data Mining (Mackin N, ed.), 29–39. The Practical Application Company.

Related articles PDF XML
Related articles PDF XML

Copyright
© 2026 The Author(s). Published by the School of Statistics and the Center for Applied Statistics, Renmin University of China.
by logo by logo
Open access article under the CC BY license.

Keywords
API data data science workflow preregistration reproducibility secondary data web scraping

Metrics
since February 2021
161

Article info
views

20

PDF
downloads

Export citation

Copy and paste formatted citation
Placeholder

Download citation in file


Share


RSS

Journal of data science

  • Online ISSN: 1683-8602
  • Print ISSN: 1680-743X

About

  • About journal
  • Renmin University of China homepage
  • Academic Journal Management
    and Development Center homepage

For contributors

  • Submit
  • OA Policy
  • Become a Peer-reviewer

Contact us

  • JDS@ruc.edu.cn
  • Contact person: Jing Zhou
  • Phone: +86-10-62511318
  • No. 59 Zhongguancun Street, Haidian District Beijing, 100872, P.R. China
Powered by PubliMill  •  Privacy policy