{"id":16158601,"url":"https://github.com/jadeynryan/orcas","last_synced_at":"2026-02-10T18:35:42.965Z","repository":{"id":159287038,"uuid":"624651007","full_name":"jadeynryan/orcas","owner":"jadeynryan","description":"Scrape and Visualize Orca Sighting Data","archived":false,"fork":false,"pushed_at":"2024-10-13T20:52:48.000Z","size":27356,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T04:34:36.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jadeynryan.github.io/orcas/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jadeynryan.png","metadata":{"files":{"readme":"README.Rmd","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":"2023-04-07T00:18:54.000Z","updated_at":"2024-11-22T18:24:19.000Z","dependencies_parsed_at":"2023-05-02T08:26:53.748Z","dependency_job_id":"3e0d62f1-968d-4b5d-b940-671b7ccca8b0","html_url":"https://github.com/jadeynryan/orcas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jadeynryan/orcas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadeynryan%2Forcas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadeynryan%2Forcas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadeynryan%2Forcas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadeynryan%2Forcas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jadeynryan","download_url":"https://codeload.github.com/jadeynryan/orcas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadeynryan%2Forcas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29311355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10-10T01:54:35.199Z","updated_at":"2026-02-10T18:35:42.939Z","avatar_url":"https://github.com/jadeynryan.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\nfig-caption: false\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# orcas\n\n\u003c!-- badges: start --\u003e\n\n[![R-CMD-check](https://github.com/jadeynryan/orcas/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jadeynryan/orcas/actions/workflows/R-CMD-check.yaml) [![Codecov test coverage](https://codecov.io/gh/jadeynryan/orcas/branch/master/graph/badge.svg)](https://app.codecov.io/gh/jadeynryan/orcas?branch=master)\n\n\u003c!-- badges: end --\u003e\n\nThe goal of `orcas` is to scrape orca sighting data from the web and visualize it in maps and tables.\n\n[R Ladies Seattle](https://rladiesseattle.org \"R Ladies Seattle URL\") invited me to give a talk for the 'R in the Outdoors' [meetup](https://www.meetup.com/rladies-seattle/ \"meetup URL\"). This was my first in-person talk of my professional career! I used this as an opportunity to learn new skills through a personal project. I've always had an affinity for the Southern Resident Killer Whales in the Salish Sea. The [Center for Whale Research](https://www.whaleresearch.com \"Center for Whale Research URL\") does a lot of really fascinating and important work monitoring their population. They post their survey data on their website; each encounter with the orcas is a separate webpage. Lately, I've been curious and intimidated by web scraping so I decided this would make a great case study and personal project.\n\nI ended up also going to the [Seattle useR Group](https://www.meetup.com/seattle-user/) lightning talks meetup afterwards and spontaneously gave the same presentation there!\n\n`orcas` is still a work in progress, as the `cwr_tidy` dataset is mostly tidy but not completely clean. There are still missing values and typos, as evident from some encounters having a negative duration.\n\n\u003e All photos and data belong to the Center for Whale Research, a 501c3 nonprofit organization registered in Washington State.\n\n## Installation\n\nYou can install the development version of `orcas` from [GitHub](https://github.com/ \"GitHub URL\") with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"jadeynryan/orcas\")\n```\n\n## R in the Outdoors Presentation\n\nWhile there is no recording of the talk, you can view the [slides](https://jadeynryan.github.io/orcas/ \"slides URL\").\n\n[![Title slide: \"Web Scraping \u0026 Mapping {orcas} Encounters\", R in the Outdoors hosted by R Ladies Seattle, presented by Jadey Ryan on April 20, 2023](inst/img/title_slide_J53_breach_2022.png)](https://jadeynryan.github.io/orcas/)\n\n## Examples\n\n**Scrape the two most recent encounters from 2022 and 2023:**\n\n```{r}\norcas::make_encounter_df(years = 2022:2023, max_urls = 2)\n```\n\n**Make an interactive DT of 2023 encounters:**\n\n```{r, eval=FALSE}\norcas::cwr_tidy |\u003e \n  subset(year == 2023) |\u003e \n  orcas::make_dt()\n```\n\n![Screenshot of datatable with two rows and columns: \"Date\", \"Encounter number\", \"Begin time\", \"End time\", \"Duration (min)\", \"Vessel\", \"Observers\", \"Pods or ecotype\", \"Location\", and \"Encounter summary\".](inst/img/dt_screenshot.png)\n\n**Make an interactive leaflet map of last two 2023 encounters:**\n\n```{r, eval=FALSE}\norcas::cwr_tidy |\u003e \n  subset(year == 2023) |\u003e \n  head(2) |\u003e \n  orcas::make_leaflet()\n```\n\n![Screenshot of leaflet map with whale icons representing the start and end of the encounters.](inst/img/leaflet_screenshot.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjadeynryan%2Forcas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjadeynryan%2Forcas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjadeynryan%2Forcas/lists"}