Description Usage Arguments Details Note Author(s) References See Also Examples
Given a from
and to
argument, download a
calendar from every time period between those Dates, and
merge them together into a data.frame
.
1 2 3 4 5 | getCalendarByDay(FUN, from, to)
getCalendarByWeek(FUN, from, to)
getCalendarByMonth(FUN, from, to)
|
FUN |
a function to be applied to all time periods
between |
from |
first time period contains this Date |
to |
last time period contains this Date |
These functions take a function that is designed to only
download a calendar over a single timeperiod. They then
apply that function over as many timeperiods as necessary
to create a complete calendar from from
to
to
.
Currently, .getEarningsCalendar
and
.getEconomicCalendarBriefing
are used by
getCalendarByDay
,
.getEconomicCalendarYahoo
is used by
getCalendarByWeek
, and
.getMergersCalendar
is used by
getCalendarsByMonth
Hopefully new ones will be written soon; Splits are in
the works (which will use getCalendarByMonth
as
well as Earnings Surprises (which will use
getCalendarByDay.)
ALPHA CODE: Subject to change!
Garrett See
http://biz.yahoo.com/research/earncal/today.html
getEconomicCalendar
,
getEarningsCalendar
1 2 3 4 5 6 | ## Not run:
getCalendarByDay('.getEconomicCalendar')
getCalendarByWeek('.getEarningsCalendar')
getCalendarByMonth('.getMergersCalendar', '2012-06-01')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.