getCSRRating: get CSR rating from a website

Description Usage Arguments Details Value References Examples

View source: R/getCSRRating.R

Description

get CSR rating from a website

Usage

1
getCSRRating(startPage, endPage, year = 2015, proxy = FALSE)

Arguments

startPage

on Which page you want to start, default is 1

endPage

On which page you want to stop scrapping

year

In which year you want the rank

proxy

whether use the proxy, default is FALSE

Details

Get CSR ratings and reports of different companies from http://stockdata.stock.hexun.com/zrbg/

Value

A table of CSR ratings collected from your input page

References

www.hexun.com

Examples

1
2
3
4
5
## Not run: 
# get first two pages of CSR ratings in 2015
getCSRRating(1,3)

## End(Not run)

Yuanchao-Xu/gfer documentation built on Feb. 7, 2022, 7:11 a.m.