Federico Botta, Robin Lovelace, Laura Gilbert, Arthur Turrell
{"title":"将代码和数据打包,用于可重复研究:旅程时间统计案例研究","authors":"Federico Botta, Robin Lovelace, Laura Gilbert, Arthur Turrell","doi":"10.1177/23998083241267331","DOIUrl":null,"url":null,"abstract":"The effective and ethical use of data to inform decision-making offers huge value to the public sector, especially when delivered by transparent, reproducible, and robust data processing workflows. One way that governments are unlocking this value is through making their data publicly available, allowing more people and organisations to derive insights. However, open data is not enough in many cases: publicly available datasets need to be accessible in an analysis-ready form from popular data science tools, such as R and Python, for them to realise their full potential. This paper explores ways to maximise the impact of open data with reference to a case study of packaging code to facilitate reproducible analysis. We present the jtstats project, which consists of a main Python package, and a smaller R version, for importing, processing, and visualising large and complex datasets representing journey times, for many transport modes and trip purposes at multiple geographic levels, released by the UK Department for Transport (DfT). jtstats shows how domain specific packages can enable reproducible research within the public sector and beyond, saving duplicated effort and reducing the risks of errors from repeated analyses. We hope that the jtstats project inspires others, particularly those in the public sector, to add value to their data sets by making them more accessible.","PeriodicalId":11863,"journal":{"name":"Environment and Planning B: Urban Analytics and City Science","volume":"14 1","pages":""},"PeriodicalIF":2.6000,"publicationDate":"2024-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Packaging code and data for reproducible research: A case study of journey time statistics\",\"authors\":\"Federico Botta, Robin Lovelace, Laura Gilbert, Arthur Turrell\",\"doi\":\"10.1177/23998083241267331\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The effective and ethical use of data to inform decision-making offers huge value to the public sector, especially when delivered by transparent, reproducible, and robust data processing workflows. One way that governments are unlocking this value is through making their data publicly available, allowing more people and organisations to derive insights. However, open data is not enough in many cases: publicly available datasets need to be accessible in an analysis-ready form from popular data science tools, such as R and Python, for them to realise their full potential. This paper explores ways to maximise the impact of open data with reference to a case study of packaging code to facilitate reproducible analysis. We present the jtstats project, which consists of a main Python package, and a smaller R version, for importing, processing, and visualising large and complex datasets representing journey times, for many transport modes and trip purposes at multiple geographic levels, released by the UK Department for Transport (DfT). jtstats shows how domain specific packages can enable reproducible research within the public sector and beyond, saving duplicated effort and reducing the risks of errors from repeated analyses. We hope that the jtstats project inspires others, particularly those in the public sector, to add value to their data sets by making them more accessible.\",\"PeriodicalId\":11863,\"journal\":{\"name\":\"Environment and Planning B: Urban Analytics and City Science\",\"volume\":\"14 1\",\"pages\":\"\"},\"PeriodicalIF\":2.6000,\"publicationDate\":\"2024-07-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Environment and Planning B: Urban Analytics and City Science\",\"FirstCategoryId\":\"96\",\"ListUrlMain\":\"https://doi.org/10.1177/23998083241267331\",\"RegionNum\":3,\"RegionCategory\":\"经济学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"ENVIRONMENTAL STUDIES\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Environment and Planning B: Urban Analytics and City Science","FirstCategoryId":"96","ListUrlMain":"https://doi.org/10.1177/23998083241267331","RegionNum":3,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENVIRONMENTAL STUDIES","Score":null,"Total":0}
引用次数: 0
摘要
有效、合乎道德地使用数据为决策提供信息,可为公共部门带来巨大价值,尤其是在数据处理工作流程透明、可复制且稳健的情况下。政府释放这种价值的方法之一是公开数据,让更多人和组织获得洞察力。然而,在很多情况下,仅开放数据是不够的:公开数据集需要以可通过 R 和 Python 等流行数据科学工具进行分析的形式访问,这样才能充分发挥其潜力。本文通过一个包装代码以促进可重现分析的案例研究,探讨了如何最大限度地发挥开放数据的影响。我们介绍了 jtstats 项目,该项目由一个主要 Python 软件包和一个较小的 R 版本组成,用于导入、处理和可视化英国交通部 (DfT) 发布的大型复杂数据集,这些数据集代表了多种交通模式和出行目的在多个地理层次上的行程时间。jtstats 展示了特定领域软件包如何在公共部门内外实现可重现研究,从而节省重复劳动并降低重复分析产生错误的风险。我们希望 jtstats 项目能激励其他人,尤其是公共部门的人,通过使数据集更易于访问来增加其价值。
Packaging code and data for reproducible research: A case study of journey time statistics
The effective and ethical use of data to inform decision-making offers huge value to the public sector, especially when delivered by transparent, reproducible, and robust data processing workflows. One way that governments are unlocking this value is through making their data publicly available, allowing more people and organisations to derive insights. However, open data is not enough in many cases: publicly available datasets need to be accessible in an analysis-ready form from popular data science tools, such as R and Python, for them to realise their full potential. This paper explores ways to maximise the impact of open data with reference to a case study of packaging code to facilitate reproducible analysis. We present the jtstats project, which consists of a main Python package, and a smaller R version, for importing, processing, and visualising large and complex datasets representing journey times, for many transport modes and trip purposes at multiple geographic levels, released by the UK Department for Transport (DfT). jtstats shows how domain specific packages can enable reproducible research within the public sector and beyond, saving duplicated effort and reducing the risks of errors from repeated analyses. We hope that the jtstats project inspires others, particularly those in the public sector, to add value to their data sets by making them more accessible.