{"id":29029664,"url":"https://github.com/predixus/orca-ztbus-prep","last_synced_at":"2025-06-26T08:36:15.562Z","repository":{"id":299600242,"uuid":"1003547994","full_name":"Predixus/Orca-Ztbus-Prep","owner":"Predixus","description":"Prep of the ZTbus dataset ready for the Orca Demo","archived":false,"fork":false,"pushed_at":"2025-06-17T10:08:39.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-17T11:25:02.879Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Predixus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-17T10:06:46.000Z","updated_at":"2025-06-17T10:08:43.000Z","dependencies_parsed_at":"2025-06-17T11:25:16.488Z","dependency_job_id":"be2f3971-cb32-4741-9ddb-735d19459a4d","html_url":"https://github.com/Predixus/Orca-Ztbus-Prep","commit_stats":null,"previous_names":["predixus/orca-ztbus-prep"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Predixus/Orca-Ztbus-Prep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Predixus%2FOrca-Ztbus-Prep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Predixus%2FOrca-Ztbus-Prep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Predixus%2FOrca-Ztbus-Prep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Predixus%2FOrca-Ztbus-Prep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Predixus","download_url":"https://codeload.github.com/Predixus/Orca-Ztbus-Prep/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Predixus%2FOrca-Ztbus-Prep/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262030835,"owners_count":23247732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-26T08:36:06.150Z","updated_at":"2025-06-26T08:36:15.552Z","avatar_url":"https://github.com/Predixus.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Orca ZTBus Data Prep\n\nThis repository contains a utility executable to port the ZTBus dataset into a database.\n\nCurrent supported databases are:\n\n- PostgreSQL\n\n## How to Use this Tool\n\nThis tool is focused on porting the ZTBus dataset to a database. Follow these instructions to do this:\n\n### 1. Download the ZTBus dataset\n\nThe ZTBus dataset can be found here:\nhttps://www.research-collection.ethz.ch/handle/20.500.11850/626723\n\nDownload the data and export the raw .csv files to a directory (including metaData.csv). E.g. `data/raw/`.\n\n### 2. Build the Utility\n\nThe utility is written in go. Build it with the following command:\n\n```go\ngo build -ldflags \"-s -w\"\n```\n\n### 3. Start a Database Instance\n\nStart a database Instance. There is a `docker-compose.yml` file at the root of this repository that\nwill start a postgresql instance locally:\n\n```bash\ndocker compose up -d\n```\n\n### 4. Start the Data Migration\n\nRun the CLI tool to execute the migration:\n\n```bash\n./orca-ztbus-prep --connStr \"postgresql://ztbus:ztbus@localhost:5437/ztbus?sslmode=disable\" --platfo\nrm postgresql --migrate --dataDir \"./data/raw/\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpredixus%2Forca-ztbus-prep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpredixus%2Forca-ztbus-prep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpredixus%2Forca-ztbus-prep/lists"}