Can I invite people that are not students to take a course I created?
Generally speaking, yes. They will need to have Canvas accounts. But in Canvas all accounts are the same meaning that you can enroll someone in one course as a student, and another course as a teacher. It's what role you give them in the course that affects what they can do.
Retrieving data ...