Input data for Canonical Correspondence Analysis (CCA)

I'm going to conduct Canonical Correspondence Analysis (CCA). In the tutorial I've found at: environmental data are discrete variables with multiple levels within each variable (please check env.csv file in the tutorial). But in my case some environmental variables belong to nominal and some to ordinal data types with only two levels for each variable. Can I do CCA on my data? Which data types are suitable for CCA? What should I do if my environmental variables would belong to different data types (e.g. continuous, discrete, nominal, etc. with different levels quantity within each variable)?

This question was initially posted at:
Last edited: