Description Usage Arguments Value Note Author(s) See Also Examples
View source: R/get_book_notes.R
获取豆瓣图书的读书笔记.
1 | get_book_notes(bookid,results=100,fresh=10,count=10,verbose=TRUE,...)
|
bookid |
豆瓣书籍的id号,一串数字,如2567698 |
results |
获取评论的数量,默认100 |
fresh |
页面异常时最大刷新次数,默认10 |
count |
每页note_uri数量,默认10,最大10 |
verbose |
若 |
一个data.frame,各列为:
note_uri |
笔记主页URL |
title |
笔记标题 |
published |
笔记发表时间 |
author |
作者昵称 |
author_uri |
作者豆瓣URI |
note |
笔记详细内容 |
rating |
作者对书籍的评分 |
readers |
被阅读的次数 |
collectors |
被收藏的次数 |
若results不是count的倍数,则获取到的数量是ceiling(results/count)*count
.
1 2 | ## http://book.douban.com/subject/1291204/annotation
## Not run: out<-get_book_notes(bookid='1291204',results=50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.