Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ABbiodiversity/wildRtrax
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre MacPhail authored and Alexandre MacPhail committed Nov 20, 2024
2 parents 5a1a6bd + 0493723 commit 2cbb9ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
15 changes: 1 addition & 14 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,6 @@ references:
address: Vienna, Austria
year: '2024'
version: '>= 4.1.0'
- type: software
title: curl
abstract: 'curl: A Modern and Flexible Web Client for R'
notes: Imports
url: https://jeroen.r-universe.dev/curl
repository: https://CRAN.R-project.org/package=curl
authors:
- family-names: Ooms
given-names: Jeroen
email: [email protected]
orcid: https://orcid.org/0000-0002-4035-0289
year: '2024'
doi: 10.32614/CRAN.package.curl
- type: software
title: dplyr
abstract: 'dplyr: A Grammar of Data Manipulation'
Expand Down Expand Up @@ -156,7 +143,7 @@ references:
authors:
- family-names: Ooms
given-names: Jeroen
email: [email protected]
email: [email protected]
orcid: https://orcid.org/0000-0002-4035-0289
year: '2024'
doi: 10.32614/CRAN.package.magick
Expand Down
3 changes: 2 additions & 1 deletion R/analyze-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ wt_ind_detect <- function(x, threshold, units = "minutes", datetime_col = image_
# Sometimes VNA sneaks in here
mutate(individual_count = as.numeric(ifelse(individual_count == "VNA", 1, individual_count))) |>
# Amalgamate tags of same species in same image; currently broken into two separate rows
group_by(location, {{datetime_col}}, species_common_name) |>
# Use image_id because sometimes {{datetime_col}} is same for 2 images
group_by(location, image_id, species_common_name) |>
mutate(individual_count = sum(individual_count)) |>
distinct(location, {{datetime_col}}, species_common_name, individual_count, .keep_all = TRUE) |>
ungroup() |>
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
[![Codecov test coverage](https://codecov.io/gh/ABbiodiversity/wildRtrax/branch/main/graph/badge.svg)](https://app.codecov.io/gh/ABbiodiversity/wildRtrax?branch=main)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.13916882.svg)](https://doi.org/10.5281/zenodo.13916882)
[![R-CMD-check](https://github.com/ABbiodiversity/wildRtrax/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ABbiodiversity/wildRtrax/actions/workflows/R-CMD-check.yaml)
>>>>>>> development
<!-- badges: end -->

## Overview
Expand Down

0 comments on commit 2cbb9ef

Please sign in to comment.