elizagrames / litsearchr

litsearchr is an R package to partially automate search term selection for systematic reviews using keyword co-occurrence networks. In addition to identifying search terms, it can write Boolean searches and translate them into over 50 languages.
https://elizagrames.github.io/litsearchr
101 stars 24 forks source link

stop quoting single keywords #21

Closed elizagrames closed 5 years ago

elizagrames commented 5 years ago

There is no database logic behind putting quotes around single words when exactphrase=TRUE. To reduce the character length of searches, add in a function that checks for ngrams at this step and don't quote unigrams.

elizagrames commented 5 years ago

This is now fixed in the sandbox version of write_search which will be the next release.