Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ResultParser

Parses request and results files returned from our Event Study API interface.


Description

This result file parser works currently only with csv files. Please read the vignette for further details (coming soon). We will restructure our result reports soon. So, this function may change dramatically. This object can be used for plotting your results.

Usage

ResultParser

Format

R6Class object.

Methods

new(dir)

This method is used to create object of this class with dir as the directory of result files.

parseReport(path = "analysis_report.csv")

This method parses the analysis report file (analysis_report.csv).

parseAR(path = "ar_results.csv")

This method parses the abnormal return file (ar_results.csv). Furthermore, it triggers parseReport and join firm and index name.

parseCAR(path = "car_results.csv")

This method parses the cumulative abnormal return file (ar_results.csv). Furthermore, it triggers parseReport and join firm and index name.

Examples

## Not run: 
# Assume you already performed an Event Study and result files are saved in 
# the actual working directory.
estParser <- ResultParser$new()

# parse request file
estParser$parseRequestFile("01_RequestFile.csv")

# parse result files
estParser$parseReport("Analysis report.csv")
estParser$parseAR("AR results.csv")
estParser$parseAAR("AAR results.csv")

## End(Not run)

EventStudy

Event Study Analysis

v0.36
GPL (>= 2)
Authors
Dr. Simon Mueller
Initial release
2019-03-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.