I'm writing a UDF to pull data from the U.S. SEC's EDGAR database using their API. The database has two types of data, however, string and numerical. Should I write separate UDFs to pull and return the separate types of data, or write one UDF that returns type variant? I'm pretty sure I could do either, but am having trouble thinking through pros and cons.