From 2161534babde6e4a2b31b0a3f5406cb4ed64f5ff Mon Sep 17 00:00:00 2001 From: yjunechoe Date: Mon, 30 Sep 2024 16:06:52 -0400 Subject: [PATCH 1/2] cleanup mangled docs --- R/oa2df.R | 5 ----- 1 file changed, 5 deletions(-) diff --git a/R/oa2df.R b/R/oa2df.R index 41d0968..d84dbb0 100644 --- a/R/oa2df.R +++ b/R/oa2df.R @@ -911,11 +911,6 @@ topics2df <- function(data, verbose = TRUE, #' Flatten snowball result #' -#' | id|title |...|cited_by_count| referenced_works |cited_by |...| -#' | 100|foo |...| 1| 98, 99 |101 |...| -#' | 200|bar |...| 2| 198, 199 |201, 202 |...| -#' | 300|wug |...| 2| 296, 297, 298, 299 |301, 302 |...| -#' #' @param data List result from `oa_snowball`. #' @param verbose Logical. If TRUE, print information on wrangling process. #' From 63ce189bb654da2e4a191ca424878d279e35998f Mon Sep 17 00:00:00 2001 From: yjunechoe Date: Mon, 30 Sep 2024 16:09:50 -0400 Subject: [PATCH 2/2] align with other oa2df() methods in returning tibble --- R/oa2df.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/oa2df.R b/R/oa2df.R index d84dbb0..80b5f7d 100644 --- a/R/oa2df.R +++ b/R/oa2df.R @@ -984,5 +984,5 @@ snowball2df <- function(data, verbose = FALSE) { nodes_augmented$connection_count <- nodes_augmented$backward_count + nodes_augmented$forward_count - nodes_augmented + tibble::as_tibble(nodes_augmented) }