Skip to content

Commit

Permalink
update structure
Browse files Browse the repository at this point in the history
  • Loading branch information
edouardbruelhart committed Jun 14, 2024
1 parent 2503330 commit d2e32ce
Show file tree
Hide file tree
Showing 44 changed files with 174 additions and 167 deletions.
7 changes: 7 additions & 0 deletions vault/master-work-23-23.Objectives.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: q6wm12h0op74znjvo2gtwoj
title: Objectives
desc: ''
updated: 1718357814753
created: 1718357814753
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Services.Directus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: ieyeybee3t9qu8mfy5lkpth
title: Directus
desc: ''
updated: 1718357846913
created: 1718357846913
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Services.PostgreSQL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: cyv7yuh42dmqjbitgmqdlx7
title: PostgreSQL
desc: ''
updated: 1718357832848
created: 1718357832848
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Aliquots.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: q58kwmxh1u46kil8gr1vdwp
title: Aliquots
desc: ''
updated: 1718357928085
created: 1718357928085
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Batch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: kh2f6xm05wppq0zv09mixle
title: Batch
desc: ''
updated: 1718357918761
created: 1718357918761
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Emi_codes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: ploib7o182r8bxrq6lslcdb
title: Emi_codes
desc: ''
updated: 1718357856212
created: 1718357856212
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Extraction_methods.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: wuswh5qyq57slw1lu25u0bu
title: Extraction_methods
desc: ''
updated: 1718357922212
created: 1718357922212
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Field_samples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: 5a4axfecdxrxrygafqxb3f4
title: Field_samples
desc: ''
updated: 1718357915401
created: 1718357915401
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Inat_data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: 3nkwwom9ozjp8t7lr8bkbto
title: Inat_data
desc: ''
updated: 1718357895841
created: 1718357895841
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: f7t8dhqqnrtoirw7b2cf8sc
title: Inaturalist_Commented_Observations
desc: ''
updated: 1718357911547
created: 1718357911547
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Injection_Methods.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: ffutpyuvg3wd6z9cvgrx0jl
title: Injection_Methods
desc: ''
updated: 1718357931228
created: 1718357931228
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Lab_extracts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: qhkperw4qbwptd0yn958bod
title: Lab_extracts
desc: ''
updated: 1718357925201
created: 1718357925201
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Labels.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: 3ojhoeczudbmo6uaxz56is9
title: Labels
desc: ''
updated: 1718357872632
created: 1718357872632
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Mass_spectrometers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: 9wwn85rgfpkn1hz4pu6geal
title: Mass_spectrometers
desc: ''
updated: 1718357934284
created: 1718357934284
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: udzpt2df0626di4loo6xc2b
title: Mass_spectrometry_analysis
desc: ''
updated: 1718357938453
created: 1718357938453
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Mobile_containers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: 909a4vp1kea3o5mebeg258c
title: Mobile_containers
desc: ''
updated: 1718357875950
created: 1718357875950
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.QField_data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: h6tefmuwe0ucv8u5pwop6qm
title: QField_data
desc: ''
updated: 1718357882291
created: 1718357882291
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.QField_data_obs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: 40ozssnrxio5yb4sz9fpug7
title: QField_data_obs
desc: ''
updated: 1718357890400
created: 1718357890400
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.SI_units.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: r69cj8a351i23ftsna08evq
title: SI_units
desc: ''
updated: 1718357941961
created: 1718357941961
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Static_containers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: 7qceogmyqyt0kvw064c09ww
title: Static_containers
desc: ''
updated: 1718357879273
created: 1718357879273
---
7 changes: 7 additions & 0 deletions vault/master-work-23-24.Database.Tables.Universities.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: 68pzj6aqpf6do48hsu3u8z3
title: Universities
desc: ''
updated: 1718357868460
created: 1718357868460
---
40 changes: 20 additions & 20 deletions vault/master-work-23-24.Database.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@
id: utxt2dpc9ytwb941oz4nfg8
title: Database
desc: ''
updated: 1718357244182
updated: 1718357650779
created: 1718349400476
---

## [[master-work-23-24.Directus]]

The database we use is an integration of [[master-work-23-24.Database.services.PostgreSQL]], a robust relational database system, with [[master-work-23-24.Database.services.Directus]], an open-source data platform. The combined solution offers a powerful, flexible, and user-friendly environment for managing structured data. This setup enables efficient data storage, retrieval, and management with a modern web-based interface, suitable for diverse applications in scientific research and beyond."
The database we use is an integration of [[master-work-23-24.Database.Services.PostgreSQL]], a robust relational database system, with [[master-work-23-24.Database.Services.Directus]], an open-source data platform. The combined solution offers a powerful, flexible, and user-friendly environment for managing structured data. This setup enables efficient data storage, retrieval, and management with a modern web-based interface, suitable for diverse applications in scientific research and beyond."

This database is the core part that stores the data from the beginning to the end. This then permits to retrieve easily and automatically all necessary metadata coming from the different services we use.

## Data structure

The data structure works as follow:
- [[master-work-23-24.Database.tables.Emi_codes]]: A table that stores all EMI projects informations. It permits to organize all these projects in the database and different services.
- [[master-work-23-24.Database.tables.Universities]]:
- [[master-work-23-24.Database.tables.Labels]]: A table that stores all the sample labels we generate using the [[master-work-23-24.Scripts.Python.label-creator]] software. This permits to only obtain unique labels to avoid duplicate samples for each project.
- [[master-work-23-24.Database.tables.Mobile_containers]]:
- [[master-work-23-24.Database.tables.Static_containers]]:
- [[master-work-23-24.Database.tables.QField_data]]: A table that stores the collection metadata. This also permit to check that samples labels used during the collection are effectively unique and present in the [[master-work-23-24.Database.tables.Labels]] table.
- [[master-work-23-24.Database.tables.QField_data_obs]]: A table that store the observations metadata from specimens we cuouldn't collect during collection campains.
- [[master-work-23-24.Database.tables.Inat_data]]: A table that stores the [[master-work-23-24.iNaturalist]] metadata. These data are fetched from [[master-work-23-24.iNaturalist]], in order to have a community taxon resolution or curation, retrieved by the [[master-work-23-24.Scripts.Python.inat-fetcher]] script.
- [[master-work-23-24.Database.tables.Inaturalist_Commented_Observations]]:
- [[master-work-23-24.Database.tables.Field_samples]]: A table that stores the field samples metadata. It makes the link between collection and iNaturalist metadata and the laboratory metadata.
- [[master-work-23-24.Database.tables.Batch]]:
- [[master-work-23-24.Database.tables.Extraction_methods]]:
- [[master-work-23-24.Database.tables.Lab_extracts]]:
- [[master-work-23-24.Database.tables.Aliquots]]:
- [[master-work-23-24.Database.tables.Injection_Methods]]:
- [[master-work-23-24.Database.tables.Mass_spectrometers]]:
- [[master-work-23-24.Database.tables.Mass_spectrometry_analysis]]:
- [[master-work-23-24.Database.tables.SI_units]]:
- [[master-work-23-24.Database.Tables.Emi_codes]]: A table that stores all EMI projects informations. It permits to organize all these projects in the database and different services.
- [[master-work-23-24.Database.Tables.Universities]]:
- [[master-work-23-24.Database.Tables.Labels]]: A table that stores all the sample labels we generate using the [[master-work-23-24.Scripts.Python.label-creator]] software. This permits to only obtain unique labels to avoid duplicate samples for each project.
- [[master-work-23-24.Database.Tables.Mobile_containers]]:
- [[master-work-23-24.Database.Tables.Static_containers]]:
- [[master-work-23-24.Database.Tables.QField_data]]: A table that stores the collection metadata. This also permit to check that samples labels used during the collection are effectively unique and present in the [[master-work-23-24.Database.Tables.Labels]] table.
- [[master-work-23-24.Database.Tables.QField_data_obs]]: A table that store the observations metadata from specimens we cuouldn't collect during collection campains.
- [[master-work-23-24.Database.Tables.Inat_data]]: A table that stores the [[master-work-23-24.Services.iNaturalist]] metadata. These data are fetched from [[master-work-23-24.Services.iNaturalist]], in order to have a community taxon resolution or curation, retrieved by the [[master-work-23-24.Scripts.Python.inat-fetcher]] script.
- [[master-work-23-24.Database.Tables.Inaturalist_Commented_Observations]]:
- [[master-work-23-24.Database.Tables.Field_samples]]: A table that stores the field samples metadata. It makes the link between collection and iNaturalist metadata and the laboratory metadata.
- [[master-work-23-24.Database.Tables.Batch]]:
- [[master-work-23-24.Database.Tables.Extraction_methods]]:
- [[master-work-23-24.Database.Tables.Lab_extracts]]:
- [[master-work-23-24.Database.Tables.Aliquots]]:
- [[master-work-23-24.Database.Tables.Injection_Methods]]:
- [[master-work-23-24.Database.Tables.Mass_spectrometers]]:
- [[master-work-23-24.Database.Tables.Mass_spectrometry_analysis]]:
- [[master-work-23-24.Database.Tables.SI_units]]:



7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.services.Directus.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.services.PostgreSQL.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Aliquots.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Batch.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Emi_codes.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Extraction_methods.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Field_samples.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Inat_data.md

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Injection_Methods.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Lab_extracts.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Labels.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Mass_spectrometers.md

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Mobile_containers.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.QField_data.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.QField_data_obs.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.SI_units.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Static_containers.md

This file was deleted.

7 changes: 0 additions & 7 deletions vault/master-work-23-24.Database.tables.Universities.md

This file was deleted.

7 changes: 7 additions & 0 deletions vault/master-work-23-24.Services.iNaturalist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: wa0r6af9zkfrpejj600lga0
title: iNaturalist
desc: ''
updated: 1718357899194
created: 1718357899194
---
Loading

0 comments on commit d2e32ce

Please sign in to comment.