{"id":27172082,"url":"https://github.com/pacificcommunity/ofp-sam-ample","last_synced_at":"2025-04-09T09:35:10.953Z","repository":{"id":80837271,"uuid":"569910638","full_name":"PacificCommunity/ofp-sam-ample","owner":"PacificCommunity","description":"Repository for the AMPLE harvest control rule R-Shiny apps","archived":false,"fork":false,"pushed_at":"2023-10-03T00:14:57.000Z","size":2657,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-01T13:17:38.574Z","etag":null,"topics":["ofp","sam","shiny"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/PacificCommunity.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}},"created_at":"2022-11-23T22:39:42.000Z","updated_at":"2024-05-22T00:23:10.000Z","dependencies_parsed_at":"2023-03-12T12:18:02.172Z","dependency_job_id":null,"html_url":"https://github.com/PacificCommunity/ofp-sam-ample","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacificCommunity%2Fofp-sam-ample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacificCommunity%2Fofp-sam-ample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacificCommunity%2Fofp-sam-ample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacificCommunity%2Fofp-sam-ample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PacificCommunity","download_url":"https://codeload.github.com/PacificCommunity/ofp-sam-ample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248013172,"owners_count":21033320,"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":["ofp","sam","shiny"],"created_at":"2025-04-09T09:35:10.224Z","updated_at":"2025-04-09T09:35:10.936Z","avatar_url":"https://github.com/PacificCommunity.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"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# AMPLE\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\nAMPLE provides three Shiny apps to explore how Harvest Control Rules (HCRs) work and how performance indicators can be used to select between them.\n\nThe three apps are:\n\n* *Introduction to HCRs* provides a simple overview to how HCRs work. Users are able to select their own HCR and step through its performance, year by year. Biological variability and estimation error are introduced.\n* *Measuring performance* builds on the previous app and introduces the idea of using performance indicators to evaluate HCR performance.\n* *Comparing performance* allows multiple HCRs to be created and tested, and their performance compared so that the preferred HCR can be selected.\n\n\n## Installation\n\nYou can install the released version of AMPLE from [CRAN](https://CRAN.R-project.org) with:\n\n``` r\ninstall.packages(\"AMPLE\")\n```\n\nAlternatively, you can get the latest version from the GitHub repository [here](https://github.com/PacificCommunity/ofp-sam-ample//) by installing it with the *devtools* package.\n\n``` r\ndevtools::install_github(\"PacificCommunity/ofp-sam-ample\")\n```\n\n\n\n## Usage\n\nLoad the library as usual:\n\n```{r eval=FALSE}\nlibrary(AMPLE)\n```\n\nThe apps can be launched by calling the appropriate function:\n\n```{r eval=FALSE}\nintro_hcr()\n```\n\n```{r eval=FALSE}\nmeasuring_performance()\n```\n\n```{r eval=FALSE}\ncomparing_performance()\n```\n\nThe apps are also hosted online at:\n\n* https://ofp-sam.shinyapps.io/AMPLE-intro-hcr/\n* https://ofp-sam.shinyapps.io/AMPLE-measuring-performance/\n* https://ofp-sam.shinyapps.io/AMPLE-comparing-performance/\n\n## Vignettes\n\nThere are three vignettes that walk users through the app.\nThese can be used in workshops etc to help learning.\n\nYou can access them from R using:\n\n```{r eval=FALSE}\nvignette(\"intro_hcr\", package=\"AMPLE\")\nvignette(\"measuring_performance\", package=\"AMPLE\")\nvignette(\"comparing_performance\", package=\"AMPLE\")\n```\n\nThe vignettes are also accessible through the Shiny apps, under the 'Information' tab.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacificcommunity%2Fofp-sam-ample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacificcommunity%2Fofp-sam-ample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacificcommunity%2Fofp-sam-ample/lists"}