Skip to content

Commit

Permalink
feat: adapt file paths to point to Boavizta repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
DE MERINGO Olivier committed Mar 29, 2024
1 parent 71b6d43 commit ccf3822
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ We intend to use a [Datami](https://datami-docs.multi.coop/?locale=en) widget to
### Data format

- [x] We store data as a csv file.
- [ ] add specific descriptors as table-format to describe and validate constraints on the fields.
- [ ] add specific descriptors as table-format to describe and validate constraints on the fields.
- [ ] implement frictionless-ci or other automatic validation regarding format as a github action [frictionless-ci | Frictionless Repository](https://repository.frictionlessdata.io/index.html)

> [!NOTE]
Expand All @@ -41,5 +41,5 @@ See [draft dataset](ict-sustainability-tools.csv)

### Example Datami widgets

- A CSV file displayed without any customization [docs/csv-widget-basic.html](examples/csv/csv-widget-basic.html)
- A CSV file displayed with some additional constraints on fields [docs/csv-widget-with-constraints.html](examples/csv/csv-widget-with-constraints.html).
- A CSV file displayed without any customization [examples/csv/csv-widget-basic.html](examples/csv/csv-widget-basic.html)
- A CSV file displayed with some additional constraints on fields [examples/csv/csv-widget-with-constraints.html](examples/csv/csv-widget-with-constraints.html).
2 changes: 1 addition & 1 deletion examples/csv/csv-widget-basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1>A CSV file displayed without any customization of widget</h1>
<!-- DATAMI WIDGET'S HTML BLOCK -->
<datami-file
title="Tools"
gitfile="https://github.com/demeringo/ict-sustainability-tools/blob/dev/examples/csv/ict-sustainability-tools-sample-data.csv"
gitfile="https://github.com/Boavizta/ict-sustainability-tools/blob/main/examples/csv/ict-sustainability-tools-sample-data.csv"
locale="fr"

></datami-file>
Expand Down
6 changes: 3 additions & 3 deletions examples/csv/csv-widget-with-constraints.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ <h1>A CSV file with some constraints and checks on data</h1>
<!-- DATAMI WIDGET'S HTML BLOCK -->
<datami-file
title="Tools"
gitfile="https://github.com/demeringo/ict-sustainability-tools/blob/dev/examples/csv/ict-sustainability-tools-sample-data.csv"
gitfile="https://github.com/Boavizta/ict-sustainability-tools/blob/main/examples/csv/ict-sustainability-tools-sample-data.csv"
options='{
"schema": {
"file": "https://github.com/demeringo/ict-sustainability-tools/blob/dev/examples/csv/ict-sustainability-tools-tabular-schema.json"
"file": "https://github.com/Boavizta/ict-sustainability-tools/blob/main/examples/csv/ict-sustainability-tools-tabular-schema.json"
},
"fields-custom-properties": {
"file": "https://github.com/demeringo/ict-sustainability-tools/blob/dev/examples/csv/ict-sustainability-tools-tabular-fields-custom-properties.json"
"file": "https://github.com/Boavizta/ict-sustainability-tools/blob/main/examples/csv/ict-sustainability-tools-tabular-fields-custom-properties.json"
}
}'
>
Expand Down
2 changes: 1 addition & 1 deletion examples/json/json-widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>A JSON file</h1>
<!-- DATAMI WIDGET'S HTML BLOCK -->
<datami-file
title="Datami for gitlab file - json"
gitfile="https://github.com/demeringo/ict-sustainability-tools/blob/dev/examples/json/tool-sample-1.json"
gitfile="https://github.com/Boavizta/ict-sustainability-tools/blob/main/examples/json/tool-sample-1.json"
locale="en"
></datami-file>

Expand Down

0 comments on commit ccf3822

Please sign in to comment.