Skip to content

Commit

Permalink
Change time_col arg name to dttm_col
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-MET committed Sep 24, 2024
1 parent cc14414 commit 870900f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
10 changes: 5 additions & 5 deletions R/bindings.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ detect_features_multithreshold <- function(
field_data,
thresholds,
data_col = "gridded_data",
time_col = "valid_dttm",
dttm_col = "valid_dttm",
target = c("max", "min"),
position_threshold = c(
"centre",
Expand Down Expand Up @@ -231,7 +231,7 @@ segment_2d <- function(
field_data,
threshold,
data_col = "gridded_data",
time_col = "valid_dttm",
dttm_col = "valid_dttm",
target = c("max", "min"),
level = NULL,
method = "watershed",
Expand All @@ -242,7 +242,7 @@ segment_2d <- function(
) {

data_col <- rlang::enquo(data_col)
time_col <- rlang::enquo(time_col)
time_col <- rlang::enquo(dttm_col)

data_col_name <- rlang::as_name(data_col)
time_col_name <- rlang::as_name(time_col)
Expand Down Expand Up @@ -375,7 +375,7 @@ link_tracks <- function(
field_data,
dz = NULL,
data_col = "gridded_data",
time_col = "valid_dttm",
dttm_col = "valid_dttm",
d_max = NULL,
subnetwork_size = NULL,
v_max = NULL,
Expand All @@ -398,7 +398,7 @@ link_tracks <- function(
) {

data_col <- rlang::enquo(data_col)
time_col <- rlang::enquo(time_col)
time_col <- rlang::enquo(dttm_col)

data_col_name <- rlang::as_name(data_col)
time_col_name <- rlang::as_name(time_col)
Expand Down
9 changes: 8 additions & 1 deletion man/link_tracks.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion man/segment_2d.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 870900f

Please sign in to comment.