esg_scores
FinancialModelingPrep.esg_scores
— Functionesg_scores(fmp, symbol)
Returns a JSON table with the ESG scores for the specified symbol.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.symbol::String
: A stock symbol.
See ESG-Score for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get the esg scores for AAPL
data = esg_scores(fmp, "AAPL")
esg_ratings
FinancialModelingPrep.esg_ratings
— Functionesg_ratings(fmp, symbol)
Returns a JSON table with the ESG ratings for the specified symbol.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.symbol::String
: A stock symbol.
See ESG-Ratings for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get the esg ratings for AAPL
data = esg_ratings(fmp, "AAPL")
esg_score_benchmarks
FinancialModelingPrep.esg_score_benchmarks
— Functionesg_score_benchmarks(fmp, year)
Returns a JSON table with the ESG score benchmarks for the specified symbol.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.year::Integer
: A calendar year.
See ESG-Benchmarking for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get the esg score benchmarks for 2023
data = esg_score_benchmarks(fmp, year = 2023)