Learn R Programming

eodhdR2 (version 0.5.2)

get_ipos: Retrieves IPO (Initial Public Offering) data for a given time period

Description

This function will query the IPO end point of eodhd and return all ipos for a user supplied time period.

Usage

get_ipos(
  first_date = Sys.Date() - 3 * 365,
  last_date = Sys.Date(),
  cache_folder = get_default_cache(),
  check_quota = TRUE
)

Value

A dataframe with news events and sentiments

Arguments

first_date

the first date to fetch ipos information. Default is previous three years

last_date

the last date to fetch news. Default is today.

cache_folder

A local directory to store cache files. By default, all functions use a temporary path, meaning that the caching system is session persistent (it will remove all files when you exit your R session). If you want a persistent caching system, simply point argument cache_folder to a local directory in your filesystem. Be aware, however, that a persistent cache will not refresh your data for new api queries.

check_quota

A flag (TRUE/FALSE) for whether to check the current quota status from the api. This option implies a small cost of execution time. If you need speed, just set it to FALSE.

Examples

Run this code
if (FALSE) {
set_token("YOUR_VALID_TOKEN")
df_news <- get_ipos()
}

Run the code above in your browser using DataLab