llclens
v0.1.0Query the LLC Lane dataset: search rows, compare values, column statistics.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
dataset_columns Dataset columns and shape
The columns, which of them are numeric, the row count and the provenance banner of the LLC Lane dataset. Call this first to learn the schema.
dataset_search Search the dataset
Rows of the LLC Lane dataset whose cells contain the query (case-insensitive), up to 50.
| Parameter | Type | Description |
|---|---|---|
query * | string | text to look for in any cell |
limit | integer | Maximum number of rows to return |
dataset_row Look a row up by an exact key
The rows of the LLC Lane dataset where a column equals a value exactly (case-insensitive).
| Parameter | Type | Description |
|---|---|---|
column * | string | Column to match on |
value * | string | Value the column must equal exactly |
dataset_compare Compare rows side by side
The rows of the LLC Lane dataset whose column is any of the given values, in the order given — for "X vs Y" questions.
| Parameter | Type | Description |
|---|---|---|
column * | string | Column to match on |
values * | array | Values to match the column against |
dataset_stats Summary statistics for a numeric column
count, min, max, mean, median and sum of a numeric column of the LLC Lane dataset (grouping commas and currency are handled; non-numeric rows are excluded and counted).
| Parameter | Type | Description |
|---|---|---|
column * | string | Numeric column to compute statistics for |
dataset_top Rank rows by a numeric column
The highest (or lowest) rows of the LLC Lane dataset by a numeric column — "which is the most/least X".
| Parameter | Type | Description |
|---|---|---|
column * | string | Numeric column to rank rows by |
ascending | boolean | true for the lowest first; default highest first |
limit | integer | Maximum number of rows to return |
dataset_provenance Where this data comes from, and how to cite it
The source, the date it was computed, the licence and the citation for the LLC Lane dataset. Read this to attribute a figure correctly.