https://github.com/acdh-oeaw/arche-2-baserow
This Repository is used to create Baserow tables for creating ARCHE Metadata. It creates the following tables:
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.1%) to scientific vocabulary
Keywords
Repository
This Repository is used to create Baserow tables for creating ARCHE Metadata. It creates the following tables:
Basic Info
Statistics
- Stars: 0
- Watchers: 6
- Forks: 5
- Open Issues: 2
- Releases: 0
Topics
Metadata Files
README.md
ARCHE Constants Metadata Creator
This Repository is used to create Baserow tables for creating ARCHE Metadata. It creates the following tables:
- Classes (All available vocabs:ARCHE classes like: Project, TopCollection, Collection, etc.)
- Properties (All available vocabs:ARCHE properties like: hasTitle, hasDescription, etc.)
- Vocabs (All available vocabularies from vocabs.acdh.oeaw.ac.at.)
- Project (A table linked to all other tables for creating ARCHE constants project metadata.)
- Persons (A table for creating ARCHE constants person metadata.)
- Organizations (A table for creating ARCHE constants organization metadata.)
- Places (A table for creating ARCHE constants places metadata.)
Usage (Github Actions)
Setup Baserow (Github Actions)
- Login to Baserow and create a new workspace for a project. In this workspace, create a new database and note the database ID.
- Then create a new API token in Baserow.
- Fork this repository and add the API token to the secrets of the Github repository as
BASEROW_TOKEN. - Add more secrets for the user as
BASEROW_USERand password asBASEROW_PW. - Trigger the workflow manually. This will require the input of the Baserow Database ID you want to use.
Baserow Data Dump and Turtle (ttl) Serialization (Github Actions)
- Requires the same Github secrets as above.
- Trigger the workflow manually. This will require the input of the Baserow Database ID you want to use and the ARCHE project Name = TopCollection name in format
my-project-identifier.
Installation and Usage (Local)
Setup Baserow (Local)
Make sure enviroment variables are set for Baserow (see .secret.example):
BASEROW_USER(Baserow username)BASEROW_PW(Baserow password)BASEROW_TOKEN(Baserow API token)BASEROW_DB_ID(Baserow Database ID)
Then run the following commands:
```bash python -m venv venv # create a virtual environment source venv/bin/activate # activate the virtual environment
pip install -r requirements.txt # install python dependencies
python scripts/arche2json.py # create json files from ARCHE Schema python scripts/vocabs2json.py # create json files from vocabs.acdh.oeaw.ac.at python scripts/arche2baserow.py # upload json files to baserow to create tables ```
Baserow Data Dump and Turtle (ttl) Serialization (Local)
- Requires the same environment variables as above.
- Additional environment variable:
PROJECT_NAME(ARCHE project Name = TopCollection name in formatmy-project-identifier)
Then run the following commands:
```bash python -m venv venv # create a virtual environment source venv/bin/activate # activate the virtual environment
pip install -r requirements.txt # install python dependencies
python scripts/baserowdump.py # fetch data from baserow and denormalized it python scripts/archeconstants.py # create ttl file from denormalized data ```
Output Data Structure
── RDF
└── arche_constants.ttl
Useful Links
Owner
- Name: Austrian Centre for Digital Humanities & Cultural Heritage
- Login: acdh-oeaw
- Kind: organization
- Email: acdh@oeaw.ac.at
- Location: Vienna, Austria
- Website: https://www.oeaw.ac.at/acdh
- Repositories: 476
- Profile: https://github.com/acdh-oeaw
GitHub Events
Total
- Push event: 2
Last Year
- Push event: 2
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 3
- Total pull requests: 1
- Average time to close issues: about 4 hours
- Average time to close pull requests: about 24 hours
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 0.33
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 3
- Pull requests: 1
- Average time to close issues: about 4 hours
- Average time to close pull requests: about 24 hours
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 0.33
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- csae8092 (1)
- linxOD (1)
Pull Request Authors
- csae8092 (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v3 composite
- actions/setup-python v4 composite
- py-actions/flake8 v2 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- acdh-baserow-pyutils >=0.2.0,<3
- black *
- coverage >=6.4.4,<7
- flake8 >=5.0.4,<6
- lxml *
- pytest >=7.1.3,<8
- tqdm *