Learning R: 17 Read in multiple excel files in R and combine Data

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • This video shows you how to read in multiple excel files in R, and then combine the data. The packages readxl and tidyr are used. If you find this video helpful please subscribe to my channel.

Комментарии • 26

  • @Dilgazab
    @Dilgazab 2 года назад +3

    Thanks Mate.. Its 2021 and still helpful !

  • @ericksousa5666
    @ericksousa5666 4 года назад +4

    Dude, great video! I watched others that were longer and way confusing. Yours is very clear and worked combining 77 files into one, with more than 80k obs. Thanks a lot!

  • @GauriSharma-m7k
    @GauriSharma-m7k 5 дней назад

    Very Helpful

  • @elainelu4568
    @elainelu4568 3 года назад

    the easiest and clearest tutorial I've ever seen. Thanks!

  • @oluwaseyidada3828
    @oluwaseyidada3828 3 года назад +3

    Hey Dude, Great video !! it worked for me, your methodology was simple and on point but plz remember to always increase the volume next time cuz i had to put my volume to 100% before i could hear you.

  • @dinhoin
    @dinhoin 2 года назад +1

    Nice and clear! Thanks!

  • @mariviana.
    @mariviana. 4 года назад +1

    thanks a lot, used it for my uni's project

  • @Xnko100
    @Xnko100 2 года назад +1

    Very helpful! Thanks a lot :)

  • @vaibhavborgaonkar7706
    @vaibhavborgaonkar7706 Год назад +1

    Extra Ordinary, you deserve half of my pay from this week, lol!

    • @AnalyticoHub
      @AnalyticoHub  Год назад

      Happy to help. Please consider subscribing.

  • @imranahmad4840
    @imranahmad4840 3 года назад +1

    Very helpful

  • @grzegorzpochwatko2596
    @grzegorzpochwatko2596 3 года назад

    hi, very helpful, thanks! BUT for some reason I get a df with just filenames, unless I specify cell range. I see that you specified just the certain sheet,. any idea why?

  • @fauzanraeva4806
    @fauzanraeva4806 3 года назад

    i've done it, but this will change my column names, how i change my column names back to the original?

  • @user-cg8ey9rv4u
    @user-cg8ey9rv4u Год назад

    great,but how i can combine diffrent columns numbers

  • @agent1759
    @agent1759 2 года назад

    How do you get 4 different tbls with the same name as the file ?

  • @biancacosta5374
    @biancacosta5374 2 года назад

    I did exactly how you said, but i got only a list of the names of the files. Also I need to merge those files skipping the first 7 rows, how can I do it?

    • @AnalyticoHub
      @AnalyticoHub  2 года назад

      can you post or send me a copy of the script? To skip first 7 rows, you can use the skip = 7 argument in line 15.

  • @takla195
    @takla195 3 года назад

    Hi! If u have a minute :D After running my files a list of xlsx files have been shown up properly but lapply runs with a "path does not exist" error. Specificly with one file but it is there :D. I try to find out why is that but you maybe faster than me :D Thx

  • @livingwithtrend
    @livingwithtrend 3 года назад

    pls answers

  • @livingwithtrend
    @livingwithtrend 3 года назад

    im getting expected < error

    • @AnalyticoHub
      @AnalyticoHub  3 года назад

      What is the exact error you are getting? Do all files have same number of columns and data types?

    • @livingwithtrend
      @livingwithtrend 3 года назад

      resolved when i changed file extension from xlsb to xlsx

    • @natalialago690
      @natalialago690 2 года назад

      @@AnalyticoHubI keep getting an error because I have a different number of columns. I then tried using bind_rows instead and I got the error 'Arguments 17 must have names'
      Any ideas?

    • @AnalyticoHub
      @AnalyticoHub  2 года назад +1

      @@natalialago690 What I do is only call the number or columns that I need from all files. see line 16 in the video.