Learn R Programming

rusquant (version 1.1.4)

getEconomic: Get economic data from Investing.com

Description

This function retrieves economic data from the investing.com website for a specified time period

Usage

getEconomic(from = Sys.Date() - 10, to = Sys.Date(), country = "United States")

Value

A data frame containing IPO calendar data for the specified date range.

Arguments

from

A date in the format of YYYY-MM-DD. Defaults to 10 days ago from the current system date.

to

A date in the format of YYYY-MM-DD. Defaults to the current system date.

country

a character string with the country name to filter dividends data for (only for Investing.com)

Author

Vyacheslav Arbuzov

Examples

Run this code
getEconomic(from = Sys.Date(),to = Sys.Date()+35,country='Belgium')

Run the code above in your browser using DataLab