Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
UBC-DSCI
GitHub Repository: UBC-DSCI/dsci-100-assets
Path: blob/master/2019-fall/slides/02_tutorial_class_activity.ipynb
2051 views
Kernel: R

DSCI 100: Introduction to Data Science

Tutorial 2 - Getting data into R: Class activity

2019-09-17

Class Activity

  1. Create a new R Jupyter notebook.

  1. Connect to the kickstarter database (same database as question 3.0 from tutorial). Remember to load the packages necessary to do so.

  1. Use the projects table from the kickstarter database to answer the following question: what is the project URL of the project from Great Britain (GB) with the greatest total amount pledged.

You must use all of the following functions once each: arrange(), collect(), filter(), select(), and tail().

  1. Post your code and final answer (project URL) to Piazza.

Solution

Question:

  • Should we use collect() before or after working the data into our desired form? Does it matter?