Software
Placeholder

meltr

Read Non-Rectangular Text Data

C++

The meltr package reads non-rectangular CSV, TSV, and fixed-width files by treating each cell as a separate row in the output. It handles data that breaks assumptions made by standard tools like readr, such as rows with different numbers of columns or mixed data types within columns.

This package solves problems where files are too irregular for standard parsers. It preserves all cells including empty ones, provides row and column coordinates for each cell, and returns all data as strings with type guesses rather than performing automatic conversion. The output is structured data about unstructured input, which you can then filter and manipulate with standard tools like dplyr to extract specific types or patterns from messy files.

Contributors