as_kg_primitive: Build a knowledge graph '<tweetgraph_primitive>'.

Description Usage Arguments Value Author(s) Examples

Description

Build a knowledge graph <tweetgraph_primitive>.

Usage

1
as_kg_primitive(tweet_df, edge_direction = c("info_flow", "interaction"))

Arguments

tweet_df
  • data.frame

edge_direction
  • character(1L)

    • "info_flow" or "interaction"

Value

<tweetgraph_primitive>

Author(s)

Brendan Knapp brendan.g.knapp@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 


hashtag_rstats <- rtweet::search_tweets("#rstats")

as_kg_primitive(hashtag_rstats)



## End(Not run)

knapply/tweetgraph documentation built on Nov. 4, 2019, 3:54 p.m.