Created
June 19, 2019 13:02
-
-
Save starsinmypockets/32efd6f341ecce7a7b02acc04778e176 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const datahub = require('datahub-client') | |
const {Dataset} = require('data.js') | |
async function getDataset() { | |
const datasetUrl = "https://datahub.io/starsinmypockets/montreal-kpis" | |
const dataset = await Dataset.load(datasetUrl) | |
const resources = await datahub.get(dataset) | |
console.log(resources) | |
} | |
console.log('Hello world') | |
getDataset() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This does not throw any errors that I can tell -- returns data