neocache
facilitates robust sampling of the Twitter graph. The basic idea is to save any data into a local cache as you as you get it. neocache
is build on top of rtweet
, Docker, and Neo4J.
Installation
You can install the development version of neocache
with:
install.packages("devtools")
devtools::install_github("alexpghayes/neocache")
library(neocache)
nc_sitrep()
#>
#> ── Caches ──────────────────────────────────────────────────────────────────────
#> - aPPR (active)
#> - get_friends_test (active)
#> - HQWHHAKFKLRTCZLNQOSQ (active)
#> - test_cache (active)
Find the personalized pagerank of a Twitter user and cache the following network in the process
alexpghayes_ppr <- appr(
neocache_graph(),
"alexpghayes",
epsilon = 1e-4
)
alexpghayes_ppr$stats