Learn R Programming

restimizeapi (version 1.0.0)

GetCompanyEstimates: Returns all estimates for a company specified by the ticker.

Description

Returns all estimates for a company specified by the ticker.

Usage

GetCompanyEstimates(ticker, year = NULL, quarter = NULL)

Arguments

ticker
The Estimize ticker -- for example "MSFT".
year
A four-digit year -- for example 1999.
quarter
A numeric value between 1 and 4 inclusive. Note that if the quarter is used the year must also be set as well.

Value

The company estimates as a data frame.

Examples

Run this code
## Not run: 
#  result <- GetCompanyEstimates ("MSFT")
#  result <- GetCompanyEstimates ("MSFT", 2015)
#  result <- GetCompanyEstimates ("MSFT", 2015, 2)
#  ## End(Not run)

Run the code above in your browser using DataLab