load_twitter_users_json | R Documentation |
Very efficient and fast way to load user information from JSON files. Wrapper of the function fload
load_twitter_users_json(data_dir, query_error_ok = TRUE)
data_dir |
string that leads to the directory containing JSON files |
query_error_ok |
(Boolean) stop if |
This function is optimized to load user data JSON files that were
collected using the academicTwittr Package (Twitter API V2).
It uses RcppSimdJson to load the JSON files, which is extremely
fast and efficient. It returns the user data as is. The only changes
are that the function renames the id
of tweets to user_id
, and
it also deduplicates the data (by user_id
).
The function expects that the individual JSON files start with user
.
a data.table with all users loaded
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.