A study of sporadic pulsars and radio transients with the CHIME telescope