%0 Conference Paper %B Proceedings of the workshop on Partial evaluation and program manipulation - PEPM %D 2009 %T From spreadsheets to relational databases and back %A Jácome Cunha %A João Alexandre Saraiva %A Joost Visser %C Savannah, GA, USA %I ACM %K bi-directional transformations %K functional programming %K Spreadsheets %K type-safe data migration %P 179–188 %R http://doi.acm.org/10.1145/1480945.1480972 %S PEPM '09 %U http://doi.acm.org/10.1145/1480945.1480972 %X

This paper presents techniques and tools to transform spreadsheets into relational databases and back. A set of data refinement rules is introduced to map a tabular datatype into a relational database schema. Having expressed the transformation of the two data models as data refinements, we obtain for free the functions that migrate the data. We use well-known relational database techniques to optimize and query the data. Because data refinements define bidirectional transformations we can map such database back to an optimized spreadsheet. We have implemented the data refinement rules and we have constructed tools to manipulate, optimize and refactor Excel-like spreadsheets.

%8 January %@ 978-1-60558-327-3 %> https://haslab.uminho.pt/sites/default/files/jacome/files/pepm09.pdf