Learn R Programming

fmpcloudr (version 0.1.5)

fmpc_security_profile: Pull profile for a company

Description

Provides pricing, market cap, dividend, company description, CEO, number of employees, and more for one or more symbols

Usage

fmpc_security_profile(symbols = c("AAPL"))

Arguments

symbols

one or more symbols from the FMP available list that can be found using fmpc_symbols_available. A valid API token must be set in order to enable functionality. See documentation for setting a token under fmpc_set_token.

Value

data frame of descriptive information

Examples

Run this code
# NOT RUN {

# }
# NOT RUN {
# Demo can pull AAPL
fmpc_set_token()
fmpc_security_profile('AAPL')

# For multiple symbols, set a valid API Token
fmpc_set_token('FMPAPIKEY')
fmpc_security_profile(c('AAPL','MSFT','SPY'))

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab