No description
  • Python 91.1%
  • Shell 8.9%
Find a file
2026-04-30 12:57:15 +02:00
data/1_db Added current DB extract for reuse 2026-04-24 21:53:29 +02:00
db_info All cleaned up, central helper script 2026-04-24 21:52:20 +02:00
scripts Adaptions in relation to split categories 2026-04-30 12:57:15 +02:00
.gitignore All cleaned up, central helper script 2026-04-24 21:52:20 +02:00
db_fetch_and_transform.sh All cleaned up, central helper script 2026-04-24 21:52:20 +02:00
README.md All cleaned up, central helper script 2026-04-24 21:52:20 +02:00

Project for converting MIDA MySQL DB data to registry ingest files

Run the db_fetch_and_transform.sh script which extracts, analyzes and converts all necessary data. There is an execution flag --with-db that determines whether the MIDA DB should be accessed or existing extracts should be reused. Be aware that MySQL access parameters are hard coded in the extraction scripts (scripts/1_db_extraction) and might require change and that the python-mysql-connector needs to be available.

# Connects MIDA db using host localhost, port 3307, database 'midadb', user/password 'root'
./db_fetch_and_transform.sh --with-db

# Does not extract data from DB, but uses pre-extracted data committed to this repo under `data/1_db`
./db_fetch_and_transform.sh