Description Usage Arguments Value Examples
Inspired by the varying capitalisation of "NCOV" during the coronavirus pandemic (e.g. ncov, nCoV, NCOV, nCOV), this function allows for all possible configurations of lower- and upper-case letters in your search term.
1 | mx_caps(x)
|
x |
Search term to be formatted |
The input string is return, but with each non-space character repeated in lower- and upper-case, and enclosed in square brackets. For example, mx_caps("ncov") returns "[Nn][Cc][Oo][Vv]"
1 2 3 | query <- c("coronavirus", mx_caps("ncov"))
mx_search(mx_snapshot("6c4056d2cccd6031d92ee4269b1785c6ec4d555b"), query)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.