nhs-r-community / demos-and-how-tos

A repo for community contributed demos and how-tos to get common stuff done in the R language
https://nhs-r-community.github.io/demos-and-how-tos/
MIT License
29 stars 13 forks source link

String to expression example. #29

Closed jasonpott closed 2 years ago

jasonpott commented 2 years ago

Hi as discussed with Zoe in the slack channel

This is a method to convert logical variables into a string that can be evaluated as a filter in dplyr. I've converted it to work with the palmer penguins dataset.

jasonpott commented 2 years ago

Correction added to readme to clarify how to implement the filter on a remote database.

jasonpott commented 2 years ago

Thanks Tom I'll look and get back to you.