SELECT *
FROM person
WHERE LOWER(unix_account) = LOWER('{reciever}')
OR LOWER(given_name) = LOWER('{reciever}')
OR LOWER(surname) = LOWER('{reciever}')
I would like to replace new line characters ("\n") from the string that I get by:
readr::read_file(file.path)
Also I would like to replace "{reciever}" with a name like "Bob".
Using gsub I get either this error:
'Invalid contents of {}'
Or, if I use
gsub(…, perl = TRUE)
I end up getting a string containing only one whitespace (I wanted to replace \n with a whitespace).