search-charts
Installation
SKILL.md
Searching for charts is done via an http request to https://ourworldindata.org/api/search
Query parameters:
q— search string (keyword-based, Algolia-powered)hitsPerPage— number of results per page (default: 20)page— page number, 0-indexed (default: 0)
The result is a json that adheres to this schema:
export enum ChartRecordType {
Chart = "chart",
ExplorerView = "explorerView",
MultiDimView = "multiDimView",
}
type GrapherTabName = "LineChart" | "ScatterPlot" | "StackedArea" | "DiscreteBar" | "StackedDiscreteBar" | "SlopeChart" | "StackedBar" | "Marimekko" | "Dumbbell" | "Table" | "WorldMap"