Function reference
-
add_friend_edges_to_nodes_in_graph()
- users is a list of COMPLETELY NEW users. This function performs the following:
Fetch the friends of each user (call these main users) listed in users (call these blank friends)
MERGE nodes for main users and blank friends (each of these nodes will only contain a id_str field)
Create edges between main users and their respective blank friends
Set the sampled_friends_at property for nodes that were sampled
-
add_lookup_users_info_to_nodes_in_graph()
- Fetches the user's lookup_users data then updates their info in the graph.
-
appr(<neocache_graph>)
- Approximate personalized pageranks
-
db_add_new_users()
- Merges a batch of nodes to the graph with nothing but user_id's
-
db_get_followers()
- Gets the followers for the given user that already exist in the DB.
-
db_get_friends()
- Gets the friends for the given user that already exist in the DB.
-
db_lookup_users()
- Looks up users that are already in the database.
-
docker_bulk_connect_nodes()
- This function creates edges en masse between all the nodes provided in the tbl argument.
-
friend_sampling_status()
- Checks whether friend data has already been sampled for the provided vector of users.
-
nc_browse()
- Interact with a cached graph via the Neo4J browser interface
-
nc_cache_exists()
- Check if a cache with a given name exists
-
nc_create_cache()
- Create a cache object
-
nc_destroy_cache()
- Removes the Docker container and cache save file corresponding to the given cache
-
nc_empty_cache()
- Remove all data from a cache
-
nc_export_all_follows()
- Export all follows from the Neo4J database to a csv
-
nc_export_all_users()
- Export all users from the Neo4J database to a csv
-
nc_get_friends()
- Fetches the friends of each of the users contained in the users vector. Returns the friend relationships via a tibble edge list.
-
nc_lookup_users()
- Get (cached) information about Twitter users
-
nc_sitrep()
- Check caches with saved information
-
neocache_graph()
- Create an abstract representation of the Twitter friendship graph