Skip to content

Commit

Permalink
Merge pull request #285 from yjunechoe/docfix-snowball2df
Browse files Browse the repository at this point in the history
Minor fixes for `snowball2df()`
  • Loading branch information
yjunechoe authored Nov 19, 2024
2 parents ee5440b + 63ce189 commit 2419059
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions R/oa2df.R
Original file line number Diff line number Diff line change
Expand Up @@ -870,11 +870,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.
#'
Expand Down Expand Up @@ -948,5 +943,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)
}

0 comments on commit 2419059

Please sign in to comment.