Converting inputs to data types suitable for analysis