Comments (3)
I think you need to put Catch Location
on the LHS in backticks not quote marks. i.e.
case_when(`Catch Location` ==
Otherwise it's interpreting the LHS as the literal string "Catch Location" which certainly is never equal to any of the values you compare it to.
...or avoid using column names with spaces in them so you can refer to the columns as bare column names.
from dplyr.
Yea @joranE is right here!
from dplyr.
Thank you so much! that fixed it!!
from dplyr.
Related Issues (20)
- summarize() is not equivalent to summarise() HOT 1
- Segfault when using rbind() to combine two rowwise data frames HOT 3
- A proposed function to port plyr::mapvalues() to dplyr HOT 1
- FR: allow `pick()` to rename in `distinct()` + some thoughts about `arrange()` allowing renaming.
- group_by() documentation (v1.1.4) doesn't indicate whether ... is <tidy-select> or <data-masking> (it's <data-masking>)
- Document minus operator in tidy-select and select HOT 3
- .onLoad setting options
- Inconsistency in Results Using sum(. != 3) within Pipeline Operations (%>%) dplyr version 1.1.4 HOT 4
- `rowwise()` and empty input
- Feature/Function Request: `is_equal` HOT 3
- Error in across HOT 2
- group_split(): add a '.groups_to_names=T' type argument HOT 2
- `group_split()` not shown on the reference page
- Modify how arrange sorts strings HOT 3
- Should `desc()` use `vec_rank()` internally on character vectors?
- Problem Group_by
- `dplyr_reconstruct` can create data.table with corrupted secondary index HOT 1
- Split `join_cols()`
- Error in the function 'across()' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dplyr.