Select from a Set of Strings

A backend for the selecting functions of the 'tidyverse'. It makes it easy to implement select-like functions in your own packages in a way that is consistent with other 'tidyverse' interfaces for selection.


tidyselect

Codecov test coverage CRAN status R-CMD-check

Overview

The tidyselect package is the backend of functions like dplyr::select() or dplyr::pull() as well as several tidyr verbs. It allows you to create selecting verbs that are consistent with other tidyverse packages.

  • To learn about the selection syntax as a user of dplyr or tidyr, read the user-friendly ?language reference.

  • To learn how to implement tidyselect in your own functions, read vignette("tidyselect").

  • To learn exactly how the tidyselect syntax is interpreted, read the technical description in vignette("syntax").

Installation

Generally, tidyselect will be installed automatically by the packages that need it. If you need to install it manually for some reason, you can get it with:

install.packages("tidyselect")

Code of Conduct

Please note that the tidyselect project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("tidyselect")

1.2.1 by Lionel Henry, 3 years ago


https://tidyselect.r-lib.org, https://github.com/r-lib/tidyselect


Report a bug at https://github.com/r-lib/tidyselect/issues


Browse source code at https://github.com/cran/tidyselect


Authors: Lionel Henry [aut, cre] , Hadley Wickham [aut] , Posit Software , PBC [cph, fnd]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports cli, glue, lifecycle, rlang, vctrs, withr

Suggests covr, crayon, dplyr, knitr, magrittr, rmarkdown, stringr, testthat, tibble


Imported by AIscreenR, ARPALData, AeroSampleR, AirMonitor, Analitica, Andromeda, AutoWMM, AzureKusto, BLSloadR, BOJ, BeeBDC, BioMonTools, CDMConnector, CepalStatR, CimpleG, CiteSource, CoNI, ConfidenceEllipse, CongressData, ConversationAlign, CoordinateCleaner, DESNP, DIETCOST, DIVINE, DSSAT, DataQualityDashboard, DisImpact, DrugExposureDiagnostics, Dyn4cast, ECOTOXr, EDCimport, EMOTIONS, EpiReport, EpiStandard, ExtremeCI, FeNEU, ForestElementsR, GDPuc, GHCNr, GHRmodel, GISSB, GTFShift, GeoTox, GimmeMyStats, Greg, HARplus, HDStIM, HLMdiag, HMDHFDplus, HRRI, HYPEtools, IBRtools, ICD10gm, ICEHmeasures, JSmediation, LABTNSCPSS, LAD, LCPA, LLMR, LTFGRS, LTFHPlus, LadderFuelsR, LipidomicsR, MAGMA.R, MAICtools, MAIHDA, MAPCtools, MLFS, MRG, MRStdLCRT, MVLs, MagmaClustR, MantaID, MixedPsy, MobilityDataPT, MplusLGM, NHSRplotthedots, NetCoupler, Nmisc, OLStrajr, OVtool, OncoBayes2, PHEindicatormethods, PKbioanalysis, PLUCR, PPforest, PRTree, PUMP, PopComm, PopulateR, PowRPriori, PsyMetricTools, QuICSeedR, RCT, RClimacell, REDCapCAST, REDCapDM, REDCapTidieR, RNAseqQC, RQdeltaCT, RSDA, RSP, RTL, Rcurvep, Rdistance, ReportSubtotal, Rilostat, Rsearch, SCDB, SCFMonitor, SISIR, SemanticDistance, SeroTrackR, SidraFacil, Signac, SimpleUpset, SimplyAgree, SingleCaseES, SlideCNA, Spectran, StanMoMo, StatsTFLValR, SticsRFiles, Superpower, TKCat, TidyDensity, Tplyr, UnalR, WISP.data, WaterBalanceR, WinRatio, WoodSimulatR, acR, academictwitteR, accept, acro, actigraph.sleepr, adjustr, admiral, admiraldev, admiralmetabolic, admiralneuro, admiralonco, admiralophtha, admiralpeds, admiralvaccine, aftables, agregR, aihuman, airship, alarmdata, alfred, alookr, ameras, animbook, anipaths, apmx, applicable, apyramid, ardl.nardl, arrow, autoGO, autostats, autotestR, badp, bate, bayesnec, bayesplot, bcdata, bdc, bdsm, benthos, bfboinet, bidser, bigMICE, bioRad, bluebike, bonsaiforest, bootnet, bp, brapiR2, brms.mmrm, broom.helpers, brulee, c2z, calibrationband, carbonr, cards, care4cmodel, cassowaryr, causalDT, causalDisco, cccrm, cdmetapopR, cdrcR, celliverse, cepumd, cheese, childsds, chronochrt, clinify, cmpp, codyna, complexr, conText, condformat, conquestr, contrastable, convergEU, corx, crew, crmPack, cspp, csquares, ct, cubble, cubelyr, cutpointr, d3Tree, daisytools, data.checker, datadictionary, datadiff, datazoom.amazonia, dbSpatial, dbplyr, dci, decisionSupport, deident, delimtools, demodelr, detourr, dfeR, dibble, diffeR, diseasystore, divseg, dlookr, dm, dotsViolin, dowser, dplyr, drake, dreamer, drugsens, dtplyr, duckplyr, duet, dyadMLM, dyngen, eDNAfuns, eHDPrep, echoice2, ecocbo, edar, edibble, egor, eiExpand, elaborator, emuR, enaho, eph, epikit, epitabulate, erplots, escalation, eufmdis.adapt, eventreport, excluder, expertsurv, eye, fabletools, fairGATE, fairGNN, fastplyr, favr, fcaR, fdid, fgeo.tool, findSVI, finetune, finnts, fireexposuR, fishmechr, fitzRoy, flashlight, flexsurv, flowchart, flowcluster, fluxfixer, fluxible, forstringr, fqar, fr, framecleaner, ftExtra, funStatTest, funbiogeo, functiondepends, gMOIP, galah, gapclosing, gbm.auto, geocausal, geodimension, geogenr, geomultistar, ggFishPlots, ggalluvial, ggbrain, ggfacto, ggforce, gggenomes, ggmice, ggpcp, ggperiodic, ggstackplot, ggsurveillance, ghclass, goat, gratia, gt, gtstats, guideR, gwas2crispr, halfmoon, handwriter, handwriterRF, haven, hawkinR, hdImpute, hellometry, historicalborrow, historicalborrowlong, hlaR, holideh, htrSPRanalysis, hubEnsembles, huxtable, iadf, ibb, ideanet, idiffomix, immunarch, immunogenetr, implyr, imprinting, imt, incidence2, injurytools, insee, interfacer, iotables, ip2location.io, ipolygrowth, ipumsr, irpfR, isoexplorer, isoorbi, isoreader2, isotracer, itraxR, jagstargets, janitor, jmastats, jpinfect, keyATM, kindisperse, klovan, labelled, ledger, lenses, lfproQC, linelist, listr, litteR, lnmixsurv, lvmisc, mKBO, maldipickr, manifestoR, manydist, mariposa, matman, matrixset, mcp, mdbplyr, metaconfoundr, metacore, metalcor, metan, mfcurve, mikropml, miniLNM, mnirs, modeldiagramR, modelr, move2, movegroup, mpower, mrIML, mrgsim.sa, mrgsolve, msSPChelpR, msigdbr, multidplyr, multimorbidity, multipleOutcomes, multiverse, mverse, name, navigatr, nemsqar, neonSoilFlux, nestr, networkscaleup, nimbleExtra, nixtlar, nuggets, nzilbb.vowels, openmpp, ordr, osdc, outstandR, pacta.loanbook, pairwiseLLM, pandemonium, panelsummary, pangoling, parquetize, parsermd, pathviewr, pcpr, pdi, pep725, pestr, petersenlab, pfwim, pguIMP, photobiologyInOut, pingers, plot3logit, plotor, plume, pmrm, pointblank, poputils, portalr, powerjoin, pprof, prefviz, presenter, probably, processpredictR, projoint, propensity, psyntur, pubh, puff, pvda, pysparklyr, qbr, quanteda.tidy, quid, quollr, r2dii.analysis, r2dii.match, r2mlm, rATTAINS, rChEA3, rFIA, rTCRBCRr, radiant.model, rankingQ, rar, readapra, ready4, reappraised, recipes, recmetrics, redist, regions, regressinator, reportRmd, retroharmonize, rfacebookstat, rfars, riskCommunicator, riverconn, roads, robis, robotoolbox, rolap, rsample, rscorecard, rsnell, rstatix, rsyntax, rticulate, rvec, safeframe, saros, saros.base, scdhlm, scenfire, schematic, scipub, scrutiny, sdtmchecks, sdtmval, seine, serocalculator, serodynamics, sfcr, shazam, shewhartr, shinyHugePlot, shinymodels, simplanonym, sitepickR, sjmisc, skimr, smimodel, snapr, socialrisk, sparklyr, sparklyr.nested, spatialRF, spatialTIME, spatialsample, spicy, srvyr, stRoke, statar, statim, stickyr, sudachir, surveyexplorer, svymargins, swaprinc, table.express, tablecompare, tabledown, tabshiftr, tabxplor, tailor, talkr, tame, tantivyr, tarchetypes, targets, tbl.now, tcgaViz, tdcmStan, teal.modules.general, teal.picks, teal.transform, tepr, testdat, testflow, text2map, tfdatasets, tfestimators, tfrmt, tfruns, threesixtygiving, tibblify, tidyCDISC, tidyEdSurvey, tidyGenR, tidyREDCap, tidyRSS, tidybayes, tidybins, tidycensus, tidycomm, tidyextreme, tidyfun, tidygam, tidynorm, tidypaleo, tidyplots, tidyplus, tidypopgen, tidyr, tidyseurat, tidysmd, tidyspec, tidytable, tidytree, timbr, timesift, timetk, tmfast, tmod, tna, traumar, trendtestR, triptych, tscv, tsibble, tuber, tune, typstable, ukbflow, unpivotr, usedthese, utile.tables, validata, vazul, vectra, verdata, versus, vital, vitopack, vivainsights, vivaldi, voice, volker, vroom, vsp, waves, waywiser, wdiexplorer, wingen, wompwomp, workflows, worldfootballR, wpa, writeAlizer, xlr, xmap, xpose.xtras, yardstick, ycevo, yfR, zdeskR, zoomr.

Depended on by multimedia, orderanalyzer, sentixr.

Suggested by AMR, BORG, CohortSymmetry, FFTrees, Gmisc, HawaSpatial, REDCapR, RandomWalker, StreamCatTools, activAnalyzer, apa7, crane, crosstable, dat, dtrackr, ernest, ethnobotanyR, fastreg, flow, forestmangr, forestplot, furrr, ggdist, gtExtras, gtfsrealtime, healthyR, healthyR.ai, healthyR.ts, heatmaply, htmlTable, hydrodownloadR, ir, isobxr, logrx, misc, mlr3forecast, modelsummary, multifear, oddsapiR, parameters, photosynthesis, purgeR, purrr, rattle, risk.assessr, scCustomize, seqwrap, sf, sitrep, spRingsteen, spada, statnipokladna, stats19, test.assessr, tinylens, troopdata, vetiver, vimp.


See at CRAN