Practice: Export to a CSV File
Completion requirements
Try this short exercise to practice exporting data in CSV and Excel format. This exercise does not count toward your grade. It is just for practice!
Exercise:
- Use the R dataset
swiss(or any other dataset loaded in your R environment). - Save it in *.csv format by using the base-R function
write.csvand thewrite_csv. - Also, save the data in Excel format using the function
write_excel_csv. - Open the resulting files and compare.
Last modified: Friday, 16 December 2022, 11:00 AM