Fetch origin-destination data


Keywords
origin-destination, data
License
CNRI-Python-GPL-Compatible
Install
npm install @gridify/oddata@1.3.6

Documentation

gridify-oddata

Javascript module to fetch origin-destination data with gridify required fields.

Installing

If you use NPM, npm install @gridify/oddata. Otherwise, download the latest release. AMD, CommonJS, and vanilla environments are supported.

API Reference

# getAll() <>

Fetches the list of datasets from https://github.com/LyonDataViz/oddata-public repository (using the dataset.json file), and returns it as an array.

Each element of the array contains the parsed JSON metadata of the dataset, with fields name and file.