Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rollingMean() refinements #413

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

rollingMean() refinements #413

wants to merge 6 commits into from

Conversation

jack-davison
Copy link
Collaborator

This PR tweaks rollingMean(). This one is mainly implemented in C, so there's not much to change.

The strangest part of rollingMean() is that, unlike a lot of functions, it specifically watches for a column called "site" to split the data up. If a user has a column named "site_name" or "station" I guess they were out of luck! To this end, I added type (though to not break anyone's existing scripts the function does still look for "site" if type = "default".

Other standard stuff has been done:

  • Better input validation
  • Roxygen2md
  • Tests
  • Put it in its own R file

@jack-davison jack-davison added enhancement Ideas for new features for openair refactor Non user-facing changes utilities 🛠 Openair data utilities, e.g., timeAverage labels Feb 8, 2025
@jack-davison jack-davison mentioned this pull request Feb 8, 2025
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Ideas for new features for openair refactor Non user-facing changes utilities 🛠 Openair data utilities, e.g., timeAverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant