datahub/examples/dataset-frictionless
dependabot[bot] ee040616a9
Bump decode-uri-component in /examples/dataset-frictionless
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 12:42:13 +00:00
..
2022-01-31 13:11:58 +01:00
2022-02-01 13:27:50 +01:00
2022-01-03 22:24:38 +00:00
2022-02-01 11:33:01 +01:00

This example creates a portal/showcase for a single dataset. The dataset should be a Frictionless dataset (data package) i.e. there should be a datapackage.json.

How to use

npx create-next-app -e https://github.com/datopian/portal.js/tree/main/examples/dataset-frictionless
# choose a name for your portal when prompted e.g. your-portal or go with default my-app

# then run it
cd your-portal
yarn #install packages
yarn dev #start app in dev mode

You should see the demo portal running with the example dataset provided:

Use your own dataset

You can try it out with other Frictionless datasets.

In the directory of your portal do:

export PORTAL_DATASET_PATH=/path/to/my/dataset

Then restart the dev server:

yarn dev

Check the portal page and it should have updated e.g. like: