Tom Brady Data Analytics - Web Scraping NFL Data Using R

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025

ความคิดเห็น • 17

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 ปีที่แล้ว

    Very instructive. I had a similar situation with a table (actually imported not scraped) that contained the same variable twice in the colums (e.g. Sample for one and then a, b, c etc. and sample with a, b, c). The way I handled this was to separate the data into two tables - clean up the tables and then rejoin them.

  • @ahmed007Jaber
    @ahmed007Jaber 2 ปีที่แล้ว +1

    man! thank you for this. I love it. very informative

    • @SamerHijjazi
      @SamerHijjazi  2 ปีที่แล้ว

      Many thanks for your support, Ahmad!!

  • @siamaksiamak5583
    @siamaksiamak5583 2 ปีที่แล้ว

    excellent tutorial keep doing more in R

  • @robertreid64
    @robertreid64 2 ปีที่แล้ว

    Many, many thanks, Samer. That was really informative. More importantly, it was clearly explained

    • @SamerHijjazi
      @SamerHijjazi  2 ปีที่แล้ว

      Thank you for your kind feedback. I'm glad you found it helpful!

  • @omarsaad9687
    @omarsaad9687 2 ปีที่แล้ว

    How many times do we need to say thanks for this content, Huge like.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 ปีที่แล้ว

    I notice that one can choose wide format for the columns on the website which eliminates the intermediate subheadings. However, I am not sure how to locate the html tags or css for that.

  • @ahmed007Jaber
    @ahmed007Jaber 2 ปีที่แล้ว

    Amazing Samer. I really got a good case to implement those ideas and just did
    however, I have couple of column names that have this at the beginning
    "^cumulative_cumulative_"
    how would I use across or something similar to replace all those column names with a single "cumulative_"

    • @SamerHijjazi
      @SamerHijjazi  ปีที่แล้ว

      you could use str_replace_all to replace all the cumulative_cumulative_ instances with cumulative_

  • @MatthewWeinman-tj7xd
    @MatthewWeinman-tj7xd 9 หลายเดือนก่อน

    Please help I am getting the error "Error in UseMethod("html_table") :
    no applicable method for 'html_table' applied to an object of class "xml_missing"

  • @tarasst6887
    @tarasst6887 ปีที่แล้ว

    🤩🤩🤩

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 ปีที่แล้ว

    The janitor package might be able to deal with the column names.

    • @SamerHijjazi
      @SamerHijjazi  ปีที่แล้ว +1

      I had discovered that package much later lol