common.get_province: Return provinces list.

Description Usage Arguments Value Author(s) References Examples

View source: R/common.get_province.R

Description

Return provinces list.

Usage

1
common.get_province(roauth, country, capital, language)

Arguments

roauth

A OAuth object created by createOAuth.

country

Country code.

capital

The first letter of the provinces, a-z. Return all of the provinces if the parameter is not provided.Default is not provided.

language

The returned language version. zh-cn: Simplified Chinese; zh-tw: Traditional Chinese; english: English; Default is zh-cn.

Value

A list of provinces.

Author(s)

Jian Li <rweibo@sina.com>

References

http://open.weibo.com/wiki/2/common/get_province

Examples

1
2
3
4
5
## Not run: 

common.get_province(roauth, country = "001")

## End(Not run)


Rweibo documentation built on May 21, 2017, 1:21 a.m.
Search within the Rweibo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.