Skip to content

Commit 49db6c4

Browse files
committed
Unnest vertex column before applying filters
1 parent 236b8f9 commit 49db6c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/Assemble_report.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ assemble_report <- function(config, metadata) {
1111
write(json_config, file = paste0(paths$dataset, "/config.json"))
1212

1313
df <- utils::read.csv(paths$input_file, stringsAsFactor = FALSE) |>
14+
unnest_vertex_column(config$author_column_name, config$author_delimiter) |>
1415
dplyr::distinct(.data[[config$edge_id]], .data[[config$author_column_name]], .keep_all = TRUE) |>
15-
apply_filters(config$filters) |>
16-
unnest_vertex_column(config$author_column_name, config$author_delimiter)
16+
apply_filters(config$filters)
1717

1818
if (!is.null(config$node_properties_file_path)) {
1919
node_props <- utils::read.csv(config$node_properties_file_path, stringsAsFactor = FALSE) |>

0 commit comments

Comments
 (0)