Gang Of Coders
Home
About Us
Contact Us
All Dplyr Solutions on Gang of Coders
Total of 92 Dplyr Solutions
data.table vs dplyr: can one do something well the other can't or does poorly?
R
data.table
Dplyr
Filter rows which contain a certain string
R
Filter
Dplyr
Display / print all rows of a tibble (tbl_df)
R
Dplyr
Options
Display
Use dynamic name for new column/variable in `dplyr`
R
Dplyr
R Faq
Extract a dplyr tbl column as a vector
R
Dplyr
Lazy Evaluation
Collect
Can dplyr package be used for conditional mutating?
R
If Statement
Case When
Dplyr
Relative frequencies / proportions with dplyr
R
Group By
Dplyr
Frequency
Fixing a multiple warning "unknown column"
R
Dplyr
How to interpret dplyr message `summarise()` regrouping output by 'x' (override with `.groups` argument)?
R
Dplyr
Summarize
What does %>% function mean in R?
R
Syntax
Dplyr
Magrittr
R Faq
Select first and last row from grouped data
R
Dplyr
Group by multiple columns in dplyr, using string vector input
R
Dplyr
R Faq
Summarizing multiple columns with dplyr?
R
Dplyr
Aggregate
Remove duplicated rows using dplyr
R
Dplyr
Sum across multiple columns with dplyr
R
Dplyr
How to select the rows with maximum values in each group with dplyr?
R
Dplyr
Plyr
Greatest N-per-Group
Can dplyr join on multiple columns or composite key?
R
Dplyr
Applying a function to every row of a table using dplyr?
R
Plyr
Dplyr
Change value of variable with dplyr
R
Dataframe
Plyr
Dplyr
Replacement for "rename" in dplyr
R
Rename
Dplyr
Error: could not find function "%>%"
R
Dplyr
Magrittr
R Conditional evaluation when using the pipe operator %>%
R
Dplyr
Ggvis
Magrittr
filter for complete cases in data.frame using dplyr (case-wise deletion)
R
Dplyr
Magrittr
R dplyr: Drop multiple columns
R
Dplyr
Gather multiple sets of columns
R
Reshape
Dplyr
Qualtrics
Tidyr
dplyr summarise: Equivalent of ".drop=FALSE" to keep groups with zero length in output
R
Dplyr
Plyr
Tidyr
Count number of rows by group using dplyr
R
Dplyr
Count
Plyr
Getting the top values by group
R
data.table
Dplyr
How to specify names of columns for x and y when joining in dplyr?
R
Join
Left Join
Dplyr
dplyr mutate with conditional values
R
Dplyr
R spreading multiple columns with tidyr
R
Dataframe
Dplyr
Tidyr
Pass a string as variable name in dplyr::filter
R
Dplyr
Extract row corresponding to minimum value of a variable by group
R
Dplyr
data.table
Aggregate
Find duplicated elements with dplyr
R
Dplyr
dplyr: "Error in n(): function should not be called directly"
R
Function
Plyr
Dplyr
Conflicting Libraries
Select columns based on string match - dplyr::select
R
Regex
Dplyr
dplyr mutate/replace several columns on a subset of rows
R
data.table
Dplyr
How to get summary statistics by group
R
Dplyr
Stat
Summarize
S
Filter multiple values on a string column in dplyr
R
Dplyr
String Matching
Multiple Conditions
dplyr on data.table, am I really using data.table?
R
data.table
Dplyr
Use pipe operator %>% with replacement functions like colnames()<-
R
Dplyr
Magrittr
Removing NA in dplyr pipe
R
Dplyr
Na
R move column to last using dplyr
R
Dplyr
dplyr::select one column and output as vector
R
Select
Vector
Dataframe
Dplyr
dplyr change many data types
R
Dataframe
Dplyr
Get dplyr count of distinct in a readable way
R
Dplyr
Create new variables with mutate_at while keeping the original ones
R
Dplyr
Can dplyr summarise over several variables without listing each one?
R
Dplyr
dplyr filter: Get rows with minimum of variable, but only the first if multiple minima
R
Dplyr
Set certain values to NA with dplyr
R
Dplyr
How to create a lag variable within each group?
R
data.table
Plyr
Dplyr
Changing factor levels with dplyr mutate
R
Dplyr
How to specify "does not contain" in dplyr filter
R
Filter
Dplyr
Fitting several regression models with dplyr
R
Dplyr
dplyr mutate rowSums calculations or custom functions
R
Dplyr
dplyr summarise_each with na.rm
R
Dplyr
Applying group_by and summarise on data while keeping all the columns' info
R
Dplyr
How to perform multiple left joins using dplyr in R
R
Dplyr
dplyr::select function clashes with MASS::select
R
Dplyr
dplyr: nonstandard column names (white space, punctuation, starts with numbers)
R
Dataframe
Dplyr
Why are my dplyr group_by & summarize not working properly? (name-collision with plyr)
R
Plyr
Dplyr
Shadowing
Name Collision
How does one stop using rowwise in dplyr?
R
Dplyr
Summarize all group values and a conditional subset in the same call
R
Dplyr
Sqldf
Pass arguments to dplyr functions
R
Dplyr
Lazy Evaluation
Using functions of multiple columns in a dplyr mutate_at call
R
Dplyr
How to replace all NA in a dataframe using tidyr::replace_na?
R
Dplyr
Tidyr
standard evaluation in dplyr: summarise a variable given as a character string
R
Dplyr
mutate_each / summarise_each in dplyr: how do I select certain columns and give new names to mutated columns?
R
Dataframe
Dplyr
dplyr: how to reference columns by column index rather than column name using mutate?
R
Dplyr
Arranging rows in custom order using dplyr
R
Dplyr
Data Manipulation
Concatenate strings by group with dplyr
R
Dplyr
Select unique values with 'select' function in 'dplyr' library
R
Select
Unique
Dplyr
dply: order columns alphabetically in R
R
Dataframe
Dplyr
case_when in mutate pipe
R
Dplyr
Using dplyr window functions to calculate percentiles
R
Dplyr
Tidyr
Create a ranking variable with dplyr?
R
Dplyr
Reorder rows using custom order
R
Dplyr
R dplyr: rename variables using string functions
Regex
R
Rename
Dplyr
Avoiding type conflicts with dplyr::case_when
R
Dplyr
Data Cleaning
Removing NA observations with dplyr::filter()
R
Dplyr
Conditionally Count in dplyr
R
Dplyr
dplyr: lead() and lag() wrong when used with group_by()
R
Dplyr
dplyr issues when using group_by(multiple variables)
R
Group By
Dplyr
Compound Key
select columns based on multiple strings with dplyr contains()
R
Regex
Dplyr
Matching
Multiple Matches
How to group by all but one columns?
R
Dplyr
Correct syntax for mutate_if
R
Dplyr
Na
How to add a cumulative column to an R dataframe using dplyr?
R
Dataframe
Dplyr
dplyr: How to use group_by inside a function?
R
Dplyr
Tidyeval
Nse
Finding percentage in a sub-group using group_by and summarise
R
Group By
Dplyr
"Adding missing grouping variables" message in dplyr in R
R
Dplyr
Replace missing values (NA) with most recent non-NA by group
R
Dplyr
Override column types when importing data using readr::read_csv() when there are many columns
R
Csv
File Io
Dataframe
Dplyr