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

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

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

  • @rappa753
    @rappa753  2 месяца назад +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 месяца назад +2

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

    • @rappa753
      @rappa753  2 месяца назад +2

      Thank you. That's such a kind feedback 🤗

  • @muhammedhadedy4570
    @muhammedhadedy4570 2 месяца назад +1

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

    • @rappa753
      @rappa753  2 месяца назад +1

      Thank you ☺

  • @cleandata_sk
    @cleandata_sk 2 месяца назад +1

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

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 2 месяца назад +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  2 месяца назад

      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)

  • @djangoworldwide7925
    @djangoworldwide7925 2 месяца назад +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  2 месяца назад +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.

  • @djangoworldwide7925
    @djangoworldwide7925 2 месяца назад

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

    • @rappa753
      @rappa753  2 месяца назад

      Around 8:30 😊

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 2 месяца назад

    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  2 месяца назад

      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

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 2 месяца назад

    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  2 месяца назад

      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  2 месяца назад

      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 2 месяца назад

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