Spring 2021 - STAT 240 D100

Introduction to Data Science (3)

Class Number: 3323

Delivery Method: In Person


  • Course Times + Location:

    Jan 11 – Apr 16, 2021: Mon, 12:30–2:20 p.m.

  • Exam Times + Location:

    Apr 28, 2021
    Wed, 3:30–6:30 p.m.

  • Prerequisites:

    One of STAT 201, STAT 203, STAT 205, STAT 270, or BUEC 232, and one of CMPT 102, CMPT 120, CMPT 125, CMPT 128, CMPT 129, CMPT 130, or permission of the instructor. STAT 260 is also recommended.



Introduction to modern tools and methods for data acquisition, management, and visualization capable of scaling to Big Data. Quantitative.


This course will use the statistical software R to acquire and clean data for answering data science questions. This class will focus on using SQL to query big data sets, handling text data from a webpage api, and scraping data from webpages.

Mode of Teaching:

  • Lecture: Synchronous/Asynchronous
  • Tutorial: Synchronous
  • Quizzes and Midterm: Synchronous; Date: TBA
  • Final exam: Synchronous; date: TBA
  • Remote invigilation (Zoom, or other approved software) will be used.


  • Weekly Lab Assignments 20%
  • Projects 40%
  • Final Exam 40%


Above grading is subject to change.



Access to high-speed internet, webcam.


Automated Data Collection with R: A Practical Guide to Web Scraping and Text Mining. Authors: Simon Mumzert, Christian Rubba, Peter Meissner, Dominic Nyhuis. Publisher: Wiley
ISBN: 978-1-118-83481-7

Department Undergraduate Notes:

Students with Disabilities:
Students requiring accommodations as a result of disability must contact the Centre for Accessible Learning 778-782-3112 or csdo@sfu.ca

Tutor Requests:
Students looking for a Tutor should visit http://www.stat.sfu.ca/teaching/need-a-tutor-.html. We accept no responsibility for the consequences of any actions taken related to tutors.

Registrar Notes:


SFU’s Academic Integrity web site http://www.sfu.ca/students/academicintegrity.html is filled with information on what is meant by academic dishonesty, where you can find resources to help with your studies and the consequences of cheating.  Check out the site for more information and videos that help explain the issues in plain English.

Each student is responsible for his or her conduct as it affects the University community.  Academic dishonesty, in whatever form, is ultimately destructive of the values of the University. Furthermore, it is unfair and discouraging to the majority of students who pursue their studies honestly. Scholarly integrity is required of all members of the University. http://www.sfu.ca/policies/gazette/student/s10-01.html


Teaching at SFU in spring 2021 will be conducted primarily through remote methods. There will be in-person course components in a few exceptional cases where this is fundamental to the educational goals of the course. Such course components will be clearly identified at registration, as will course components that will be “live” (synchronous) vs. at your own pace (asynchronous). Enrollment acknowledges that remote study may entail different modes of learning, interaction with your instructor, and ways of getting feedback on your work than may be the case for in-person classes. To ensure you can access all course materials, we recommend you have access to a computer with a microphone and camera, and the internet. In some cases your instructor may use Zoom or other means requiring a camera and microphone to invigilate exams. If proctoring software will be used, this will be confirmed in the first week of class.

Students with hidden or visible disabilities who believe they may need class or exam accommodations, including in the current context of remote learning, are encouraged to register with the SFU Centre for Accessible Learning (caladmin@sfu.ca or 778-782-3112).