Skip to content

Commit

Permalink
Metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
felixlohmeier committed Jan 29, 2024
1 parent fbecd03 commit 10c20c6
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
},
"postCreateCommand": "pip3 install datasette datasette-codespaces sqlite-utils",
"postAttachCommand": {
"server": "datasette data.db --create",
"server": "datasette data.db --create --metadata metadata.yaml",
"import": "bash build.sh"
},
"forwardPorts": [8001],
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ Weitere Funktionen wie Volltextsuchen und Fremdschlüssel-Beziehungen sind verf

https://dla-marbach.github.io/datasette/?url=https://github.com/dla-marbach/datasette/blob/main/data.db

Durch die Bereitstellung einer weiteren Datei [metadata.yaml](metadata.yaml) können Beschreibungstexte sowie Lizenz- und Quellenangaben für die Datenbank und die Tabellen ergänzt werden. Beispiel:

https://dla-marbach.github.io/datasette/?url=https://github.com/dla-marbach/datasette/blob/main/data.db?metadata=https://github.com/dla-marbach/datasette/blob/main/metadata.yaml

## Datasette Vollversion mit Installation

Noch mehr Funktionen als Datasette Lite bietet die Vollversion von Datasette. Diese erfordert jedoch eine Installation lokal oder auf einem Server. Damit können die vielen [Plugins](https://datasette.io/plugins) genutzt werden, beispielsweise datasette-vega zur Visualisierung von Geokoordinaten.
Expand Down
38 changes: 38 additions & 0 deletions metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
title: Datasette Demonstrator im Rahmen des Text+ Kooperationsprojekts DLA Data+
description: Die Entwicklung erfolgt exemplarisch am Corpus des Quellenrepertoriums der Exilbibliothek von Alfred Döblin
license: CC-BY 4.0
license_url: https://creativecommons.org/licenses/by/4.0/
about: Text+ Kooperationsprojekt DLA Data+
about_url: https://www.dla-marbach.de/bibliothek/projekte/text-kooperationsprojekt-dla-data/
source: DLA OPAC Datendienst
source_url: https://dataservice.dla-marbach.de
databases:
data:
description: Exilbibliothek von Alfred Döblin
about: Projekt Quellenrepertorium der Exil-Bibliotheken im Deutschen Literaturarchiv Marbach
about_url: https://www.dla-marbach.de/bibliothek/projekte/quellenrepertorium-der-exil-bibliotheken-im-deutschen-literaturarchiv-marbach-modul-1-alfred-doeblin/
tables:
doeblin-bibliographie:
description: Personalbibliographie Alfred Döblin
about: Beschreibung der Personalbibliographie Alfred Döblin
about_url: https://www.dla-marbach.de/bibliothek/bibliografien/alfred-doeblin-personalbibliografie
source: DLA OPAC Datendienst Collection 2
source_url: https://dataservice.dla-marbach.de/v1/collection/2.json
doeblin-bibliothek-titel:
description: Autorenbibliothek Alfred Döblin - Titeldaten
about: Beschreibung der Autorenbibliothek Alfred Döblin
about_url: https://www.dla-marbach.de/bibliothek/spezialsammlungen/bestandsliste/bibliothek-alfred-doeblin
source: DLA OPAC Datendienst Collection 6
source_url: https://dataservice.dla-marbach.de/v1/collection/6.json
doeblin-bibliothek-exemplare:
description: Autorenbibliothek Alfred Döblin - Exemplare und Provenienzmerkmale
about: Beschreibung der Autorenbibliothek Alfred Döblin
about_url: https://www.dla-marbach.de/bibliothek/spezialsammlungen/bestandsliste/bibliothek-alfred-doeblin
source: DLA OPAC Datendienst Collection 8
source_url: https://dataservice.dla-marbach.de/v1/collection/8.json
doeblin-werke:
description: Werknormsätze Alfred Döblin
about: Projekt Werktitel als Wissensraum
about_url: https://www.dla-marbach.de/bibliothek/projekte/werktitel-als-wissensraum/
source: DLA OPAC Datendienst Collection 4
source_url: https://dataservice.dla-marbach.de/v1/collection/4.json

0 comments on commit 10c20c6

Please sign in to comment.