Parses request and results files returned from our Event Study API interface.
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.
ResultParser
R6Class
object.
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.
## 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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.