Print

Print


Hi Nihal,

I've been using dplyr's piping to merge multiple dataframes. I'm not at my computer at the moment but I've used this website to guide join type -
https://dplyr.tidyverse.org/reference/join.html. Then I just pipe each df into the previous. If you're interested, I can send you more detailed code later. I'm not sure if the other methods folks have sent are more efficient for a lot of dfs. I've only done 7 or 8 with this.

Best,
Nikki


Nikki Grasley-Boy, M.Ed., BCBA
Special Education Doctoral Student
University of Florida


-------- Original message --------
From: "El Rouby,Nihal M" <[log in to unmask]>
Date: 6/5/18 7:50 AM (GMT-05:00)
To: [log in to unmask]
Subject: Merging multiple dataframes

Hello R users,


I'm interested in merging 28 dataframes using R keeping overlapping IDs. Can dplyr inner join do that? or Should I try to figure out a loop?


Thanks,

Nihal

This list strives to be beginner friendly.  However, we still ask that you
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

This list strives to be beginner friendly.  However, we still ask that you
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.