IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s459873.html

PARQIT: Stata module to provide a grammar of data manipulation for Parquet files on an embedded DuckDB engine

Author

Listed:
  • Miguel Portela

    (Universidade do Minho)

Programming Language

Abstract

parqit reads, writes, joins and manipulates columnar Parquet data with ordinary Stata verbs -- keep, drop, gen, replace, collapse, pivot, merge, append, sort, reshape -- that run out-of-core on an embedded DuckDB engine and materialise one result table at a time into Stata's memory, or write it straight back to Parquet without loading the result into Stata's current dataset. Variable labels, value labels, notes, display formats and characteristics survive a parqit save / parqit use round-trip through standard Parquet key-value metadata, while files remain plain Parquet for Python (pandas, polars), R, Spark and other tools. SQL is available as an escape hatch (parqit sql), and parqit show prints the generated query.

Suggested Citation

  • Miguel Portela, 2026. "PARQIT: Stata module to provide a grammar of data manipulation for Parquet files on an embedded DuckDB engine," Statistical Software Components S459873, Boston College Department of Economics, revised 28 Aug 2026.
  • Handle: RePEc:boc:bocode:s459873
    Note: This module should be installed from within Stata by typing "ssc install parqit". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/pqrqit.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_combine.dlg
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_explore.dlg
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_filter.dlg
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_gen.dlg
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_linux64.plugin
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_macarm64.plugin
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_macintel64.plugin
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_pivot.dlg
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_read.dlg
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_stats.dlg
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_vars.dlg
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_views.dlg
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_win64.plugin
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_basics.do
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_tour.do
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/parqit_write.dlg
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:bocode:s459873. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/debocus.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.