小编Moh*_*Aly的帖子

将因子转换为指标变量?

如何将R中的因子转换为多个指标变量,每个级别一个?

r

3
推荐指数
2
解决办法
9457
查看次数

Python Twitter search.tweets with until

我正在使用来自https://github.com/sixohsix/twitter的 Python Twitter搜索API

当我尝试使用"until"参数搜索查询时,搜索不会返回任何内容

from twitter import *

t = Twitter(auth=OAuth(....))

t.search.tweets(q = 'hello', count=3, until='2012-01-01')
{u'search_metadata': {u'count': 3, u'completed_in': 0.007, u'max_id_str': u'9223372036854775807', u'since_id_str': u'0', u'refresh_url': u'?since_id=9223372036854775807&q=hello%20until%3A2012-01-01&include_entities=1', u'since_id': 0, u'query': u'hello+until%3A2012-01-01', u'max_id': 9223372036854775807L}, u'statuses': []}
Run Code Online (Sandbox Code Playgroud)

当我搜索没有"直到"时,它通常会发现推文.当我在twitter.com/search上手动搜索时

https://twitter.com/search?q=hello%20until%3A2012-01-01&src=typd
Run Code Online (Sandbox Code Playgroud)

它通常也会发现推文.

有任何想法吗?

python twitter python-twitter

3
推荐指数
1
解决办法
6945
查看次数

标签 统计

python ×1

python-twitter ×1

r ×1

twitter ×1