dplyr1.2.0 package

A Grammar of Data Manipulation

across

Apply a function (or functions) across multiple columns

all_equal

Flexible equality comparison for data frames

all_vars

Apply predicate to all variables

args_by

Helper for consistent documentation of .by

arrange_all

Arrange rows by a selection of variables

arrange

Order rows using column values

auto_copy

Copy tables to same source, if necessary

backend_dbplyr

Database and SQL generics.

between

Detect where values fall in a specified range

bind_cols

Bind multiple data frames by column

bind_rows

Bind multiple data frames by row

c_across

Combine values from multiple columns

case_match

A general vectorised switch()

case-and-replace-when

A general vectorised if-else

check_dbplyr

dbplyr compatibility functions

coalesce

Find the first non-missing element

common_by

Extract out common by variables

compute

Force computation of a database query

consecutive_id

Generate a unique identifier for consecutive combinations

context

Information about the "current" group or variable

copy_to

Copy a local data frame to a remote src

count

Count the observations in each group

cross_join

Cross join

cumall

Cumulative versions of any, all, and mean

defunct-each

Defunct functions for working with multiple columns

defunct-lazyeval

Defunct standard evaluation functions

defunct

Defunct functions

deprec-context

Information about the "current" group or variable

desc

Descending order

dim_desc

Describing dimensions

distinct_all

Select distinct rows by a selection of variables

distinct

Keep distinct/unique rows

do

Do anything

dplyr_by

Per-operation grouping with .by/by

dplyr_data_masking

Data-masking

dplyr_extending

Extending dplyr with new data frame subclasses

dplyr_tidy_select

Argument type: tidy-select

dplyr-locale

Locale used by arrange()

dplyr-package

dplyr: A Grammar of Data Manipulation

explain

Explain details of a tbl

filter_all

Filter within a selection of variables

filter-joins

Filtering joins

filter

Keep or drop rows that match a condition

funs

Create a list of function calls

glimpse

Get a glimpse of your data

group_by_all

Group by a selection of variables

group_by_drop_default

Default value for .drop argument of group_by

group_by_prepare

Prepare for grouping and other operations

group_by

Group by one or more variables

group_cols

Select grouping variables

group_data

Grouping metadata

group_map

Apply a function to each group

group_nest

Nest a tibble using a grouping specification

group_split

Split data frame by groups

group_trim

Trim grouping structure

grouped_df

A grouped data frame.

ident

Flag a character vector as SQL identifiers

if_else

Vectorised if-else

join_by

Join specifications

last_dplyr_warnings

Show warnings from the last command

lead-lag

Compute lagged or leading values

make_tbl

Create a "tbl" object

mutate_all

Mutate multiple columns

mutate-joins

Mutating joins

mutate

Create, modify, and delete columns

n_distinct

Count unique combinations

na_if

Convert values to NA

near

Compare two numeric vectors

nest_by

Nest by one or more variables

nest_join

Nest join

new_grouped_df

Low-level construction and validation for the grouped_df and rowwise_d...

nth

Extract the first, last, or nth value from a vector

ntile

Bucket a numeric vector into n groups

order_by

A helper function for ordering window function output

percent_rank

Proportional ranking functions

pick

Select a subset of columns

progress_estimated

Progress bar with estimated time.

pull

Extract a single column

recode-and-replace-values

Recode and replace values

recode

Recode values

reexports

Objects exported from other packages

reframe

Transform each group to an arbitrary number of rows

relocate

Change column order

rename

Rename columns

row_number

Integer ranking functions

rows

Manipulate individual rows

rowwise

Group input by rows

same_src

Figure out if two sources are the same (or two tbl have the same sourc...

sample_n

Sample n rows from a table

scoped

Operate on a selection of variables

select_all

Select and rename a selection of variables

select

Keep or drop columns using their names and types

setops

Set operations

slice

Subset rows using their positions

sql

SQL escaping.

src_tbls

List all tbls provided by a source.

src

Create a "src" object

summarise_all

Summarise multiple columns

summarise

Summarise each group down to one row

tbl_ptype

Return a prototype of a tbl

tbl_vars

List variables provided by a tbl.

tbl

Create a table from a data source

tidyeval-compat

Other tidy eval tools

top_n

Select top (or bottom) n rows (by value)

transmute

Create, modify, and delete columns

vars

Select variables

when-any-all

Elementwise any() and all()

with_groups

Perform an operation with temporary groups

with_order

Run a function with one order, translating result back to original ord...

A fast, consistent tool for working with data frame like objects, both in memory and out of memory.

  • Maintainer: Hadley Wickham
  • License: MIT + file LICENSE
  • Last published: 2026-02-03