fmpc_economic_results: Economic results

Description Usage Arguments Value Examples

View source: R/calendar.R

Description

Shows the results of the economic events from fmpc_economic_events

Usage

1
2
3
4
5
6
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 

# 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])



## End(Not run)

fmpcloudr documentation built on March 2, 2021, 1:06 a.m.