Package: gfer 0.1.12

gfer: Green Finance and Environmental Risk

Focuses on data collecting, analyzing and visualization in green finance and environmental risk research and analysis. Main function includes environmental data collecting from official websites such as MEP (Ministry of Environmental Protection of China, <https://www.mee.gov.cn>), water related projects identification and environmental data visualization.

Authors:Yuanchao Xu [aut, cre]

gfer_0.1.12.tar.gz
gfer_0.1.12.zip(r-4.5)gfer_0.1.12.zip(r-4.4)gfer_0.1.12.zip(r-4.3)
gfer_0.1.12.tgz(r-4.4-any)gfer_0.1.12.tgz(r-4.3-any)
gfer_0.1.12.tar.gz(r-4.5-noble)gfer_0.1.12.tar.gz(r-4.4-noble)
gfer_0.1.12.tgz(r-4.4-emscripten)gfer_0.1.12.tgz(r-4.3-emscripten)
gfer.pdf |gfer.html
gfer/json (API)
NEWS

# Install 'gfer' in R:
install.packages('gfer', repos = c('https://yuanchao-xu.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/yuanchao-xu/gfer/issues

Datasets:
  • GDPmix - Table about GDP mix of China provinces in 2015
  • cm - Matrix showing complicated management of China's Water Resource

On CRAN:

corporate-social-responsibilitycsrdata-analysisdata-scrapingenvironmental-riskgreen-financestock-data

23 exports 8 stars 1.53 score 73 dependencies 1 mentions 16 scripts 333 downloads

Last updated 3 years agofrom:0c5b0b356a. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 09 2024
R-4.5-winNOTESep 09 2024
R-4.5-linuxNOTESep 09 2024
R-4.4-winNOTESep 09 2024
R-4.4-macNOTESep 09 2024
R-4.3-winNOTESep 09 2024
R-4.3-macNOTESep 09 2024

Exports:getCSRRatinggetCSRRating_unitgetENNamesgetExchangegetHisMktCapgetIndexgetIndexDatagetNBSgetPPPListgetStockListgetTickersgetWaternomicsData_googgetWaternomicsData_NBSgetWaterQ_MEP_allgetWaterQ_MEP_all_unitis.listedplotScatterPiestatscnDbsstatscnQueryDatastatscnQueryLastNstatscnQueryZbstatscnRegionsstatscnRowNamePrefix

Dependencies:askpasscellrangercirclizeclicolorspacecpp11curldata.tabledigestdplyrfansifarverfsgarglegenericsggforceggfunggplot2ggrepelGlobalOptionsgluegoogledrivegooglesheets4gsheetgtablehttridsisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmgcvmimemunsellnlmeopensslpillarpkgconfigpolyclippurrrR6rappdirsRColorBrewerRcppRcppEigenrematchrematch2rlangrvestscalesscatterpieselectrshapestringistringrsyssystemfontstibbletidyrtidyselecttweenrutf8uuidV8vctrsviridisLitewithrxml2yulab.utils

gfer Easy Start

Rendered fromgfer.Rmdusingknitr::rmarkdownon Sep 09 2024.

Last update: 2021-05-12
Started: 2016-12-26

Readme and manuals

Help Manual

Help pageTopics
private function for check the http statuscheckHttpStatus
Matrix showing complicated management of China's Water Resourcecm
private function to convert the returned jason data to a dataframedataJson2df
Table about GDP mix of China provinces in 2015GDPmix
private function for constructing the query parameter for dfwdsgenDfwds
get CSR rating from a websitegetCSRRating
get CSR rating from a website for a unit pagegetCSRRating_unit
get a company's EN namesgetENNames
get a company's English namegetENNames_unit
get a company's listed locationgetExchange
get a company's historical market cap, data comes from NetEasegetHisMktCap
get a company's historical market cap, data comes from NetEasegetHisMktCap_unit
get a company's market cap, data comes from NetEasegetIndex
get a company's market cap, data comes from NetEasegetIndexConstnt
get index information Currently include CSI 100, SSE 50, CSI 300, SSE Central SOEs 50, HSI, HSCEIgetIndexData
getNBSgetNBS
get PPP list from an official websitegetPPPList
get PPP list from a single pagegetPPPList_unit
Get proxy pool from free proxy providergetProxy
Get information from Shanghai Exchange and Shenzhen Exchange. This will only get stock information in Shanghai Exchange and Shenzhen Exchange Including stocker ticker, stock name and company full name. Data comes from China Merchants BankgetStockList
get ticker by input a company's full name or a list of companies' full namegetTickers
get ticker by input a company's full namegetTickers_unit
getWaternomicsData_googgetWaternomicsData_goog
getWaternomicsData_NBSgetWaternomicsData_NBS
get PPP list from a single pagegetWaterQ_MEP_all
get PPP list from a single pagegetWaterQ_MEP_all_unit
Check if a company is listed in Chinese stock marketis.listed
private function for secmilSec
plotScatterPieplotChord
plotScatterPieplotScatterPie
the available dbsstatscnDbs
query data in the statscn dbstatscnQueryData
fetch the lastN datastatscnQueryLastN
the data categoriesstatscnQueryZb
the regions in dbstatscnRegions
statscnRowNamePrefixstatscnRowNamePrefix