create Rmarkdown file and unzip data to a csv file