{"id":19190761,"url":"https://github.com/rtlee9/nyc_taxi","last_synced_at":"2026-06-11T20:31:25.719Z","repository":{"id":93162747,"uuid":"61228773","full_name":"rtlee9/NYC_taxi","owner":"rtlee9","description":"NYC taxi medallion analysis","archived":false,"fork":false,"pushed_at":"2016-09-07T12:27:08.000Z","size":185413,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T04:16:36.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","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/rtlee9.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}},"created_at":"2016-06-15T17:56:14.000Z","updated_at":"2016-07-31T19:34:48.000Z","dependencies_parsed_at":"2023-04-19T11:04:57.893Z","dependency_job_id":null,"html_url":"https://github.com/rtlee9/NYC_taxi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rtlee9/NYC_taxi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtlee9%2FNYC_taxi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtlee9%2FNYC_taxi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtlee9%2FNYC_taxi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtlee9%2FNYC_taxi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtlee9","download_url":"https://codeload.github.com/rtlee9/NYC_taxi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtlee9%2FNYC_taxi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34217312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09T11:35:42.435Z","updated_at":"2026-06-11T20:31:25.701Z","avatar_url":"https://github.com/rtlee9.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NYC_taxi\n\nNYC taxi medallion analysis featured in my blog post _[NYC yellow cab trips: Neighborhood by neighborhood](https://eightportions.com/2016-07-14-NYC-yellow-cabs-neighborhoods/)_.\n\n## Setup\n\nThe following steps assume you have R, PostgreSQL, and PostGIS installed on your machine.\n\n1. Clone repo to local drive\n1. Download [data](Resources.md#data) into the `./1.Data` path\n1. Run scripts in the `2.Code/1.DataPrep` path sequentially; if running from a shell, make sure the working directory is set to the project root, then run:\n  * `$ chmod +x 2.Code/1.DataPrep/0.PrepSchema.sh` followed by `$ ./2.Code/1.DataPrep/0.PrepSchema.sh`\n  * `$ Rscript 2.Code/1.DataPrep/1.UploadData.R`\n  * `$ psql nyc-taxi-data -f 2.Code/1.DataPrep/2.FindRegion.sql`\n1. Run the  scripts in `2.Code/2.AnalysisNeighborhoods`; if running from a shell:\n  * `$ psql nyc-taxi-data -f 2.Code/2.AnalysisNeighborhoods/1.CreateViews.sql`\n  * `chmod +x 2.Code/2.AnalysisNeighborhoods/2.MakeMaps.sh` followed by `./2.Code/2.AnalysisNeighborhoods/2.MakeMaps.sh `\n\nRun time is approximately 3 days on my MacBook Pro.\n\n## Analysis\nAll analysis beyond the setup described [above](#setup) can be found in the R Markdown source code for my post [here](https://gitlab.com/rtlee/rtlee.gitlab.io/blob/master/_source/2016-07-14-NYC-yellow-cabs-neighborhoods.Rmd). This code was knit into markdown for Jekyll with the [knitr](http://yihui.name/knitr/) package.\n\n## Credit\nSpecial thanks to to Todd Schneider for his [instructions](https://github.com/toddwschneider/nyc-taxi-data).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtlee9%2Fnyc_taxi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtlee9%2Fnyc_taxi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtlee9%2Fnyc_taxi/lists"}