Created
May 13, 2014 16:20
-
-
Save randyzwitch/7c9b32d245edf1011f0e to your computer and use it in GitHub Desktop.
R JSON sprintf example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elements_list = sprintf('{"id":"%s", | |
"top": "%s", | |
"startingWith":"%s", | |
"search":{"type":"%s", "keywords":[%s]} | |
}', element, top, startingWith, searchType, searchKW2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment