{"id":338826,"name":"b3gbi","description":"Analyze biodiversity trends and spatial patterns from GBIF data cubes, using flexible indicators like richness, evenness, and more.","url":"https://github.com/b-cubed-eu/b3gbi","last_synced_at":"2026-04-13T07:03:31.139Z","repository":{"id":229204555,"uuid":"693214449","full_name":"b-cubed-eu/b3gbi","owner":"b-cubed-eu","description":"B-Cubed General Biodiversity Indicators","archived":false,"fork":false,"pushed_at":"2026-04-02T14:55:59.000Z","size":95411,"stargazers_count":9,"open_issues_count":9,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-04-03T10:19:55.696Z","etag":null,"topics":["biodiversity-indicators","data-cubes"],"latest_commit_sha":null,"homepage":"https://b-cubed-eu.github.io/b3gbi/","language":"R","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/b-cubed-eu.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-18T15:17:15.000Z","updated_at":"2026-03-27T17:54:27.000Z","dependencies_parsed_at":"2026-03-25T22:01:49.506Z","dependency_job_id":null,"html_url":"https://github.com/b-cubed-eu/b3gbi","commit_stats":null,"previous_names":["shawndove/b3gbi","b-cubed-eu/b3gbi"],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/b-cubed-eu/b3gbi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-cubed-eu%2Fb3gbi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-cubed-eu%2Fb3gbi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-cubed-eu%2Fb3gbi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-cubed-eu%2Fb3gbi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b-cubed-eu","download_url":"https://codeload.github.com/b-cubed-eu/b3gbi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-cubed-eu%2Fb3gbi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31422898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T02:22:46.605Z","status":"ssl_error","status_checked_at":"2026-04-05T02:22:33.263Z","response_time":75,"last_error":"SSL_read: 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"}},"owner":{"login":"b-cubed-eu","name":"B-Cubed","uuid":"114525527","kind":"organization","description":"Biodiversity Building Blocks for Policy","email":null,"website":"https://b-cubed.eu","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/114525527?v=4","repositories_count":1,"last_synced_at":"2023-09-05T10:38:35.596Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/b-cubed-eu","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-09-05T10:38:35.601Z","updated_at":"2023-09-05T10:38:35.601Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b-cubed-eu","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b-cubed-eu/repositories"},"packages":[],"commits":{"id":7630667,"full_name":"b-cubed-eu/b3gbi","default_branch":"master","total_commits":1290,"total_committers":7,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":184.28571428571428,"dds":0.028682170542635665,"past_year_total_commits":543,"past_year_total_committers":1,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":543.0,"past_year_dds":0.0,"last_synced_at":"2026-04-11T06:02:26.128Z","last_synced_commit":"a14a471a0ba2377ab76f67165b477949862aa4c8","created_at":"2024-12-14T13:29:56.452Z","updated_at":"2026-04-11T06:02:01.518Z","committers":[{"name":"Shawn Dove","email":"shawn.dove@hotmail.com","login":"shawndove","count":1253},{"name":"Peter Desmet","email":"peter.desmet@inbo.be","login":"peterdesmet","count":23},{"name":"Ward Langeraert","email":"ward.langeraert@inbo.be","login":"wlangera","count":10},{"name":"yanisica","email":"47538396+yanisica","login":"yanisica","count":1},{"name":"armanpili","email":"armannorciopili@gmail.com","login":"armanpili","count":1},{"name":"Mathias Dillen","email":"37537540+matdillen","login":"matdillen","count":1},{"name":"Damiano Oldoni","email":"damiano.oldoni@inbo.be","login":"damianooldoni","count":1}],"past_year_committers":[{"name":"Shawn Dove","email":"43437482+shawndove","login":"shawndove","count":543}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-cubed-eu%2Fb3gbi/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-13T00:00:06.408Z","repositories_count":6212931,"commits_count":904007533,"contributors_count":34943747,"owners_count":1144000,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"b-cubed-eu/b3gbi","html_url":"https://github.com/b-cubed-eu/b3gbi","last_synced_at":"2026-04-10T14:23:58.839Z","status":null,"issues_count":41,"pull_requests_count":93,"avg_time_to_close_issue":4896346.0,"avg_time_to_close_pull_request":501215.63636363635,"issues_closed_count":26,"pull_requests_closed_count":77,"pull_request_authors_count":4,"issue_authors_count":8,"avg_comments_per_issue":1.6829268292682926,"avg_comments_per_pull_request":0.7956989247311828,"merged_pull_requests_count":76,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":22,"past_year_pull_requests_count":39,"past_year_avg_time_to_close_issue":4640478.0,"past_year_avg_time_to_close_pull_request":264427.0,"past_year_issues_closed_count":13,"past_year_pull_requests_closed_count":30,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":4,"past_year_avg_comments_per_issue":2.6363636363636362,"past_year_avg_comments_per_pull_request":0.9743589743589743,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":30,"created_at":"2024-12-14T13:29:56.567Z","updated_at":"2026-04-10T14:23:58.839Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-cubed-eu%2Fb3gbi","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-cubed-eu%2Fb3gbi/issues","issue_labels_count":{"invalid":3,"documentation":2},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":22,"COLLABORATOR":17,"CONTRIBUTOR":2},"pull_request_author_associations_count":{"COLLABORATOR":86,"CONTRIBUTOR":6,"NONE":1},"issue_authors":{"wlangera":19,"jrhillae":9,"damianooldoni":6,"KatelynFaulkner":2,"andrewrodrigues":2,"EmmaCartuyvels1":1,"mmyahaya":1,"shawndove":1},"pull_request_authors":{"shawndove":81,"peterdesmet":5,"wlangera":5,"damianooldoni":2},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-09T00:00:10.509Z","repositories_count":14199541,"issues_count":34663484,"pull_requests_count":113291345,"authors_count":11232130,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"NONE":13,"COLLABORATOR":9},"past_year_pull_request_author_associations_count":{"COLLABORATOR":39},"past_year_issue_authors":{"jrhillae":9,"wlangera":9,"andrewrodrigues":2,"KatelynFaulkner":2},"past_year_pull_request_authors":{"shawndove":38,"wlangera":1},"maintainers":[{"login":"shawndove","count":82,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/shawndove"},{"login":"wlangera","count":21,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/wlangera"}],"active_maintainers":[{"login":"shawndove","count":38,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/shawndove"},{"login":"wlangera","count":10,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/wlangera"}]},"events":{"total":{"ReleaseEvent":31,"DeleteEvent":43,"PullRequestEvent":55,"ForkEvent":1,"IssuesEvent":34,"WatchEvent":4,"IssueCommentEvent":74,"PushEvent":410,"PullRequestReviewCommentEvent":2,"PullRequestReviewEvent":7,"CreateEvent":64},"last_year":{"ReleaseEvent":18,"DeleteEvent":25,"PullRequestEvent":30,"IssuesEvent":12,"IssueCommentEvent":43,"PushEvent":208,"PullRequestReviewEvent":2,"PullRequestReviewCommentEvent":2,"CreateEvent":37}},"keywords":["biodiversity-indicators","data-cubes"],"dependencies":[{"ecosystem":"cran","filepath":"DESCRIPTION","sha":null,"kind":"manifest","created_at":"2024-03-25T05:32:43.887Z","updated_at":"2024-03-25T05:32:43.887Z","repository_link":"https://github.com/b-cubed-eu/b3gbi/blob/main/DESCRIPTION","dependencies":[{"id":17023302568,"package_name":"dplyr","ecosystem":"cran","requirements":"*","direct":true,"kind":"depends","optional":false},{"id":17023302569,"package_name":"ggplot2","ecosystem":"cran","requirements":"*","direct":true,"kind":"depends","optional":false},{"id":17023302570,"package_name":"R","ecosystem":"cran","requirements":"\u003e= 2.10","direct":true,"kind":"depends","optional":false},{"id":17023302571,"package_name":"furrr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023302626,"package_name":"future","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023302666,"package_name":"iNEXT","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023302741,"package_name":"magrittr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023302850,"package_name":"permute","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023302854,"package_name":"purrr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023302855,"package_name":"readr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023302856,"package_name":"rnaturalearth","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023302873,"package_name":"sf","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023302901,"package_name":"taxize","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023303506,"package_name":"tibble","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023303507,"package_name":"tidyr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023303508,"package_name":"units","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023304292,"package_name":"vegan","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":17023305625,"package_name":"testthat","ecosystem":"cran","requirements":"\u003e= 3.0.0","direct":true,"kind":"suggests","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/R-CMD-check.yaml","sha":null,"kind":"manifest","created_at":"2025-12-12T19:03:00.456Z","updated_at":"2025-12-12T19:03:00.456Z","repository_link":"https://github.com/b-cubed-eu/b3gbi/blob/main/.github/workflows/R-CMD-check.yaml","dependencies":[{"id":25766400474,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":25766400475,"package_name":"r-lib/actions/setup-pandoc","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":25766400476,"package_name":"r-lib/actions/setup-r","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":25766400479,"package_name":"r-lib/actions/setup-r-dependencies","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":25766400481,"package_name":"r-lib/actions/check-r-package","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/pkgdown.yaml","sha":null,"kind":"manifest","created_at":"2025-12-12T19:03:01.387Z","updated_at":"2025-12-12T19:03:01.387Z","repository_link":"https://github.com/b-cubed-eu/b3gbi/blob/main/.github/workflows/pkgdown.yaml","dependencies":[{"id":25766400484,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":25766400485,"package_name":"r-lib/actions/setup-pandoc","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":25766400486,"package_name":"r-lib/actions/setup-r","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":25766400487,"package_name":"r-lib/actions/setup-r-dependencies","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":25766400488,"package_name":"JamesIves/github-pages-deploy-action","ecosystem":"actions","requirements":"v4.5.0","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/test-coverage.yaml","sha":null,"kind":"manifest","created_at":"2025-12-12T19:03:01.552Z","updated_at":"2025-12-12T19:03:01.552Z","repository_link":"https://github.com/b-cubed-eu/b3gbi/blob/main/.github/workflows/test-coverage.yaml","dependencies":[{"id":25766400491,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":25766400492,"package_name":"r-lib/actions/setup-r","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":25766400493,"package_name":"r-lib/actions/setup-r-dependencies","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":25766400494,"package_name":"actions/upload-artifact","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false}]}],"score":4.836281906951478,"created_at":"2025-12-23T00:31:37.969Z","updated_at":"2026-04-13T07:03:31.140Z","avatar_url":"https://github.com/b-cubed-eu.png","language":"R","category":"Biosphere","sub_category":"Biodiversity Data Access and Management","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"---\noutput: github_document\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# b3gbi \u003ca href=\"https://b-cubed-eu.github.io/b3gbi/\"\u003e\u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"120\" alt=\"b3gbi website\"/\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n\n[![repo status](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)\n[![Release](https://img.shields.io/github/release/b-cubed-eu/b3gbi.svg?include_prereleases)](https://github.com/b-cubed-eu/b3gbi/releases)\n[![b3gbi status\nbadge](https://b-cubed-eu.r-universe.dev/b3gbi/badges/version)](https://b-cubed-eu.r-universe.dev/b3gbi)\n[![CRAN\nstatus](https://www.r-pkg.org/badges/version/b3gbi)](https://CRAN.R-project.org/package=b3gbi)\n[![R-CMD-check](https://github.com/b-cubed-eu/b3gbi/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/b-cubed-eu/b3gbi/actions/workflows/R-CMD-check.yaml)\n[![codecov](https://codecov.io/gh/b-cubed-eu/b3gbi/branch/main/graph/badge.svg)](https://app.codecov.io/gh/b-cubed-eu/b3gbi/)\n[![name status\nbadge](https://b-cubed-eu.r-universe.dev/badges/:name?color=6CDDB4)](https://b-cubed-eu.r-universe.dev/)\n\n\u003c!-- badges: end --\u003e\n\nAnalyze biodiversity trends and spatial patterns from GBIF data cubes, using flexible indicators like richness, evenness, and more.\n\n## Overview\n\nBiodiversity researchers need robust and standardized tools to analyze the vast amounts of data available on platforms like GBIF. The b3gbi package leverages the power of data cubes to streamline biodiversity assessments. It helps researchers gain insights into:\n\n* **Changes Over Time:**  How biodiversity metrics shift throughout the years.\n* **Spatial Variations:** Differences in biodiversity across regions, identifying hotspots or areas of concern. \n* **The Impact of Factors:** How different environmental variables or human activities might affect biodiversity patterns. \n\n## Key Features\n\nb3gbi empowers biodiversity analysis with:\n\n* **Standardized Workflows:**  Simplify the process of calculating common biodiversity indicators from GBIF data cubes.\n* **Flexibility:**  Calculate richness, evenness, rarity, taxonomic distinctness, Shannon-Hill diversity, Simpson-Hill diversity, completeness, and more.\n* **Analysis Options:** Explore temporal trends or create spatial maps.\n* **Visualization Tools:** Generate publication-ready plots of your biodiversity metrics.\n\n## Installation\n\nInstall **b3gbi** in R:\n\n``` r\ninstall.packages(\"b3gbi\", repos = c(\"https://b-cubed-eu.r-universe.dev\", \"https://cloud.r-project.org\"))\n```\n## Example: Three-Step Workflow\n\nThis basic example demonstrates the core workflow: preparing the data cube, calculating an indicator, and plotting the result as a spatial map of species richness for mammals in Denmark.\n\n```{r example, warning = FALSE, message = FALSE}\n# Load package\nlibrary(b3gbi)\n\n# 1. Load and prepare the GBIF data cube\ncube_name \u003c- system.file(\"extdata\", \"denmark_mammals_cube_eqdgc.csv\", package = \"b3gbi\")\nmammal_data \u003c- process_cube(cube_name)\n\n# 2. Calculate a map of observed richness\nmap_obs_rich_mammals \u003c- obs_richness_map(mammal_data, level = \"country\", region = \"Denmark\", ne_scale = \"medium\")\n\n# 3. Plot the indicator map\nplot(map_obs_rich_mammals, title = \"Observed Species Richness: Mammals in Denmark\")\n```\n\nFor a more in-depth introduction, see the tutorial: https://b-cubed-eu.github.io/b3gbi/articles/b3gbi.html.\n","funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["gbif","tdwg","jekyll","oscibio"],"project_url":"https://ost.ecosyste.ms/api/v1/projects/338826","html_url":"https://ost.ecosyste.ms/projects/338826"}