{"id":18843917,"url":"https://github.com/riggsd/guano-r","last_synced_at":"2026-01-31T17:30:18.369Z","repository":{"id":76126875,"uuid":"83938684","full_name":"riggsd/guano-r","owner":"riggsd","description":"An R package for reading GUANO bat acoustic metadata","archived":false,"fork":false,"pushed_at":"2018-10-11T12:47:16.000Z","size":15,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-30T13:09:50.534Z","etag":null,"topics":["bat-acoustics","bat-detector","bats","echolocation","guano","metadata"],"latest_commit_sha":null,"homepage":"http://guano-md.org","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/riggsd.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}},"created_at":"2017-03-05T02:20:25.000Z","updated_at":"2024-03-29T13:27:58.000Z","dependencies_parsed_at":"2023-07-03T06:45:11.612Z","dependency_job_id":null,"html_url":"https://github.com/riggsd/guano-r","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/riggsd%2Fguano-r","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riggsd%2Fguano-r/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riggsd%2Fguano-r/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riggsd%2Fguano-r/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riggsd","download_url":"https://codeload.github.com/riggsd/guano-r/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239780582,"owners_count":19695834,"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":["bat-acoustics","bat-detector","bats","echolocation","guano","metadata"],"created_at":"2024-11-08T02:59:14.680Z","updated_at":"2026-01-31T17:30:18.319Z","avatar_url":"https://github.com/riggsd.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GUANO-R\n\nAn R package for reading GUANO bat acoustic metadata.\n\n[GUANO](https://github.com/riggsd/guano-py/blob/master/doc/guano_specification.md) is the \"Grand Unified Acoustic Notation Ontology\", a universal, extensible metadata specifically for use with bat acoustic recordings.\n\n\n## Installation\n\nThis code should still be considered \"example quality\"!\n\n```r\ninstall.packages(\"devtools\")\ndevtools::install_github(\"riggsd/guano-r\", subdir=\"guano\")\n\nlibrary(\"guano\")\n```\n\nNote: If installation from GitHub fails with \"Peer certificate cannot be authenticated\", as on some corporate networks, run the following commands before `install_github`:\n\n```r\nlibrary(httr)\nset_config(config(ssl_verifypeer=0L))\n```\n\n## Example Usage\n\nRead GUANO metadata from a single file as a named list:\n\n```r\n\u003e read.guano(\"/Users/driggs/bat_calls/AZ/Tucson/2017-03-27 Walkabout/2017-03-27 20-48-52.wav\")\n\n$`GUANO|Version`\n[1] \"1.0\"\n\n$Timestamp\n[1] \"2017-03-27 20:48:52\"\n\n$Make\n[1] \"Titley Scientific\"\n\n$Model\n[1] \"Walkabout\"\n\n$`Firmware Version`\n[1] \"0.104\"\n\n$`Species Manual ID`\n[1] \"Myse\"\n\n$`Loc Position`\n[1]   32.34322 -110.96443\n```\n\nRead GUANO metadata from all files in a directory as a single dataframe:\n\n```r\ndf \u003c- read.guano.dir(\"/Users/driggs/bat_calls/\", recursive=TRUE)\nView(df)\n```\n\n\nWork with bat calls in the geospatial domain:\n\n```r\nlibrary(\"sp\")\n\n# remove all bat calls which don't have a GPS point\npurged.df \u003c- df[!is.na(df[[\"Loc.Position.Lat\"]]),]\n\n# extract the coordinates\nxy \u003c- purged.df[,c(\"Loc.Position.Lon\", \"Loc.Position.Lat\")]\n\n# produce a spatial dataframe ready for GIS analysis\nwgs84 \u003c- CRS(\"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs\")\nspdf \u003c- SpatialPointsDataFrame(xy, purged.df, proj4string=wgs84)\nplot(spdf)\n```\n\n## License\n\nYou may use, distribute, and modify this code under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friggsd%2Fguano-r","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friggsd%2Fguano-r","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friggsd%2Fguano-r/lists"}