goldfish icon indicating copy to clipboard operation
goldfish copied to clipboard

Allow working with tibbles

Open shaunss opened this issue 2 years ago • 0 comments

Feature Request

Currently goldfish assumes that network data is a data frame. But some more R packages (especially from the tidyR family) prefer tibbles for tabular data. goldfish works with tibbles, too, but it throws a warning:

data("Social_Evolution")
calls2 <- as_tibble(calls)
callNetwork <- defineNetwork(nodes = actors, directed = TRUE)
callNetwork <- linkEvents(x = callNetwork, changeEvent = calls2,
                          nodes = actors)

> Warning:
> Unknown or uninitialised column: `replace`. 

shaunss avatar Sep 02 '22 14:09 shaunss