Published
Edited
Aug 28, 2020
Insert cell
Insert cell
Insert cell
Insert cell
exampleDataset.description
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
exampleDataset.metadata
Insert cell
Insert cell
jsonPath = "$.category"
Insert cell
Insert cell
columns = [
{ name: "Category",
jsonPath: jsonPath,
dataType: "xsd:string"
}
]
Insert cell
Insert cell
query = ({
contains: [{column: ["Category"]}, "covid-19"]
})
Insert cell
edelweissUrl = "https://api.edelweissdata.com"
Insert cell
Insert cell
datasets = {
const encodedQuery = JSON.stringify({condition: query, columns: columns})
let url = new URL(`${edelweissUrl}/datasets`)
url.searchParams.append('query', encodedQuery);
return fetch(url).then(response => response.json())
}
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more