Skip to content

Commit 5920041

Browse files
authored
Merge pull request #15 from OpenDataManchester/tweaks-improvements-2023-01-12
Tweaks improvements 2023 01 12
2 parents adead2c + 254945d commit 5920041

18 files changed

Lines changed: 98 additions & 3 deletions

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- main
6+
permissions:
7+
contents: write
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-python@v4
14+
with:
15+
python-version: 3.x
16+
- run: pip install mkdocs-material
17+
- run: mkdocs gh-deploy --force

docs/1_Start_Here/1_1_Introduction.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Introduction
3+
description: Introduction to the Open3P open data standard for the plastic value chain.
4+
---
5+
16
# Introduction
27

38
## What is the Open3P?

docs/1_Start_Here/1_2_Key_Concepts.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Key Concepts
3+
description: The key concepts to understanding the open data standard for the plastic value chain.
4+
---
5+
16
# Key Concepts
27

38
## Material Catalogue

docs/1_Start_Here/1_3_Data_Flow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Data Flow
3+
description: The intented flow of data through the plastic value chain using Open3P.
4+
---
5+
16
# Data Flow
27

38
Here, we show two examples of how data could flow using the open standard. This tells the story of how water bottles are created with a packaging manufacturer, how that packaging manufacturer sends their packaging to a packer/filler (Figure 1), and then how that packer/filler will put packaging together, filled with a product and then send them to a retailer (Figure 2). In both figures:
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Data Schema
1+
---
2+
title: Data Schema
3+
description: The current data schema of the Open3P open data standard for the plastic value chain.
4+
---
25

3-
<a href="/img/schema-v1.1-2022-12-20.jpg" target="_blank" title="Open schema in new tab">![Schema](../img/schema-v1.1-2022-12-20.jpg)</a>
6+
# Data Schema
47

8+
<figure markdown>
9+
![Schema](../img/schema-v1.1-2022-12-20.jpg)
10+
<figcaption>Data schema</figcaption>
11+
</figure>

docs/2_Data_Formats/2_1_Data_Formats.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Data Formats
3+
description: The data formats that should be used.
4+
---
5+
16
# Data Formats
27

38
When publishing Plastic Packaging Portal data, the csv format should be used. csv files can be created and edited in text editors, as well as spreadsheet packages such as Microsoft Excel, Apple Numbers, or Open Office.

docs/3_Data_Specification/3_1_Material_Catalogue.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Materials Catalogue
3+
---
4+
15
# Materials Catalogue
26

37
Materials should be provided as a separate csv file, in tidy format. This means that each row of the csv file should be one material that is combined in the materials csv to create combinations. An example is provided.

docs/3_Data_Specification/3_2_Material.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
---
2+
title: Materials
3+
---
4+
15
# Materials
26

37
Materials should be provided as a separate csv file, in tidy format. This means that each row of the csv file should be one material for a component. An example is provided.
48

5-
<a href="/img/materials-v1.0-2022-12-20.png" target="_blank"><img src="/img/materials-v1.0-2022-12-20.png"target="_blank" title="Open schema in new tab" width="200px"></img></a>
9+
<figure markdown>
10+
![Schema](../img/materials-v1.0-2022-12-20.png){ width="450" }
11+
<figcaption>Data schema</figcaption>
12+
</figure>
613

714
The specification of this csv file is as follows:
815

docs/3_Data_Specification/3_3_Component_Catalogue.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Component Catalogue
3+
---
4+
15
# Component Catalogue
26

37
## Standard Spreadsheet Format

docs/3_Data_Specification/3_4_Complete_Packaging.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Complete Packaging
3+
---
4+
15
# Complete Packaging
26

37
We can now use the unique components, to create a complete packaging. Each row refers to the complete package.

0 commit comments

Comments
 (0)