Automating economic data collection
Rob Calvert Jump and
Jo Michell
Chapter 9 in Handbook of Research Methods and Applications in Heterodox Economics, 2026, pp 181-217 from Edward Elgar Publishing
Abstract:
This chapter introduces the principles and practice of automating economic data collection using application programming interfaces (APIs) and coding in R and Python. It explains how APIs streamline workflows by enabling direct data transfer from providers such as the World Bank and FRED, reducing reliance on manual downloads and spreadsheets. The chapter covers key concepts – HTTP requests, RESTful URLs, XML, JSON, and CSV formats – and demonstrates how to construct API queries, parse responses, and convert data into dataframes for analysis. Practical examples illustrate how to retrieve time-series data, manipulate it programmatically, and generate visualizations. The authors also discuss the advantages of automation for reproducibility, efficiency, and scalability, while acknowledging technical challenges and the learning curve. By providing foundational knowledge and sample code, the chapter equips economists to adopt automated, code-based workflows that enhance transparency and open new possibilities for empirical research.
Keywords: Data Automation; APIs; Python; R; Economic Data; Reproducibility (search for similar items in EconPapers)
Date: 2026
ISBN: 9781035346585
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.elgaronline.com/doi/10.4337/9781035346592.00017 (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:elg:eechap:23938_10
Ordering information: This item can be ordered from
http://www.e-elgar.com
Access Statistics for this chapter
More chapters in Chapters from Edward Elgar Publishing
Bibliographic data for series maintained by Jack Sweeney ().