Description Usage Arguments Value Examples
View source: R/get_list_post.R
Get posts from CrowdTangle list. To use the function you need to first create the list in your CrowdTangle dashboard.
1 2 3 4 5 6 7 8 9 10 | get_list_post(
listIds,
startDate,
endDate,
token,
data_path = NULL,
searchTerm = NULL,
language = NULL,
count = 100
)
|
listIds |
string, list id obtained from CrowdTangle dashboard |
startDate |
string, the earliest date at which a post could be posted. Time zone is UTC. Format is “yyyy-mm-ddThh:mm:ss” or “yyyy-mm-dd” (defaults to time 00:00:00). |
endDate |
string, the latest date at which a post could be posted. Time zone is UTC. Format is “yyyy-mm-ddThh:mm:ss” or “yyyy-mm-dd” (defaults to time 00:00:00). |
token |
string, your CrowdTangle API access token |
data_path |
string, path to store data json |
searchTerm |
string, returns only posts that match this search term. |
language |
string, ISO 639-1 locale code |
count |
integer, the number of posts to return, the maximum is 100. |
a dataframe
1 2 3 4 5 6 7 | ## Not run:
get_list_post("1234567",
"2021-06-22T00:00:00",
"2021-06-22T00:00:10",
token)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.