Visualize Patterns With Calendars & ggplot2 | Step-By-Step Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • 📍 Data Cleaning Masterclass at data-cleaning....
    📍 DataViz Course at arapp.thinkifi...
    📍 Free gt e-book at gt.albert-rapp...
    📍 Blog post at albert-rapp.de...
    📈 CREATE EFFECTIVE CHARTS
    Check out my video course to create insightful data visualizations with ggplot at arapp.thinkifi...
    MORE VIDEOS
    📺 Web Development for R Users • Web Development For R ...
    📺 ggplot Tutorials • Beautiful Charts with ...
    📺 ggplot Remakes • How to Create Divergin...
    Subscribe at 👉 / @rappa753
    MORE CONTENT
    - weekly 3-minute newsletter about R, DataViz and webdev at 3mw.albert-rap...
    - LinkedIn at / dr-albert-rapp-9a5b9b28b
    #rstats #dataviz #ggplot #dplyr

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

  • @rappa753
    @rappa753  หลายเดือนก่อน +2

    Thank you for watching (and hopefully enjoying) my latest video. If you liked this video, I'm sure that you're also going to love my Data Visualization course. You can check it out at:
    Insightful Data Visualizations for "Uncreative" R Users at arapp.thinkific.com/courses/insightful-data-visualizations-for-uncreative-r-users
    Or if you want to learn about data cleaning, my Data Cleaning Master Class will teach you everything you need to know about data cleaning, working with Excel and JSON files, and dealing with text data as well as time data. If you want to get faster and better at making sense of your data, check out:
    Data Cleaning Master Class at data-cleaning.albert-rapp.de/

  • @WilForDataScience
    @WilForDataScience หลายเดือนก่อน +2

    As always, excellent video. Really intuitive and easy to follow. Thank you for this content Albert 👏

    • @rappa753
      @rappa753  หลายเดือนก่อน +2

      Thank you. That's such a kind feedback 🤗

  • @muhammedhadedy4570
    @muhammedhadedy4570 18 วันที่ผ่านมา +1

    Wow, amazing as usual.
    Greetings from Egypt.
    Wish you all the best.
    ❤❤❤❤

    • @rappa753
      @rappa753  16 วันที่ผ่านมา +1

      Thank you ☺

  • @arnoldkakas6343
    @arnoldkakas6343 หลายเดือนก่อน +1

    nice video, i never though about this way of visualization of time series, very interesting!

  • @djangoworldwide7925
    @djangoworldwide7925 หลายเดือนก่อน +1

    Im considering a transition to gnu-linix, specifically ubunto (lts version).
    Any chance to see a post/video on things to consider when using R on ubuntu? Im a windows user atm.

    • @rappa753
      @rappa753  หลายเดือนก่อน +1

      That's a neat idea. I will add it to my backlog of ideas 🤗 but it will probably take quite a while until I get to that topic.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 หลายเดือนก่อน +1

    What do we do when there is no flight on a given day? I have some data were there is no data some days - perhpas because it was not recored. But still - is there a way ato add those. Finally, is there not some plot specifically for plotting count data on top of a calendar?

    • @rappa753
      @rappa753  หลายเดือนก่อน

      You can use the complete() function from the tidyr package for getting the full range of dates into your counts (just replace the default NA with a 0 in that case)

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 หลายเดือนก่อน

    Very interesting but when the code gets this long errors are prone to creep in. Why not chop it up and simply add pieces?

    • @rappa753
      @rappa753  หลายเดือนก่อน

      I've done that in the past but I've made the experience that shopping up a long ggplot code like this doesn't really help me and adds more overhead. But I guess it's a matter of preferred style

  • @djangoworldwide7925
    @djangoworldwide7925 หลายเดือนก่อน

    hey you switched from blue to green! when did that happen

    • @rappa753
      @rappa753  หลายเดือนก่อน

      Around 8:30 😊

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 หลายเดือนก่อน

    Albert, I cannot recreate your plots. The calendar dates are all mixed up. I did find an alternative that is good enough for EDA. The output is not as nice as yours - that is hard to match. In the openair package (it is a package for air pollution studies) there is a function called calendarPlot(). That can used to create quick-and-dirty plots. It basically allows you to see if there is anything to look at before diving into a much more involved heatmap such as yours.

    • @rappa753
      @rappa753  หลายเดือนก่อน

      Ah that's a neat package. Didn't know about that yet 👍🏻 definitely a good idea to do something quick and simple before going down the road of a tailored chart

    • @rappa753
      @rappa753  หลายเดือนก่อน

      As for the dates being mixed up, can you share specifics or code? It's hard to debug without knowing more

    • @Follis_lecture_channel
      @Follis_lecture_channel หลายเดือนก่อน

      @@rappa753 I had to change the date format to POSIX to get the correct week of the month