All Equal()

Author

Kevin Gilds, MPA

Published

2024-11-11

Today I need to find a difference between two data frames. Actually, I had to split the data frame and find the difference between two survey entries.

## Create lists
df_list <- split(dupes, dupes$response_id)


### Split the list as save a data frame
df_1 <- as.tibble(df_list[1])

df_2 <- as.tibble(df_list[2])
all.equal(df_1, df_2)

Compares the date frame and I could easily tell there were many differences between these two entries. If I had time I would use fake data. Here is the 📦documentation


About

Kevin is a nonprofit data professional operating out of Lakeland, Florida.
My expertise is helping nonprofits collect, manage and analyze their program data.