I have a dataset that is arranged very badly found here, and I would like to put it into long format for R for analyses. Specifically, I would like the data to be arranged in several different columns (family, trap type,date, count,etc.) Could anyone point me towards relevant literature for reshuffling this?
            Asked
            
        
        
            Active
            
        
            Viewed 32 times
        
    0
            
            
        - 
                    It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input and desired output that can be used to test and verify possible solutions. Pictures of data are not helpful because we can't copy/paste the data. – MrFlick Jul 13 '20 at 04:11
- 
                    @MrFlick I totally agree. I am new to the site. Is there a way to display a csv, or xlsx in my question? – power_of_epi Jul 13 '20 at 04:22
- 
                    MrFlick shared a relevant link to you, just follow the guide and all are happy. – jay.sf Jul 13 '20 at 06:37
