{"id":20850644,"url":"https://github.com/atsyplenkov/loadflux","last_synced_at":"2025-10-12T02:33:10.281Z","repository":{"id":56768617,"uuid":"347662496","full_name":"atsyplenkov/loadflux","owner":"atsyplenkov","description":"An R package for river suspended sediment dynamics study.","archived":false,"fork":false,"pushed_at":"2023-02-23T13:16:15.000Z","size":1697,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-19T17:41:32.742Z","etag":null,"topics":["r","r-package","rstats"],"latest_commit_sha":null,"homepage":"https://atsyplenkov.github.io/loadflux","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/atsyplenkov.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":"2021-03-14T14:40:30.000Z","updated_at":"2025-02-10T01:47:15.000Z","dependencies_parsed_at":"2024-11-18T08:39:31.521Z","dependency_job_id":null,"html_url":"https://github.com/atsyplenkov/loadflux","commit_stats":{"total_commits":51,"total_committers":2,"mean_commits":25.5,"dds":0.4901960784313726,"last_synced_commit":"beb8266878342ec0757d55b0c2b4b809b6c20940"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/atsyplenkov/loadflux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsyplenkov%2Floadflux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsyplenkov%2Floadflux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsyplenkov%2Floadflux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsyplenkov%2Floadflux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atsyplenkov","download_url":"https://codeload.github.com/atsyplenkov/loadflux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsyplenkov%2Floadflux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009962,"owners_count":26084670,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"}},"keywords":["r","r-package","rstats"],"created_at":"2024-11-18T03:10:49.388Z","updated_at":"2025-10-12T02:33:10.267Z","avatar_url":"https://github.com/atsyplenkov.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```{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# loadflux \u003cimg src='man/figures/logo.svg' align=\"right\" height=\"139\" /\u003e\n\n\n\u003c!-- badges: start --\u003e\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/loadflux)](https://cran.r-project.org/package=loadflux)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6992087.svg)](https://doi.org/10.5281/zenodo.6992087)\n[![](http://cranlogs.r-pkg.org/badges/grand-total/loadflux)](https://cran.r-project.org/package=loadflux)\n[![codecov](https://codecov.io/gh/atsyplenkov/loadflux/branch/master/graph/badge.svg?token=DI1DCJV15D)](https://app.codecov.io/gh/atsyplenkov/loadflux/)\n[![R-CMD-check](https://github.com/atsyplenkov/loadflux/workflows/R-CMD-check/badge.svg)](https://github.com/atsyplenkov/loadflux/actions/)\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active/)\n\u003c!-- badges: end --\u003e\n\nThe `loadflux` package is build for the comprehensive analysis of the intra-event suspended sediment dynamics.\n\n## Installation\n\n\u003c!-- CRAN\nYou can install the released version of loadflux from [CRAN](https://CRAN.R-project.org) with:\n\n``` r\ninstall.packages(\"loadflux\")\n```\n --\u003e\n\nYou can install the development version from [GitHub](https://github.com/atsyplenkov/loadflux/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"atsyplenkov/loadflux\")\n```\n## Example\n\nThis is a basic example which shows you how to split your series into hydrological events:\n\n```{r example, message=FALSE, warning=FALSE}\nlibrary(dplyr)\nlibrary(loadflux)\ndata(djan)\n\ndf \u003c- djan %\u003e% \n  hydro_events(q = discharge,\n               datetime = time,\n               window = 21)\n\nhead(df)\n```\n\n### Plots\n\nThen you can  plot the hysteresis loop by running `hysteresis_plot`\n\n```{r hysteresis_plot, message=FALSE, warning=FALSE, out.width = \"50%\", fig.align='center'}\nlibrary(ggplot2)\n\ndf %\u003e% \n  filter(he == 2) %\u003e%\n  hysteresis_plot(q = discharge,\n                  ssc = SS,\n                  base_font_size = 14)\n```\n\n### Hyseteresis indexes\n\nThis package also contains several function for hysteresis index calculation:\n\n**Added**\n\n- `SHI` - Simple Hystersis Index from [*Tsyplenkov et al., 2020*](https://link.springer.com/article/10.1007/s11368-020-02633-z/)\n- `AHI` - Aich's Hysteresis Index from [*Aich et al., 2014*](https://www.sciencedirect.com/science/article/abs/pii/S0341816214001969/)\n\n**Pending**\n\n- `HImid` - Hysteresis Index from [*Lawler et al., 2006*](https://www.sciencedirect.com/science/article/abs/pii/S0048969705005711/)\n\nTo calculate a hysteresis index for your event run as follows:\n\n```{r shi, message=FALSE, warning=FALSE}\n\ndf %\u003e% \n  filter(he == 2) %\u003e% \n  SHI(q = discharge,\n      ssc = SS)\n\n```\n\n\n### ACKNOWLEDGEMENTS\n_This package was developed in accordance to the Development program of the Interdisciplinary Scientific and Educational School of M.V. Lomonosov Moscow State University \"Future Planet and Global Environmental Change\"_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatsyplenkov%2Floadflux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatsyplenkov%2Floadflux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatsyplenkov%2Floadflux/lists"}