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)
A list containing the translated Morse code text and other metadata.
A character string containing the text to be translated to Morse code.
(optional) Your FunTranslations API key, if you have a paid subscription.