Introduction to R: Merging Data

Ғылым және технология

Data sets are often spread across multiple tables or files that have certain key columns in common. To work with all the data you have available as one large data frame, you may need to merge or join two or more tables together. In this lesson we learn how to perform inner, right, left and outer joins to merge data in base R.
This is lesson 17 of a 30-part introduction to the R programming language for data analysis and predictive modeling. Link to the code notebook below:
Introduction to R: Merging Data
www.kaggle.com/hamelg/intro-t...
This guide does not assume any prior exposure to R, programming or data science. It is intended for beginners with an interest in data science and those who might know other programming languages and would like to learn R.
I will create the videos for this guide such that you should be able to learn a lot just watching on KZread, but to get the most out of the guide, it is recommended that you create a Kaggle account so that you can fork and edit each lesson so that you can follow along and run code yourself.
Follow DataDaft on social media for news and updates:
Twitter: / datadaft
Introduction to R Playlist:
• Introduction to R

Пікірлер: 8

  • @olabisifayose7386
    @olabisifayose7386 Жыл бұрын

    Thank you. I have watched more than 10 videos trying to convert some dates from character to datetime. i finally succeeded after watching your video. thank you. you can't imagine how happy and grateful I am.

  • @tristenrider8040
    @tristenrider80403 жыл бұрын

    Great stuff, appreciate it!

  • @katiekim2645
    @katiekim26454 жыл бұрын

    OMG, you are the best!!! Thanks!

  • @vincenzo4259
    @vincenzo42592 жыл бұрын

    Thanks

  • @sukainahrawashdeh2479
    @sukainahrawashdeh24792 жыл бұрын

    Why after I run the merge there were not data only table with variables ?

  • @bassamal-kaaki3253
    @bassamal-kaaki32534 жыл бұрын

    What happens if both data frames are not equal in terms of rows? This will create NA’s right? Then you need to solve the NA issues.

  • @DataDaft

    @DataDaft

    4 жыл бұрын

    Yes, joining data with different key values may introduce NA values as seen in the video. How to handle the NA values depends on how you are using the data.

  • @bassamal-kaaki3253

    @bassamal-kaaki3253

    4 жыл бұрын

    DataDaft Thanks 🙏

Келесі