TACO
stable v0.6.3 ⌄
asterisk-labs/taco

Read

Reading a TACO dataset

The same logical reader opens TACO folders, ZIPs, partition lists, and TACOCATs from Python, R, or Julia.

One reader in three languages

Every binding exposes the same dataset model. Use read for complete samples and SQL for filters or raw metadata.

import taco

dataset = taco.open_dataset("https://data.source.coop/major-tom/core-dem/")
samples = dataset.read(files="dem.rumi")
first_100 = dataset.sql('SELECT * FROM dataset WHERE "taco:sample_index" < 100')

Read all samples or query a subset

OperationMeaning
dataset.read()Every sample, ordered by taco:sample_index.
dataset.read(files=...)The complete sample table with only the selected structural file columns.
dataset.sql(query)A query over dataset or a named metadata level.
inspect(source, query)The contract, structure, levels, collection, profile, or core-generated SQL without reading samples.

The same reader model in every language

Python, R, and Julia open the same containers, expose the collection and contract, read complete samples, and run SQL over the dataset relation or any metadata level.