translate_to_morse {polyglotr} | R Documentation |
This function takes a string of text as input and translates it to Morse code using the FunTranslations API.
translate_to_morse(text, api_key = NULL)
text |
A character string containing the text to be translated to Morse code. |
api_key |
(optional) Your FunTranslations API key, if you have a paid subscription. |
A list containing the translated Morse code text and other metadata.