where
R package where, providing vectorised substitution and evaluation
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.6%) to scientific vocabulary
Repository
R package where, providing vectorised substitution and evaluation
Basic Info
- Host: GitHub
- Owner: KiwiMateo
- License: other
- Language: R
- Default Branch: main
- Size: 22.5 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
readme.md
The where package
The where package has one main function where::do which provides a clean
syntax for vectorising the use of NSE, for example in ggplot2, dplyr, or
data.table. There are also two (infix) wrappers %where% and %for% that
provide arguably cleaner syntax.
A simple, if contrived, example:
```r library(do) library(dplyr)
subgroups = .(all = TRUE, longsepal = Sepal.Length > 6, longpetal = Petal.Length > 5.5)
(iris %>% filter(subgroup) %>% summarise(across(Sepal.Length:Petal.Width, summary), .by = Species)) %where% list(subgroup = subgroups, summary = .(mean, sum, prod)) ```
Installation
Can be installed with
r
remotes::install_github("KiwiMateo/where")
Owner
- Login: KiwiMateo
- Kind: user
- Repositories: 1
- Profile: https://github.com/KiwiMateo
GitHub Events
Total
- Release event: 1
- Watch event: 1
- Push event: 5
- Public event: 1
- Create event: 2
Last Year
- Release event: 1
- Watch event: 1
- Push event: 5
- Public event: 1
- Create event: 2
Packages
- Total packages: 1
-
Total downloads:
- cran 474 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: where
Vectorised Substitution and Evaluation
- Homepage: https://github.com/KiwiMateo/where
- Documentation: http://cran.r-project.org/web/packages/where/where.pdf
- License: MIT + file LICENSE
-
Latest release: 1.0.0
published over 1 year ago
Rankings
Maintainers (1)
Dependencies
- data.table * suggests
- dplyr * suggests
- ggplot2 * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests