{"id":18687665,"url":"https://github.com/junosuarez/chatt-gtfs-cleanup","last_synced_at":"2025-11-08T02:30:36.988Z","repository":{"id":18705640,"uuid":"21916105","full_name":"junosuarez/chatt-gtfs-cleanup","owner":"junosuarez","description":"scripts for cleaning up carta gtfs data","archived":false,"fork":false,"pushed_at":"2014-07-16T22:32:00.000Z","size":140,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T16:46:15.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/junosuarez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-16T20:31:40.000Z","updated_at":"2014-10-31T14:55:12.000Z","dependencies_parsed_at":"2022-09-25T01:52:03.457Z","dependency_job_id":null,"html_url":"https://github.com/junosuarez/chatt-gtfs-cleanup","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/junosuarez%2Fchatt-gtfs-cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fchatt-gtfs-cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fchatt-gtfs-cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fchatt-gtfs-cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junosuarez","download_url":"https://codeload.github.com/junosuarez/chatt-gtfs-cleanup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239545796,"owners_count":19656849,"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-11-07T10:33:44.855Z","updated_at":"2025-11-08T02:30:36.951Z","avatar_url":"https://github.com/junosuarez.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chatt-gtfs-cleanup\n\nscripts to clean up CARTA's GTFS data feed\n\n\n## Installation\n\nRequired: [Node.js](http://nodejs.org/)\n\nFrom a command line, run:\n```console\nnpm install -g jden/chatt-gtfs-cleanup\n```\n\nYou can now run `chatt-gtfs-cleanup` as a command to execute this script:\n\n\n## Upgrading\n\nTo upgrade to a new version of this script, run:\n```console\n$ npm update -g jden/chatt-gtfs-cleanup\n```\n\n\n## Usage\n```\nchatt-gtfs-cleanup --input \u003cdirectory\u003e --output \u003cdirectory\u003e\n\nExamples:\n  node cli --input c:/gtfs --output c:/gtfs_clean    Runs the clean up scripts on data in c:/gtfs.\n        New files will be written to c:/gtfs_bak\n\n\nOptions:\n  -i, --input   Specify the input directory   [required]\n  -o, --output  Specify the output directory  [required]\n```\n\n## What it does\n\nThis script attempts to automatically correct some validation errors in the GTFS files generated by BusTools.\n\n### Route Short Name Is Contained In Long Name\nRemoves duplicated information in routes.txt\n\n### Invalid values in shape_pt_sequence\nFixes improperly formatted values in shapes.txt\n\n### Trip Headsign Contains Route Short Name\n### Trip Headsign Contains Route Long Name\nRemoves duplicated information in trips.txt\n\n## Troubleshooting\n\n### No output is displayed\nIf there are no corrections made, nothing will print in the script output. Check the files in the destination directory; they should be present \u0026 valid.\n\n### Files missing in output directory\nThe script only copies over files which it knows how to clean up. You can copy over the rest of the files which make up a GTFS feed from the input directory unchanged.\n\n\n## Contact\n\nJason Denizac \u003cjden@codeforamerica.org\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunosuarez%2Fchatt-gtfs-cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunosuarez%2Fchatt-gtfs-cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunosuarez%2Fchatt-gtfs-cleanup/lists"}