{"id":21274625,"url":"https://github.com/lter/heron","last_synced_at":"2026-01-04T20:02:42.513Z","repository":{"id":61769239,"uuid":"543683873","full_name":"lter/HERON","owner":"lter","description":"HERON: HElpers for River ObservatioN","archived":false,"fork":false,"pushed_at":"2024-09-09T16:48:24.000Z","size":414,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-20T09:40:32.741Z","etag":null,"topics":["data-science","lter-science","r","r-package"],"latest_commit_sha":null,"homepage":"https://lter.github.io/HERON/","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/lter.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","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}},"created_at":"2022-09-30T16:11:55.000Z","updated_at":"2024-12-31T18:25:29.000Z","dependencies_parsed_at":"2024-09-09T20:11:30.803Z","dependency_job_id":null,"html_url":"https://github.com/lter/HERON","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lter/HERON","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lter%2FHERON","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lter%2FHERON/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lter%2FHERON/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lter%2FHERON/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lter","download_url":"https://codeload.github.com/lter/HERON/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lter%2FHERON/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264748470,"owners_count":23658041,"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":["data-science","lter-science","r","r-package"],"created_at":"2024-11-21T09:24:24.162Z","updated_at":"2026-01-04T20:02:42.429Z","avatar_url":"https://github.com/lter.png","language":"R","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\u003cimg src=\"man/figures/HERON_hex.png\" align=\"right\" width=\"15%\"/\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(collapse = TRUE, comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\", out.width = \"100%\")\n```\n\n# `HERON` - *HE*lpers for *R*iver *O*bservatio*N*\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/lter/HERON/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/lter/HERON/actions/workflows/R-CMD-check.yaml)\n![GitHub last commit](https://img.shields.io/github/last-commit/lter/HERON)\n![GitHub issues](https://img.shields.io/github/issues-raw/lter/HERON)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/lter/HERON)\n\u003c!-- badges: end --\u003e\n\nThe goal of HERON is to provide a suite of helpful supplementary functions for workflows involving the `EGRET` and `SiZer` R packages.\n\n## Installation\n\nYou can install the development version of HERON from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"lter/HERON\")\n```\n\n## `HERON` Functions\n\nHere are the functions currently included in `HERON`:\n\n### `EGRET` Helper Functions\n\n- **`egret_report`**: Generate a coarse PDF report containing plots of `EGRET` function outputs. Useful for quickly characterizing a suite of patterns in the data though allows little aesthetic customization and is thus best used only for this preliminary \"first look\"\n\n- **`egret_trends`**: Calculates flow normalized concentration and flux using `EGRET::tableChangeSingle` and exports a single data object containing both datasets (includes a column named \"Metric\" to help users split the objects *post hoc*)\n\n### `SiZer` Helper Functions\n\n- **`sizer_slice`**: Extract the `SiZer`-identified slope for a specified bandwidth and returns this information as a dataframe\n\n- **`sizer_aggregate`**: Aggregate `SiZer`-identified slope types across all bandwidths and return this information as a dataframe\n\n- **`sizer_plot`**: Creates base R plot of `SiZer` object with horizontal lines at specified bandwidths\n\n- **`id_slope_changes`**: Migrate slope changes identified by `SiZer::SiZer` information into the supplied data object\n\n- **`id_inflections`**: Migrate inflection points implied by `SiZer::SiZer` information (\"implied\" because it only identifies slope changes to/from flat slopes) into the supplied data object\n\n- **`sizer_ggplot`**: Creates `ggplot2` plot of trendline with inflection points and/or slope changes identified by `SiZer` included as vertical lines. Also allows specification of type of trendline to fit to data\n\n- **`sizer_lm`**: Fits linear regressions on each \"chunk\" of the trendline (i.e., sections of trendline that share a common slope as identified by `id_inflections` or `id_slope_changes`)\n\n### Misc. Other Functions\n\n- **`hydro_day`**: Accepts a calendar date and converts it into an equivalent \"hydro day\". Allows user to specify the first month of the hydrologic year as this may differ by hemisphere\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flter%2Fheron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flter%2Fheron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flter%2Fheron/lists"}