1
I have 198 spreadsheets all in Excel (xls format) and I need to pass them to the format . csv so you can work with them in R. These sheets are saved inside a folder on my computer all of them in format . xls
After turning them to. csv need to unite all of them in order to obtain a table of similarity, containing in the lines my areas of study and in the columns my plant species, filling with data of abundance of species for each sampled area. In addition to the similarity, I need to calculate parameters that are structuring my plant communities such as frequency, density and dominance.
So, at first, I would like to have a command in R where it can automatically transform my tables . xls into . csv so I can start my journey, since it will take me a long time to save one by one...
Can anyone answer me how I do it using the R?
Thank you!!!
Daniel, thank you for the answer! Half of these sheets are in one folder and the other half in another folder. All the files are in format. xls and I want to turn them into .csv. After turning all my spreadsheets into . csv I want to put them together so that I can work with the data by getting data on the frequency, density, dominance and abundance of the species, allowing me to understand the functioning of the communities I’m working on.
– user54713
Daniel, thank you very much. I managed to do it the way you put it in the second option. I installed readxl and it all worked out. Now I will try to work with this data.
– user54713
Cool! Anything we can do! Try to understand what each line of code does, this will help you to continue the analysis.
– Daniel Falbel