lessonlens
v0.1.0Lessonvo site dataset: search, compare and cite the site's published dataset.
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 Lessonvo dataset. Call this first to learn the schema.
dataset_search Search the dataset
Rows of the Lessonvo 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 Lessonvo dataset where a column equals a value exactly (case-insensitive).
| Parameter | Type | Description |
|---|---|---|
column * | string | name of the column to match exactly |
value * | string | value the column must equal (case-insensitive) |
dataset_compare Compare rows side by side
The rows of the Lessonvo dataset whose column is any of the given values, in the order given — for "X vs Y" questions.
| Parameter | Type | Description |
|---|---|---|
column * | string | name of the column to compare on |
values * | array | values to match in the column, in the order given |
dataset_stats Summary statistics for a numeric column
count, min, max, mean, median and sum of a numeric column of the Lessonvo dataset (grouping commas and currency are handled; non-numeric rows are excluded and counted).
| Parameter | Type | Description |
|---|---|---|
column * | string | name of the numeric column to summarise |
dataset_top Rank rows by a numeric column
The highest (or lowest) rows of the Lessonvo dataset by a numeric column — "which is the most/least X".
| Parameter | Type | Description |
|---|---|---|
column * | string | name of the numeric column to rank 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 Lessonvo dataset. Read this to attribute a figure correctly.