Shows the results of the economic events from fmpc_economic_events

fmpc_economic_results(
  event = "adpEmploymentChange",
  country = "US",
  startDate = Sys.Date() - 180,
  endDate = Sys.Date()
)

Arguments

event

an economic event from fmpc_economic_events

country

a country from fmpc_economic_events

startDate

filter start date in yyyy-mm-dd format.

endDate

filter end date in yyyy-mm-dd format.

Value

calendar events

Examples


if (FALSE) {

# Must set a valid API token
fmpc_set_token('FMPAPIKEY')
Events = fmpc_economic_events()
fmpc_economic_results()

# Italy three month interbank rate
fmpc_economic_results(event = Events[100,1], country = Events[100,2])

# Consumer credit - RS
fmpc_economic_results(event = Events[1000,1], country = Events[1000,2])


}