Conversion from .csv to ppx object class in R for ETAS analysis