Spell check search term for occurrence searches
occ_spellcheck(search, curlopts = list())
search | (character) query term |
---|---|
curlopts | list of named curl options passed on to
|
A boolean if search term spelled correctly, or if not spelled correctly with no suggested alternatives. If spelled incorrectly and suggested alternatives given, we give back a list with slots "correctlySpelled" (boolean) and "suggestions" (list)
# NOT RUN { # incorrectly spelled, with suggested alternative occ_spellcheck(search = "kajsdkla") # incorrectly spelled, without > 1 suggested alternative occ_spellcheck(search = "helir") # incorrectly spelled, without no alternatives occ_spellcheck(search = "asdfadfasdf") # correctly spelled, alternatives occ_spellcheck(search = "helianthus") # }