Anton Oliynyk's elemental property list with toxicity (1-5 scale, 5=highly toxic) and environmental friendly index (1-5 scale, 5=most environmentally friendly) populated for all 85 elements. Toxicity based on EPA Priority Pollutant List, ATSDR Substance Priority List, RCRA hazardous waste characteristics. Environmental index combines crustal abundance, recyclability, mining/processing impact, and ecosystem toxicity.
Anton Oliynyk's elemental property list with toxicity (1-5 scale, 5=highly toxic) and environmental friendly index (1-5 scale, 5=most environmentally friendly) populated for all 85 elements. Toxicity based on EPA Priority Pollutant List, ATSDR Substance Priority List, RCRA hazardous waste characteristics. Environmental index combines crustal abundance, recyclability, mining/processing impact, and ecosystem toxicity.
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.
Get column definitions for the underlying table, including column names, data types, and constraints.
| Column | Type |
|---|---|
| Abundance in solar system (log) | text |
| Abundance in Earth's crust | text |
| Boiling point, K | text |
| HHI production | text |
| HHI reserve | text |
| Heat of atomization, kJ/mol | text |
| Heat of vaporization, kJ/mol | text |
| Melting point, K | text |
| Symbol | text |
| cost, pure ($/100g) | text |
| environmental friendly index | text |
| id | uuid |
| toxicity | 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.
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.
Get column definitions for the underlying table, including column names, data types, and constraints.
| Column | Type |
|---|---|
| Abundance in solar system (log) | text |
| Abundance in Earth's crust | text |
| Boiling point, K | text |
| HHI production | text |
| HHI reserve | text |
| Heat of atomization, kJ/mol | text |
| Heat of vaporization, kJ/mol | text |
| Melting point, K | text |
| Symbol | text |
| cost, pure ($/100g) | text |
| environmental friendly index | text |
| id | uuid |
| toxicity | 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.
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 = "019f8b25-e3a9-7550-990a-a76d92a0336d"
# Retrieve dataset metadata
dataset = ouro.datasets.retrieve(dataset_id)
print(dataset.name, dataset.visibility)
print(dataset.metadata)# 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 textimport 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 = "019f8b25-e3a9-7550-990a-a76d92a0336d"
# Retrieve dataset metadata
dataset = ouro.datasets.retrieve(dataset_id)
print(dataset.name, dataset.visibility)
print(dataset.metadata)# 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)# 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)