{"id":27639792,"url":"https://github.com/pgaskin/orec2","last_synced_at":"2025-04-23T22:34:24.832Z","repository":{"id":287856150,"uuid":"964945879","full_name":"pgaskin/orec2","owner":"pgaskin","description":"Scraper and website for viewing and filtering City of Ottawa drop-in recreation schedules.","archived":false,"fork":false,"pushed_at":"2025-04-22T00:47:33.000Z","size":4695,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T01:29:39.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pgaskin.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-04-12T04:43:36.000Z","updated_at":"2025-04-18T05:47:40.000Z","dependencies_parsed_at":"2025-04-14T10:40:18.273Z","dependency_job_id":null,"html_url":"https://github.com/pgaskin/orec2","commit_stats":null,"previous_names":["pgaskin/orec2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Forec2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Forec2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Forec2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaskin%2Forec2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgaskin","download_url":"https://codeload.github.com/pgaskin/orec2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250528204,"owners_count":21445507,"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-04-23T22:34:24.391Z","updated_at":"2025-04-23T22:34:24.804Z","avatar_url":"https://github.com/pgaskin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ottawa Rec Schedules\n\nScraper and website for viewing and filtering City of Ottawa drop-in recreation schedules.\n\nThe cached pages and geocoding data can be found on the [cache](https://github.com/pgaskin/orec2/tree/cache) branch. The parsed data can be found on the [data](https://github.com/pgaskin/orec2/tree/data) branch. The data is updated daily.\n\nYou can run `git log -pw --patience -Iseconds: data...235c6b858d9359494b7aa86401e3221c9bc878bd -- data.textpb` to view a diff of the schedule data over time.\n\nThe website is coming soon.\n\n**Why I made this:**\n\n- The list of facilities on the Ottawa website has addresses, but no map, making it hard to visualize the location with regards to transit.\n- The schedules on the Ottawa website are all on their own pages within collapsible accordions, making it hard to skim multiple schedules quickly.\n- There is no way to filter for all facilities which currently have a specific activity scheduled.\n- There is no way to filter activities by time or day.\n- There are no notifications for schedule changes.\n\n**Features and limitations of scraped data:**\n\n- Only basic facility information, longitude/latitude, and schedule information is scraped.\n- Schedule changes and facility notifications are scraped on a best-effort basis without additional parsing.\n- Scraped fields have minimal processing for maintainability and to avoid lossiness.\n- Optional fields are available which contain best-effort parsing and normalization of scraped fields, including:\n  - Normalized schedule group name.\n  - Normalized schedule activity name.\n  - Activity time range and weekday as an integer.\n- Overlapping schedules (e.g., holiday schedules) are not merged. These schedules are not consistently formatted as they are manually named and created, so I don't attempt to parse schedule time ranges. It is easier to just show everything as originally formatted and leave it to the reader to decide.\n- Any potential parsing problems are included in an array of error messages for each facility.\n- A protobuf schema is used for maintainability, but it may be changed in backwards-incompatible ways if needed.\n\n**Similar things:**\n\n- [ottawapublicskating.ca](https://www.ottawapublicskating.ca/) is only for skating, has been inaccurate at times, has limited detail, and doesn't show schedule changes.\n- [claudielarouche.com](https://claudielarouche.com/) ([skate](https://claudielarouche.com/skating.html), [swim](https://claudielarouche.com/swim.html), [other](https://claudielarouche.com/ottawa.html)) has drop-in times, seems mostly okay, but is hard to skim and doesn't show schedule changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgaskin%2Forec2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgaskin%2Forec2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgaskin%2Forec2/lists"}