Description Usage Arguments Value Author(s) Examples
View source: R/get.book.review.R
获取豆瓣图书的评论文章,部分使用了官方API V1.
1 | get.book.review(bookid,results=100,verbose=TRUE)
|
bookid |
豆瓣书籍的id号,一串数字,如20326626 |
results |
获取评论的数量,默认results=100 |
verbose |
若 |
一个data.frame,各列为:
title |
评论文章名称 |
review_id |
评论文章的豆瓣ID |
review |
评论文章详细内容 |
author |
文章作者昵称 |
author_id |
作者豆瓣ID |
published |
文章发表时间 |
updated |
文章最后一次修改时间 |
comments |
文章被评论的数量 |
useless |
文章被赞的次数 |
votes |
文章被推荐次数 |
rating |
作者对书籍的评分 |
qxde01<qxde01@gmail.com>
1 2 | ## http://book.douban.com/subject/2567698/reviews
## Not run: x<-get.book.review(bookid=2567698,results=55)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.