{"id":14067668,"url":"https://github.com/WinVector/seplyr","last_synced_at":"2025-07-30T02:31:03.789Z","repository":{"id":56934671,"uuid":"97258796","full_name":"WinVector/seplyr","owner":"WinVector","description":"Improved Standard Evaluation Interfaces for Common Data Manipulation Tasks","archived":false,"fork":false,"pushed_at":"2022-08-21T15:21:55.000Z","size":1950,"stargazers_count":50,"open_issues_count":0,"forks_count":12,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-11T09:46:59.626Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://winvector.github.io/seplyr/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WinVector.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-14T17:41:48.000Z","updated_at":"2024-10-21T09:20:41.000Z","dependencies_parsed_at":"2022-08-21T06:50:43.076Z","dependency_job_id":null,"html_url":"https://github.com/WinVector/seplyr","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/WinVector/seplyr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinVector%2Fseplyr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinVector%2Fseplyr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinVector%2Fseplyr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinVector%2Fseplyr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WinVector","download_url":"https://codeload.github.com/WinVector/seplyr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinVector%2Fseplyr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267798625,"owners_count":24145727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-13T07:05:43.036Z","updated_at":"2025-07-30T02:31:03.450Z","avatar_url":"https://github.com/WinVector.png","language":"R","readme":"---\noutput: github_document\n---\n\n\nThis project has been removed from CRAN by the request of the author. The functions it supplied are now better supplied by rquery and rqdatatable.\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \" # \"\n)\noptions(width =100)\n```\n\n\nThe [`R`](https://www.r-project.org) package [`seplyr`](https://github.com/WinVector/seplyr) supplies improved *s*tandard *e*valuation interfaces for some common `dplyr` data plying tasks.\n\nThis project is used in production to avoid exposing all of the details of [`rlang`](https://CRAN.R-project.org/package=rlang) at the user level, and a demonstration of what can be done through value-oriented programming. Alternately one could use another value-oriented data manipulation system ['rquery']( https://CRAN.R-project.org/package=rquery)/['rqdatatable'](https://CRAN.R-project.org/package=rqdatatable).\n\n![](https://github.com/WinVector/seplyr/raw/master/tools/safety.png)\n\nTo get started we suggest visiting the [`seplyr` site](https://winvector.github.io/seplyr/), and checking out [some examples](https://winvector.github.io/seplyr/articles/seplyr.html).\n\nOne quick example:\n\n```{r ex1c2}\n# Assume this is set elsewhere,\n# supplied by a user, function argument, or control file.\norderTerms \u003c- c('cyl', 'desc(gear)')\n\n# load packages\nlibrary(\"seplyr\")\n\n# where we are actually working (perhaps in a re-usable\n# script or function)\ndatasets::mtcars %.\u003e% \n  arrange_se(., orderTerms) %.\u003e% \n  head(.)\n```\n\nThe concept is: in writing re-usable code or scripts you pretend you do not know the actual column names you will be asked to work with (that these will be supplied as values later at analysis time).  This forces you to write scripts that can be used even if data changes, and are re-usable on new data you did not know about when writing the script.\n\n\n\nTo install this package please either install from [CRAN](https://CRAN.R-project.org/package=seplyr) with:\n\n```{r, eval=FALSE}\n   install.packages('seplyr')\n```\n\n\nPlease see [`help(\"%.\u003e%\", package=\"wrapr\")`](https://winvector.github.io/wrapr/reference/dot_arrow.html) for details on \"dot pipe.\"\n\nIn addition to standard interface adapters `seplyr` supplies some non-trivial \nstatement transforms:\n\n  * [`partition_mutate_se()`](https://winvector.github.io/seplyr/reference/partition_mutate_se.html): [vignette](https://winvector.github.io/seplyr/articles/MutatePartitioner.html), and [article](https://winvector.github.io/FluidData/partition_mutate.html).\n  * [`if_else_device()`](https://winvector.github.io/seplyr/reference/if_else_device.html): [article](https://winvector.github.io/FluidData/partition_mutate_ex2.html).\n\n\n## Note\n\nNote: `seplyr` is meant only for \"tame names\", that is: variables and column names that are also valid *simple* (without quotes) `R` variables names.\n","funding_links":[],"categories":["R"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWinVector%2Fseplyr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWinVector%2Fseplyr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWinVector%2Fseplyr/lists"}