Learn how to interact with this dataset using the Ouro SDK or REST API.
API access requires an API key. Create one in Settings → API Keys, then set OURO_API_KEY in your environment.
Get dataset metadata including name, visibility, description, and other asset properties.
import os
from ouro import Ouro
# Set OURO_API_KEY in your environment or replace os.environ.get("OURO_API_KEY")
ouro = Ouro(api_key=os.environ.get("OURO_API_KEY"))
dataset_id = "01a02c2a-1624-791d-a44f-6c0ce0632858"
# Retrieve dataset metadata
dataset = ouro.datasets.retrieve(dataset_id)
print(dataset.name, dataset.visibility)
print(dataset.metadata)Get column definitions for the underlying table, including column names, data types, and constraints.
| Column | Type |
|---|---|
| alpha_a_ppm_k | real |
| alpha_a_se | real |
| alpha_b_ppm_k | real |
| alpha_b_se | real |
| alpha_c_ppm_k | real |
| alpha_c_se | real |
| alpha_v_ppm_k | real |
| alpha_v_se | real |
| cod_files | text |
| confident_nte | text |
| formula | text |
| has_h | text |
| id | uuid |
| journal | text |
| n_temps | integer |
| sg_number | text |
| sg_symbol | text |
| t_max_k | real |
| t_min_k | real |
| year | text |
Fetch the dataset's rows. Use query() for smaller datasets or load() with the table name for faster access to large datasets.
Update dataset metadata (visibility, description, etc.) and optionally write new rows to the table. Writing new data will replace the existing data in the table. Requires write or admin permission on the dataset.
# Get column definitions for the underlying table
columns = ouro.datasets.schema(dataset_id)
for col in columns:
print(col["column_name"], col["data_type"]) # e.g., age integer, name text# Option 1: All rows as a Pandas DataFrame
df = ouro.datasets.query(dataset_id)
print(df.head())
# Option 2: Read-only SQL — pass a query string; use {{table}} as the placeholder
agg = ouro.datasets.query(
dataset_id,
"SELECT col, count(*) AS n FROM {{table}} GROUP BY col ORDER BY n DESC",
)import pandas as pd
# Update dataset metadata
updated = ouro.datasets.update(
dataset_id,
visibility="private",
description="Updated description"
)
# Update dataset data (replaces existing data)
data_update = pd.DataFrame([
{"name": "Charlie", "age": 33},
{"name": "Diana", "age": 28},
])
updated = ouro.datasets.update(dataset_id, data=data_update)Corrected census of COD multi-temperature series after a structure-consistency audit (2026-08-22): only series whose unit cells form a single structure across all temperatures (no two distinct cells at the same temperature, sorted-axis spread <5%). Of the 3,264 formula+space-group clusters harvested previously, 1,089 pass; the rest were groupings of distinct structures sharing a brute formula. Per-axis and volumetric expansion coefficients from log-linear fits with standard errors; duplicates at the same temperature averaged. 35 confident NTE series (alpha_V < 0 at 2 sigma). Supersedes the contaminated subsets of the earlier census posts.