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

Preprocess 2022 #148

Merged
merged 6 commits into from
Dec 11, 2023
Merged

Preprocess 2022 #148

merged 6 commits into from
Dec 11, 2023

Conversation

ethanplunkett
Copy link
Contributor

Add support for preprocessing and modeling with eBird 2022 data

  • ebirdst 2.2022 or 3.2022 can be used for preprocessing.
  • Date handling updated to support new eBird date scheme
    when working with eBird 2022 data.
  • Preprocessing snapshot tests updated for eBird 2022

change $dates format
update get_dates() to consistently return new format
update preprocess_species() to support old and new ebirdst
  as well as old: 2021 and 2022 data versions
new internal functions to make it easier to work with both
  ebirdst versions:  ebirdst_pkg_ver(), ebirdst_example(),
  res_label(), and date_to_week()
new internal data ebirds_weeks is a duplicate of that data
  frame from ebirdst v 2.2021.3 which was subsequetly
  dropped from ebirdst.
lint entire package after changes in lintr
Updated date related tests to check against both
supported date formats.
Updated preprocess_species() tests to work with
either new or olde ebirdst installed.
Replaced bf$dates with get_dates() where possible.
@ethanplunkett ethanplunkett merged commit 97dfdf6 into main Dec 11, 2023
7 checks passed
@ethanplunkett ethanplunkett deleted the preprocess-2022 branch December 13, 2023 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant