{"id":22468500,"url":"https://github.com/projectweekend/transit-stop-collector","last_synced_at":"2025-03-27T15:44:35.952Z","repository":{"id":25669032,"uuid":"29104847","full_name":"projectweekend/Transit-Stop-Collector","owner":"projectweekend","description":"Collect GTFS data and maintain a simplified database of transit stops with latitude/longitude.","archived":false,"fork":false,"pushed_at":"2015-08-08T17:38:24.000Z","size":416,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T19:29:44.194Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/projectweekend.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}},"created_at":"2015-01-11T20:26:06.000Z","updated_at":"2016-03-30T21:25:26.000Z","dependencies_parsed_at":"2022-07-10T13:00:23.712Z","dependency_job_id":null,"html_url":"https://github.com/projectweekend/Transit-Stop-Collector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectweekend%2FTransit-Stop-Collector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectweekend%2FTransit-Stop-Collector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectweekend%2FTransit-Stop-Collector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectweekend%2FTransit-Stop-Collector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/projectweekend","download_url":"https://codeload.github.com/projectweekend/Transit-Stop-Collector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245874184,"owners_count":20686720,"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":"2024-12-06T11:17:00.102Z","updated_at":"2025-03-27T15:44:35.928Z","avatar_url":"https://github.com/projectweekend.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Project Structure\n\nI'm pretty sure I'm the only person that will ever use this thing, so apologies in advance about the short documentation.\n\n* `config/`: Directory containing a config files, written in YAML. There must be one main config file named `.main.yml`. This file is not tracked in source control because it contains sensitive information. Each job process must also have a config file. Then name of the job file corresponds to the job name command line argument when executing one of the main scripts.\n* `gtfs/in/`: Directory for CSV files received from a GTFS feed.\n* `gtfs/out/`: Directory for CSV files that have been prepared by the script: `prepare_gtfs_files.py`.\n* `sql/`: Directory for SQL files:\n    * A create tables script for each GTFS feed\n    * A routes query extracting the desired API data from staging\n    * A stops query extracting the desired API data from staging\n* `tpl/`: Directory for template files. For example, SQL query strings that need to be merged with other data before being usable.\n* `utils/`: A Python package for some basic utilities shared by the main scripts.\n* `prepare_gtfs_files.py`: A script that takes GTFS feed files from `gtfs/in/` and prepares them for import into staging tables. Prepared files are output into the `gtfs/out/` directory.\n* `populate_staging_data.py`: A script that imports data from prepared GTFS feed files (`gtfs/out/`) into the staging tables.\n* `populate_api_data.py`: A script that performs expensive queries against staging tables to build final output for the api database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectweekend%2Ftransit-stop-collector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprojectweekend%2Ftransit-stop-collector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectweekend%2Ftransit-stop-collector/lists"}