{"id":28297083,"url":"https://github.com/mazamascience/mazamarollutils","last_synced_at":"2026-03-03T01:37:48.226Z","repository":{"id":56934602,"uuid":"360955944","full_name":"MazamaScience/MazamaRollUtils","owner":"MazamaScience","description":"Fast rolling functions for R written in C++","archived":false,"fork":false,"pushed_at":"2025-05-07T20:37:07.000Z","size":3047,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-07T02:40:41.534Z","etag":null,"topics":["cpp","r","rcpp"],"latest_commit_sha":null,"homepage":"https://mazamascience.github.io/MazamaRollUtils/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MazamaScience.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2021-04-23T17:15:30.000Z","updated_at":"2025-05-07T20:36:49.000Z","dependencies_parsed_at":"2025-06-07T02:44:57.455Z","dependency_job_id":null,"html_url":"https://github.com/MazamaScience/MazamaRollUtils","commit_stats":{"total_commits":75,"total_committers":3,"mean_commits":25.0,"dds":0.4933333333333333,"last_synced_commit":"434a16495e446ced976c13575c7479c4af9e9644"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/MazamaScience/MazamaRollUtils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MazamaScience%2FMazamaRollUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MazamaScience%2FMazamaRollUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MazamaScience%2FMazamaRollUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MazamaScience%2FMazamaRollUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MazamaScience","download_url":"https://codeload.github.com/MazamaScience/MazamaRollUtils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MazamaScience%2FMazamaRollUtils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262188397,"owners_count":23272341,"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":["cpp","r","rcpp"],"created_at":"2025-05-23T00:15:31.588Z","updated_at":"2026-03-03T01:37:43.983Z","avatar_url":"https://github.com/MazamaScience.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CRAN\\_Status\\_Badge](https://www.r-pkg.org/badges/version/MazamaRollUtils)](https://cran.r-project.org/package=MazamaRollUtils)\n[![Downloads](https://cranlogs.r-pkg.org/badges/MazamaRollUtils)](https://cran.r-project.org/package=MazamaRollUtils)\n\nA dedicated Slack channel has been created for announcements, support and to help \nbuild a community of practice around this open source package. You may request an \ninvitation to join from jonathan.callahan@dri.com.\n\n# MazamaRollUtils\n\n```\nA suite of compiled functions calculating rolling mins, means,\nmaxes and other statistics. This package is designed to meet the needs of\ndata processing systems for environmental time series.\n```\n\n## Background\n\nAnalysis of time series data often involves applying \"rolling\" functions to calculate,\n_e.g._ a \"moving average\". These functions are straightforward to write in any language\nand it makes sense to have C++ versions of common rolling functions available\nto R as they dramatically speed up calculations. Several packages exist that \nprovide some version of this functionality:\n\n* [zoo](https://cran.r-project.org/package=zoo) -- \ncore R package with a specific data model\n* [seismicRoll](https://cran.r-project.org/package=seismicRoll) -- rolling functions focused on seismology\n* [RcppRoll](https://cran.r-project.org/package=RcppRoll) --\nrolling functions for basic statistics\n\nOur goal in creating a new package of C++ rolling functions is to build up a\nsuite of functions useful in environmental time series analysis. We want these\nfunctions to be available in a neutral environment with no underlying data model. \nThe functions are as straightforward to use as is reasonably possible with a \ntarget audience of data analysts at any level of R expertise.\n\n## Installation\n\nInstall from CRAN with:\n\n```\ninstall.packages('MazamaRollUtils')\n```\n\nInstall the latest version from GitHub with:\n\n```\ndevtools::install_github(\"MazamaScience/MazamaRollUtils\")\n```\n\n## Examples\n\n```\nlibrary(MazamaRollUtils)\n\n# Example air quality time series\nt \u003c- example_pm25$datetime\nx \u003c- example_pm25$pm25\n\nplot(t, x)\nlines(t, roll_max(x, width = 12), col = 'salmon')\nlines(t, roll_min(x, width = 12), col = 'light blue')\n```\n------------------------------------------------------------------------\n\nThis project is supported by the [USFS AirFire](https://www.airfire.org) team.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazamascience%2Fmazamarollutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmazamascience%2Fmazamarollutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazamascience%2Fmazamarollutils/lists"}