web.search.content: Search content by word.

Description Usage Arguments Value Author(s) Examples

Description

Search content by word.

Usage

1
2
web.search.content(sword, page = 1, combinewith = NULL, since = NULL,
  sinceID = NULL, sleepmean = 3, sleepsd = 1, roauth = NULL, ...)

Arguments

sword

The word to be searched.

page

The number of the total pages of the search result. The default value is 1. The limited value is 50.

combinewith

A data.frame of the previous search result. The default value is NULL.

since

If not NULL, restricts weibos to those since the given date. Date should be an object of class POSIXlt or string formatted as YYYY-MM-DD

sinceID

If not NULL, returns weibos with IDs greater (ie newer) than the specified ID.

sleepmean

Mean of the sleeping time before each searching.

sleepsd

Standard deviations of the sleeping time before each searching.

roauth

A OAuth object created by createOAuth.

...

Other request parameters for this API.

Value

A data.frame of weibos, each weibo contains:

MID

Weibo ID of string

Author

Nick name of the author

Weibo

Weibo content

Forward

Forward content

Time_Weibo

Time of this weibo

Time_Search

Time of this search

Count_Forward

Count of replys

Count_Reply

Count of forwards

Author(s)

Jian Li <rweibo@sina.com>

Examples

1
2
3
4
5
6
## Not run: 
web.search.content("Rweibo")$Weibo
web.search.content("Rweibo", sinceID = "3508307023192146")$Weibo
web.search.content("Rweibo", since = "2012-10-01")$Weibo

## End(Not run)

Rweibo documentation built on May 2, 2019, 5:23 p.m.