Cosmological analyses of the CODEX survey