First function to convert licor data.