Public
Edited
May 17, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// loadedCollection = vault.load(collectionUrl)
Insert cell
// loadedCollections = {
// let array = [];
// for (const url of ghCollectionUrls) {
// const response = await vault.load(url);
// array.push(response);
// }
// return array;
// }
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// octokitRequest = new octokit.Octokit()
Insert cell
// ghRepoListing = {
// // Octokit.js
// // https://github.com/octokit/core.js#readme
// return await octokitRequest.request(
// "GET /repos/{owner}/{repo}/contents/{path}",
// {
// owner: "globalise-huygens",
// repo: "datasprint-amh",
// path: "/manifests",
// per_page: 100,
// headers: {
// "X-GitHub-Api-Version": "2022-11-28"
// }
// }
// );
// }
Insert cell
// ghCollectionUrls = ghRepoListing.data
// .filter((item) => item.type === "file")
// .map((item) => item.download_url)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// octokit = import("https://cdn.skypack.dev/@octokit/core")
Insert cell
Insert cell
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