Description Usage Arguments Value Note Author(s) See Also Examples
View source: R/get_movie_comments.R
获取豆瓣电影的短评.
1 | get_movie_comments(movieid,results=100,fresh=10,verbose=TRUE,...)
|
movieid |
豆瓣电影的id号 |
results |
获取评论的数量,默认100 |
fresh |
页面异常时最大刷新次数,默认20 |
verbose |
若 |
一个data.frame,各列为:
author |
文章作者昵称 |
author_uri |
作者豆瓣URI |
published |
短评发表时间 |
votes |
短评被赞为有用的次数 |
comment |
短评内容 |
rating |
作者对电影的评分 |
每页获取短评个数为20,如果results不是20的倍数,则获取的实际影评数量是ceiling(results/20)*20
.
qxde01<qxde01@gmail.com>
1 2 | ## http://movie.douban.com/subject/5308265/comments
## Not run: x=get_movie_comments(movieid=5308265,results=100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.