Foundations of a live data exploration environment

T. Petříček
{"title":"Foundations of a live data exploration environment","authors":"T. Petříček","doi":"10.22152/programming-journal.org/2020/4/8","DOIUrl":null,"url":null,"abstract":"Context: A growing amount of code is written to explore and analyze data, often by data analysts who do not have a traditional background in programming, for example by journalists. \nInquiry: The way such data anlysts write code is different from the way software engineers do so. They use few abstractions, work interactively and rely heavily on external libraries. We aim to capture this way of working and build a programming environment that makes data exploration easier by providing instant live feedback. \nApproach: We combine theoretical and applied approach. We present the \\emph{data exploration calculus}, a formal language that captures the structure of code written by data analysts. We then implement a data exploration environment that evaluates code instantly during editing and shows previews of the results. \nKnowledge: We formally describe an algorithm for providing instant previews for the data exploration calculus that allows the user to modify code in an unrestricted way in a text editor. Supporting interactive editing is tricky as any edit can change the structure of code and fully recomputing the output would be too expensive. \nGrounding: We prove that our algorithm is correct and that it reuses previous results when updating previews after a number of common code edit operations. We also illustrate the practicality of our approach with an empirical evaluation and a case study. \nImportance: As data analysis becomes an ever more important use of programming, research on programming languages and tools needs to consider new kinds of programming workflows appropriate for those domains and conceive new kinds of tools that can support them. The present paper is one step in this important direction.","PeriodicalId":224558,"journal":{"name":"Art Sci. Eng. Program.","volume":"43 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-02-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Art Sci. Eng. Program.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.22152/programming-journal.org/2020/4/8","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Context: A growing amount of code is written to explore and analyze data, often by data analysts who do not have a traditional background in programming, for example by journalists. Inquiry: The way such data anlysts write code is different from the way software engineers do so. They use few abstractions, work interactively and rely heavily on external libraries. We aim to capture this way of working and build a programming environment that makes data exploration easier by providing instant live feedback. Approach: We combine theoretical and applied approach. We present the \emph{data exploration calculus}, a formal language that captures the structure of code written by data analysts. We then implement a data exploration environment that evaluates code instantly during editing and shows previews of the results. Knowledge: We formally describe an algorithm for providing instant previews for the data exploration calculus that allows the user to modify code in an unrestricted way in a text editor. Supporting interactive editing is tricky as any edit can change the structure of code and fully recomputing the output would be too expensive. Grounding: We prove that our algorithm is correct and that it reuses previous results when updating previews after a number of common code edit operations. We also illustrate the practicality of our approach with an empirical evaluation and a case study. Importance: As data analysis becomes an ever more important use of programming, research on programming languages and tools needs to consider new kinds of programming workflows appropriate for those domains and conceive new kinds of tools that can support them. The present paper is one step in this important direction.
实时数据探索环境的基础
背景:越来越多的代码用于探索和分析数据,通常是由没有传统编程背景的数据分析师编写的,例如记者。询问:这些数据分析师编写代码的方式与软件工程师的方式不同。它们使用很少的抽象,以交互方式工作,并且严重依赖外部库。我们的目标是捕捉这种工作方式,并构建一个编程环境,通过提供即时的实时反馈,使数据探索变得更容易。方法:理论与应用相结合。我们介绍了\emph{数据探索演算},这是一种捕获数据分析师编写的代码结构的正式语言。然后我们实现一个数据探索环境,它在编辑过程中立即评估代码并显示结果的预览。知识:我们正式描述了一种算法,用于为数据探索演算提供即时预览,该算法允许用户在文本编辑器中以不受限制的方式修改代码。支持交互式编辑很棘手,因为任何编辑都可能改变代码的结构,并且完全重新计算输出的成本太高。基础:我们证明了我们的算法是正确的,并且在一些常见的代码编辑操作之后更新预览时重用了以前的结果。我们还通过实证评估和案例研究说明了我们方法的实用性。重要性:随着数据分析越来越成为编程的重要用途,编程语言和工具的研究需要考虑适合这些领域的新型编程工作流,并构思能够支持它们的新型工具。本文就是朝着这个重要方向迈出的一步。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书