How to define search queries in rtweet fullarchive and 30day search

你离开我真会死。 提交于 2021-02-11 15:38:11

问题


It's not in the Rtweet-documentation how to do this properly with the additional operators available for search_fullarchive and search_30days. It just says that the string should follow directly after the operator: , for example: place:California. And that OR can be used to search for multiple phrases.

My attempts:

queryohio <- '(place:OH OR place:Ohio OR place:Columbus)(corona OR covid19 OR virus)'
queryohio2 <- 'corona OR covid19 OR virus place:Ohio OR place:Columbus OR place:OH'
querycalifornia <- 'place:CA(corona OR covid19 OR virus) OR place:California(corona OR covid19 OR virus) OR place:"Los Angeles"(corona OR covid19 OR virus)'

They all kinda work to varying degrees but I'd be happy to know if there is a correct way to do it.

来源:https://stackoverflow.com/questions/61483036/how-to-define-search-queries-in-rtweet-fullarchive-and-30day-search

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!