{"id":342629,"name":"QBMS","description":"This R package assists breeders in linking data systems with their analytic pipelines, a crucial step in digitizing breeding processes.","url":"https://github.com/icarda/qbms","last_synced_at":"2026-04-12T13:03:18.884Z","repository":{"id":56934065,"uuid":"286756927","full_name":"icarda/QBMS","owner":"icarda","description":"R package to query Breeding Management System (BMS) database","archived":false,"fork":false,"pushed_at":"2026-03-26T10:47:35.000Z","size":7334,"stargazers_count":10,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-01T08:48:26.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://icarda.github.io/QBMS/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icarda.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"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":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-08-11T13:49:54.000Z","updated_at":"2026-03-26T10:47:39.000Z","dependencies_parsed_at":"2023-12-16T11:47:02.151Z","dependency_job_id":"dc190ab1-97a0-4991-b99a-04ec7385e2d2","html_url":"https://github.com/icarda/QBMS","commit_stats":{"total_commits":225,"total_committers":4,"mean_commits":56.25,"dds":0.03555555555555556,"last_synced_commit":"f91081520cd61fb263f237db043e54563dbc8f8f"},"previous_names":["icarda/qbms"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/icarda/QBMS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icarda","download_url":"https://codeload.github.com/icarda/QBMS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31344417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T08:03:20.796Z","status":"ssl_error","status_checked_at":"2026-04-03T08:00:37.834Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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"}},"owner":{"login":"icarda","name":" International Center for Agricultural Research in the Dry Areas (ICARDA)","uuid":"47319866","kind":"organization","description":"Advancing agricultural science and innovation to improve the livelihoods and resilience of communities in dry areas across the globe.","email":"icarda-comms@cgiar.org","website":"https://www.icarda.org","location":"Lebanon","twitter":"ICARDA","company":null,"icon_url":"https://avatars.githubusercontent.com/u/47319866?v=4","repositories_count":1,"last_synced_at":"2025-06-25T11:21:04.337Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/icarda","funding_links":[],"total_stars":0,"followers":0,"following":0,"created_at":"2025-06-25T11:21:04.364Z","updated_at":"2025-06-25T11:21:04.364Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icarda","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icarda/repositories"},"packages":[{"id":426092,"name":"QBMS","ecosystem":"cran","description":"Query the Breeding Management System(s)","homepage":"https://icarda.github.io/QBMS/","licenses":"GPL (≥ 3)","normalized_licenses":["CNRI-Python-GPL-Compatible"],"repository_url":"https://github.com/icarda/QBMS","keywords_array":[],"namespace":null,"versions_count":8,"first_release_published_at":"2021-10-19T09:20:00.000Z","latest_release_published_at":"2025-07-31T00:00:00.000Z","latest_release_number":"2.0.0","last_synced_at":"2026-04-08T11:00:27.995Z","created_at":"2022-04-06T18:43:47.722Z","updated_at":"2026-04-08T11:05:59.617Z","registry_url":"https://cran.r-project.org/package=QBMS","install_command":null,"documentation_url":"http://cran.r-project.org/web/packages/QBMS/QBMS.pdf","metadata":{},"repo_metadata":{"id":56934065,"uuid":"286756927","full_name":"icarda/QBMS","owner":"icarda","description":"R package to query Breeding Management System (BMS) database","archived":false,"fork":false,"pushed_at":"2026-03-26T10:47:35.000Z","size":7334,"stargazers_count":10,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-01T08:48:26.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://icarda.github.io/QBMS/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icarda.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"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":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-08-11T13:49:54.000Z","updated_at":"2026-03-26T10:47:39.000Z","dependencies_parsed_at":"2023-12-16T11:47:02.151Z","dependency_job_id":"dc190ab1-97a0-4991-b99a-04ec7385e2d2","html_url":"https://github.com/icarda/QBMS","commit_stats":{"total_commits":225,"total_committers":4,"mean_commits":56.25,"dds":0.03555555555555556,"last_synced_commit":"f91081520cd61fb263f237db043e54563dbc8f8f"},"previous_names":["icarda/qbms"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/icarda/QBMS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icarda","download_url":"https://codeload.github.com/icarda/QBMS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31431451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T08:13:15.228Z","status":"ssl_error","status_checked_at":"2026-04-05T08:13:11.839Z","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_record":{"login":"icarda","name":" International Center for Agricultural Research in the Dry Areas (ICARDA)","uuid":"47319866","kind":"organization","description":"Advancing agricultural science and innovation to improve the livelihoods and resilience of communities in dry areas across the globe.","email":"icarda-comms@cgiar.org","website":"https://www.icarda.org","location":"Lebanon","twitter":"ICARDA","company":null,"icon_url":"https://avatars.githubusercontent.com/u/47319866?v=4","repositories_count":1,"last_synced_at":"2025-06-25T11:21:04.337Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/icarda","funding_links":[],"total_stars":0,"followers":0,"following":0,"created_at":"2025-06-25T11:21:04.364Z","updated_at":"2025-06-25T11:21:04.364Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icarda","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icarda/repositories"},"tags":[{"name":"v2.0.0","sha":"503b565fe08597dc012bb95ad2b7ec4bfe8399a1","kind":"commit","published_at":"2025-07-31T13:39:47.000Z","download_url":"https://codeload.github.com/icarda/QBMS/tar.gz/v2.0.0","html_url":"https://github.com/icarda/QBMS/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/icarda/QBMS@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/tags/v2.0.0/manifests"},{"name":"v1.5.0","sha":"92abf475ede892744fad71386751d1e684bdec51","kind":"commit","published_at":"2024-09-18T11:58:11.000Z","download_url":"https://codeload.github.com/icarda/QBMS/tar.gz/v1.5.0","html_url":"https://github.com/icarda/QBMS/releases/tag/v1.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/icarda/QBMS@v1.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/tags/v1.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/tags/v1.5.0/manifests"},{"name":"v1.2.0","sha":"326d6d2e2ef5de7d38f70cc8a1156703e65c7c40","kind":"commit","published_at":"2024-09-17T13:44:00.000Z","download_url":"https://codeload.github.com/icarda/QBMS/tar.gz/v1.2.0","html_url":"https://github.com/icarda/QBMS/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/icarda/QBMS@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/tags/v1.2.0/manifests"},{"name":"v1.0.0","sha":"225157526a4d6935bc9fc07f0d5c90ad0de24b80","kind":"commit","published_at":"2024-03-07T06:10:28.000Z","download_url":"https://codeload.github.com/icarda/QBMS/tar.gz/v1.0.0","html_url":"https://github.com/icarda/QBMS/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/icarda/QBMS@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-04-08T11:05:59.617Z","dependent_packages_count":0,"downloads":445,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":40.32136691602851,"dependent_repos_count":23.78380771103537,"dependent_packages_count":28.644150325350804,"stargazers_count":20.59227125846576,"forks_count":12.184427318628753,"docker_downloads_count":0.5802108246966073,"average":21.017705725700967},"purl":"pkg:cran/QBMS","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cran/QBMS","docker_dependents_count":1,"docker_downloads_count":21613,"usage_url":"https://repos.ecosyste.ms/usage/cran/QBMS","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cran/QBMS/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-09-04T22:45:35.580Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2Fqbms/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/QBMS/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/QBMS/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/QBMS/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/QBMS/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/QBMS/codemeta","maintainers":[{"uuid":"k.el-shamaa@cgiar.org","login":null,"name":"Khaled Al-Shamaa","email":"k.el-shamaa@cgiar.org","url":null,"packages_count":1,"html_url":null,"role":null,"created_at":"2022-11-14T17:15:27.151Z","updated_at":"2022-11-14T17:15:27.151Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/maintainers/k.el-shamaa@cgiar.org/packages"}],"registry":{"name":"cran.r-project.org","url":"https://cran.r-project.org","ecosystem":"cran","default":true,"packages_count":27948,"maintainers_count":15502,"namespaces_count":0,"keywords_count":0,"github":"r-project-org","metadata":{"icon_url":"https://cran.r-project.org/CRANlogo.png","funded_packages_count":546},"icon_url":"https://cran.r-project.org/CRANlogo.png","created_at":"2022-04-06T16:32:25.637Z","updated_at":"2026-04-03T06:40:33.945Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/namespaces"}}],"commits":{"id":10777859,"full_name":"icarda/QBMS","default_branch":"master","total_commits":425,"total_committers":4,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":106.25,"dds":0.02117647058823524,"past_year_total_commits":70,"past_year_total_committers":1,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":70.0,"past_year_dds":0.0,"last_synced_at":"2026-04-10T09:30:35.589Z","last_synced_commit":"e0517768d604d1367ad68298025579366b6bd320","created_at":"2025-08-15T13:17:28.021Z","updated_at":"2026-04-10T09:30:13.079Z","committers":[{"name":"Khaled Al-Shamaa","email":"khaled.alshamaa@gmail.com","login":"khaled-alshamaa","count":416},{"name":"AparicioJohan","email":"44405276+AparicioJohan","login":"AparicioJohan","count":7},{"name":"icarda-git","email":"47320559+icarda-git","login":"icarda-git","count":1},{"name":"Nick","email":"53413353+nickpalladino","login":"nickpalladino","count":1}],"past_year_committers":[{"name":"Khaled Al-Shamaa","email":"khaled.alshamaa@gmail.com","login":"khaled-alshamaa","count":70}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2FQBMS/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-09T00:00:23.197Z","repositories_count":6212650,"commits_count":906930401,"contributors_count":35007931,"owners_count":1143466,"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":"icarda/qbms","html_url":"https://github.com/icarda/qbms","last_synced_at":"2025-09-04T22:45:35.580Z","status":"active","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2025-09-04T17:29:21.536Z","updated_at":"2025-09-04T22:45:35.580Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2Fqbms","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarda%2Fqbms/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{},"pull_request_author_associations_count":{},"issue_authors":{},"pull_request_authors":{},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-09T00:00:10.509Z","repositories_count":14182255,"issues_count":34604429,"pull_requests_count":113181173,"authors_count":11231520,"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":{},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{"PushEvent":14},"last_year":{"PushEvent":14}},"keywords":[],"dependencies":[{"ecosystem":"cran","filepath":"DESCRIPTION","sha":null,"kind":"manifest","created_at":"2022-08-21T00:40:25.728Z","updated_at":"2022-08-21T00:40:25.728Z","repository_link":"https://github.com/icarda/QBMS/blob/master/DESCRIPTION","dependencies":[{"id":2197985974,"package_name":"R","ecosystem":"cran","requirements":"\u003e= 3.1.0","direct":true,"kind":"depends","optional":false},{"id":2197985975,"package_name":"httr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2197985976,"package_name":"jsonlite","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2197985977,"package_name":"tcltk","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2197985978,"package_name":"utils","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2197985979,"package_name":"ncdf4","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2197985980,"package_name":"stats","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2197985981,"package_name":"knitr","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":2197985982,"package_name":"rmarkdown","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false}]}],"score":14.026918313430913,"created_at":"2026-01-25T00:07:09.022Z","updated_at":"2026-04-12T13:03:18.886Z","avatar_url":"https://github.com/icarda.png","language":"R","category":"Consumption","sub_category":"Agriculture and Nutrition","monthly_downloads":445,"total_dependent_repos":1,"total_dependent_packages":0,"readme":"# QBMS \u003cimg src='man/figures/logo.png' align=\"right\" height=\"140\" /\u003e\r\n\u003c!-- badges: start --\u003e\r\n[![CRAN checks](https://badges.cranchecks.info/summary/QBMS.svg)](https://cran.r-project.org/web/checks/check_results_QBMS.html)\r\n[![CRAN version](https://www.r-pkg.org/badges/version/QBMS)](https://cran.r-project.org/package=QBMS)\r\n[![CRAN downloads](https://cranlogs.r-pkg.org/badges/grand-total/QBMS)](https://cran.r-project.org/package=QBMS)\r\n[![CRAN monthly](https://cranlogs.r-pkg.org/badges/QBMS)](https://cran.r-project.org/package=QBMS)\r\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10791626.svg)](https://doi.org/10.5281/zenodo.10791626)\r\n[![CRAN license](https://img.shields.io/github/license/icarda/QBMS)](https://www.gnu.org/licenses/gpl-3.0.en.html)\r\n[![GitHub commits](https://img.shields.io/github/last-commit/icarda/QBMS)](https://github.com/icarda/QBMS/commits/master)\r\n[![GitHub issues](https://img.shields.io/github/issues-raw/icarda/QBMS)](https://github.com/icarda/QBMS/issues)\r\n[![R badge](https://img.shields.io/badge/Build%20with-♥%20and%20R-blue)](https://www.r-project.org/)\r\n\u003c!-- badges: end --\u003e\r\n\r\n## Overview\r\nThis R package assists breeders in linking data systems with their analytic pipelines, a crucial step in digitizing breeding processes. It supports querying and retrieving phenotypic and genotypic data from systems like [EBS](https://ebs.excellenceinbreeding.org/), [BMS](https://bmspro.io/), [BreedBase](https://breedbase.org), [GIGWA](https://github.com/SouthGreenPlatform/Gigwa2), and [Germinate](https://germinateplatform.github.io/get-germinate/) (using [BrAPI](https://brapi.org/) calls). Extra helper functions support environmental data sources, including [TerraClimate](https://www.climatologylab.org/terraclimate.html) and FAO [HWSDv2](https://gaez.fao.org/pages/hwsd) soil database.\r\n\r\n\u003e___Author and Maintainer:__ [Khaled Al-Shamaa](https://github.com/khaled-alshamaa) \u003ck.el-shamaa (at) cgiar (dot) org\u003e_\r\n\u003e\r\n\u003e___Contributor:__ [Mariano Omar CRIMI](https://github.com/mcrimi) \u003cm.crimi (at) cgiar (dot) org\u003e_\r\n\u003e\r\n\u003e___Contributor:__ Zakaria Kehel \u003cz.kehel (at) cgiar (dot) org\u003e_\r\n\u003e\r\n\u003e___Contributor:__ [Johan Aparicio](https://github.com/apariciojohan) \u003cj.aparicio (at) cgiar (dot) org\u003e_\r\n\u003e\r\n\u003e___Copyright Holder:__ [International Center for Agricultural Research in the Dry Areas (ICARDA)](https://icarda.org/)_\r\n\r\n## BrAPI\r\nThe Breeding API ([BrAPI](https://brapi.org/)) project is an effort to enable interoperability among plant breeding databases. BrAPI is a standardized RESTful web service API specification for communicating plant breeding data. This community driven standard is free to be used by anyone interested in plant breeding data management.\r\n\r\n## Supported Data Sources\r\n\r\n* [BMS](https://bmspro.io/): `vignette(\"bms_example\")`.\r\n* [EBS](https://ebs.excellenceinbreeding.org/): `vignette(\"ebs_example\")`.\r\n* [Breedbase](https://breedbase.org/): `vignette(\"breedbase_example\")`.\r\n* [GIGWA](https://github.com/SouthGreenPlatform/Gigwa2): `vignette(\"gigwa_example\")`.\r\n* [Germinate](https://germinateplatform.github.io/get-germinate/):  `vignette(\"germinate_example\")`.\r\n\r\n\u003e ___Extra sub-systems supported:___\r\n\u003e \r\n\u003e * [TerraClimate](https://www.climatologylab.org/terraclimate.html): `vignette(\"terraclimate_example\")`.\r\n\u003e * [HWSD v2.0](https://gaez.fao.org/pages/hwsd): `vignette(\"hwsd2_example\")`.\r\n\r\n## Installation\r\n```r\r\ninstall.packages(\"QBMS\")\r\n```\r\n\r\n\u003e ___Development version___\r\n\u003e\r\n\u003e To get a bug fix or to use a feature from the development version, you can install the development version of QBMS from GitHub.\r\n\r\n```r\r\nif (!require(\"remotes\")) install.packages(\"remotes\")\r\nremotes::install_github(\"icarda/QBMS\")\r\n```\r\n\r\n## Getting Started\r\nOnce you successfully install the QBMS R package, you can load it as a library and set up your remote server configuration (e.g., EBS, BMS, BreedBase, or GIGWA) by simply copying and pasting the login page URL from your web browser.\r\n\r\n```r\r\n# load the QBMS library\r\nlibrary(QBMS)\r\n\r\n# config your BMS connection (by providing your BMS login page URL)\r\nset_qbms_config(\"https://bms.icarda.org/ibpworkbench/controller/auth/login\")\r\n```\r\n\r\nTo start querying and retrieving data from your remote server, you have to login using the same credentials for that server’s GUI/web interface. Please note that you can call the login function(s) with no parameters (interactive mode), where you will get a popup window to insert your username and password (highly advised as one of the best security practices). Although, for automatic analysis pipeline(s) or server services, you can still provide the required username and password as login function parameters (i.e., batch mode).\r\n\r\n```r\r\n# login using your account (interactive mode)\r\nlogin_bms()\r\n\r\n# or pass your username and password as parameters (batch mode)\r\nlogin_bms(\"username\", \"password\")\r\n```\r\n\r\n\u003e _You should be careful when sharing your batch mode code to avoid leaking your credential in public or not authorized spaces._\r\n\r\n## Supporting Multiple Provider Connectors\r\nYou can switch between an ongoing QBMS connection and another server/database connection by using `get_qbms_connection()` and `set_qbms_connection()` functions, as shown in the following example (i.e., if there is a need to switch forth and back during the same session):\r\n\r\n```r\r\n# configure QBMS to connect the phenotypics server\r\nset_qbms_config(\"https://bms.icarda.org/ibpworkbench/controller/auth/login\")\r\n\r\n# login and retrieve data from the phenotypic server\r\n\r\n# save current connection (phenotypic server)\r\ncon1 \u003c- get_qbms_connection()\r\n\r\n# configure QBMS to connect the genotypic server\r\nset_qbms_config(\"https://gigwa.southgreen.fr/gigwa/\", engine = \"gigwa\", no_auth = TRUE)\r\n\r\n# retrieve data from the genotypic server\r\n\r\n# save current connection (before switch)\r\ncon2 \u003c- get_qbms_connection()\r\n\r\n# load the saved phenotypic server connection\r\nset_qbms_connection(con1)\r\n\r\n# continue retrieving data from the phenotypic server\r\n```\r\n\r\n\u003e A detailed example is available in the documentation of the `get_qbms_connection()` and `set_qbms_connection()` functions.\r\n\r\nAlso, you can find a more elegant solution developed by [Francisco Agosto-Perez](https://cals.cornell.edu/people/francisco-agosto-perez) from the Breeding Informatics team within the Innovation Lab For Crop Improvement at Cornell University available here: \r\n[https://github.com/agostof/BrAPI-Provider/](https://github.com/agostof/BrAPI-Provider/)\r\n\r\n## Error and Debugging\r\nIf you get unexpected results or weird behavior and want to dig deep and investigate what went wrong, you can get a copy of the internal QBMS variables by calling the `debug_qbms()` function.\r\n\r\n```r\r\ndump \u003c- debug_qbms()\r\n\r\ndump$config\r\n# $crop\r\n# [1] \"maize\"\r\n# \r\n# $server\r\n# [1] \"https://bms.icarda.org\"\r\n# \r\n# $path\r\n# [1] \"bmsapi\"\r\n# \r\n# $page_size\r\n# [1] 1000\r\n# \r\n# $time_out\r\n# [1] 120\r\n# \r\n# $base_url\r\n# [1] \"https://bms.icarda.org/bmsapi\"\r\n# \r\n# $engine\r\n# [1] \"bms\"\r\n\r\nnames(dump$state)\r\n# [1] \"token\"         \"program_db_id\" \"trial_db_id\"   \"study_db_id\"   \"user\"         \r\n# [6] \"expires_in\"    \"errors\"        ...\r\n\r\ndump$state$token\r\n# [1] \"username:1666907125029:a312bb036cc8d9cc302bee1f0981e5ab\"\r\n```\r\n\r\n## Troubleshooting the Installation\r\n1. If the installation of QBMS generates errors saying that some of the existing packages cannot be removed, you can try to quit any R session, and try to start R in administrator (Windows) or SUDO mode (Linux/Ubuntu) then try installing again.\r\n\r\n2. If you get an error related to packages built under a current version of R, and updating your packages doesn’t help, you can consider overriding the error with the following code. _Note: This might help you install QBMS but may result in other problems. If possible, it’s best to resolve the errors rather than ignoring them._\r\n\r\n```r\r\nSys.setenv(\"R_REMOTES_NO_ERRORS_FROM_WARNINGS\" = TRUE)\r\n\r\nremotes::install_github(\"icarda/QBMS\", upgrade = \"always\")\r\n```\r\n\r\n3. If you get an error related to list or set runs in GIGWA (i.e., `gigwa_list_runs()` and `gigwa_set_run()` functions), you can try to ensure that your R session system locale is using UTF-8 character set encoding. You may consider overwriting your system locale with the following command to resolve this issue:\r\n\r\n```r\r\nSys.setlocale(\"LC_ALL\", \"English_United States.utf8\")\r\n```\r\n\r\n4. If the `get_terraclimate()` function takes a long time to run and the progress bar stays at 0%, it might be due to using an outdated version of the R language. Make sure you're using the latest version. For more details, please refer to this [GitHub issue](https://github.com/mjwoods/RNetCDF/issues/140).\r\n\r\n## References\r\n* Peter Selby et al., BrAPI-an application programming interface for plant breeding applications, _Bioinformatics_, Volume 35, Issue 20, 15 October 2019, Pages 4147–4155, [https://doi.org/10.1093/bioinformatics/btz190](https://doi.org/10.1093/bioinformatics/btz190)\r\n\r\n* The Breeding API (2022, December 15). BrAPI Compatible Software list. Retrieved from [https://brapi.org/compatibleSoftware](https://brapi.org/compatibleSoftware)\r\n\r\n* Excellence in Breeding Toolbox (2023, February 1). Query Breeding Management Systems (QBMS) R package. Retrieved from [https://excellenceinbreeding.org/toolbox/tools/query-breeding-management-systems-qbms-r-package](https://excellenceinbreeding.org/toolbox/tools/query-breeding-management-systems-qbms-r-package)\r\n\r\n* CGSpace (2023, February 23). Query Breeding Management Systems (QBMS) R package. Retrieved from [https://cgspace.cgiar.org/handle/10568/128828](https://cgspace.cgiar.org/handle/10568/128828)\r\n\r\n* MELSpace (2023, February 23). Query Breeding Management Systems (QBMS) R package. Retrieved from [https://repo.mel.cgiar.org/handle/20.500.11766/68139](https://repo.mel.cgiar.org/handle/20.500.11766/68139)\r\n","funding_links":[],"readme_doi_urls":["https://doi.org/10.5281/zenodo.10791626","https://doi.org/10.1093/bioinformatics/btz190"],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://ost.ecosyste.ms/api/v1/projects/342629","html_url":"https://ost.ecosyste.ms/projects/342629"}