Chapter 6 Account Setup

Before we can get started doing fun things with data we need to make sure you are set up to use all of the different accounts that you will need throughout the course. We will tell you briefly what each of these accounts is used for and how to set it up now. If you don’t know what each of these accounts is for exactly, don’t worry! We will walk you through everything you need to know.

6.0.1 Choosing a Username

Choosing an appropriate username is important. Some combination of your first and last name is a good idea. For example, if your name were Jane Doe, a username such as “JaneDoe” or “Jane.Doe” would work. If the first username you attempt is taken, you can try another, similar username. In this case, maybe try “JDoe”.

But, be sure that whatever name you choose, you would be comfortable sharing it with your boss or family member. Usernames with nicknames or profanity are not a good idea.

What to Avoid in Usernames

6.0.2 Using a Consistent Username

Remembering different usernames for different accounts is difficult. It is best to make your life easy and use the same username whenever possible. We will make your life easy by using the Google Account you set up in the next section whenever possible. When it’s not possible to log in with Google, then we suggest you try to use the same username for each account.

6.0.3 Accounts

To give you an idea of where we’re going, the first account (and arguably the most important account) you set up in the next lesson will be a Google account. After that we will walk you through the steps to get you set up with accounts on:

  • LinkedIn - this is a site to share information about yourself with employers.
  • Twitter - this is a social media site that we will use to share our data science products and get support from the data science community.
  • Basecamp - this is a website where you will be able to chat online with your fellow students and instructors.
  • Posit Cloud - this is a website where you can use Rstudio, the main tool to learn data science.
  • GitHub - this is a website where we will share the results of our data science projects with each other and the world.

Accounts

6.1 Google Account Setup

The first and most important account we need to set up will be a Google account. You will need a Google account to be able to use free Google products. These Google products, such as Gmail, Google Docs, Google Sheets, and Google Slides will be useful in many of the Data Science projects you complete. The Google account will also be useful for letting you get access to other websites we will use in the program.

Google Products

If you already have a Google account with an appropriate username that you would like to use throughout this course, you can skip the next section and move to the “Log off Guest Chromebook” section. However, it’s probably best to create a new account dedicated to all your Data Science accounts, many of which you will set up in the next lesson.

6.1.1 Getting a Google Login

To get a Google account, you will first want to open a new tab in your current Chrome session. To do this, you’ll first click on the small gray box to the right of the tab you currently have open.

Go to this Google Accounts Sign In

Google Sign in

Begin filling in this form. Google will alert you if the username you’ve chosen has already been taken. Once you’ve filled out all the blanks, click on “Next” at the bottom right.

Recovery number

You will then be asked to verify your account. To do so, ensure that a valid phone number for you is in the ‘Phone number’ box. Select whether you prefer to be contacted by “Text message (SMS)” or ‘Voice Call’. Click ‘Continue’ once the information has been entered. You will then be sent a verification code by text message or by phone call, depending on your choice to this question. Enter the verification code into the box on the screen and click “Continue”.

You’ll also be asked to agree to Privacy and Terms. Scroll all the way down and click “I Agree”.

Congratulations!! You now have a Google username and account! Be sure to remember your username and password! This will be used for your email address (Gmail) and all other Google products.

Google Welcome!

6.1.2 Log Off Guest Chromebook

At this point, you’ll want to log off the Chromebook you’re using as a Guest and sign in using your Google Username. To do so, click on ‘Guest’ at the very bottom right-hand of the screen. Click ‘Exit guest’ on the screen that pops up. This will log you off of the Chromebook so you can re-login in using your Google account.

Chromebook Log Off

6.1.3 Re-Login using Google Account

You will now be on the Chromebook login screen. To sign in using your Google account, click ‘Add person’ at the bottom of the login screen.

Chromebook Add Person

A ‘Sign in to your Chromebook’ screen will open.

Chromebook Sign in

Enter your new Google account name here. Click ‘Next’. Enter your password. Click ‘Next.’ You will now be logged on. Anytime you work on this Chromebook now, you will simply log in using your new Google account.

6.2 Using Gmail for Email Communications

Communication with your clients or your employer is an important part of being a data scientist. E-mail, short for electronic mail, is an important part of the communication picture because of its flexibility. You can write messages of varying lengths, use formatting if you desire, and attach documents as needed. Depending on your particular work situation, email may be your main means of communicating about your work.

When using a Chromebook, the email application of choice is Gmail. Gmail is a free e-mail service provided by Google that provides users with a gigabyte of free storage for messages and includes the ability to easily search for specific emails. Gmail also automatically organizes related emails into a conversational thread, meaning that a message and all replies to that message are stored together.

Gmail has many of similarities with other web-based email clients, such as Hotmail and Yahoo! Mail. If you regularly use email through an internet browser, much of the following will be review.

6.2.1 Accessing your Gmail Inbox

Gmail is included with your Google account, so you should already have access to Gmail through the account you set up in your first introductory course. Your email address will be username@gmail.com, where username is the username of your Google account. For example, if your user name is Jane.Doe then your email address would be Jane.Doe@gmail.com. This is one reason to choose an appropriate user name, since this email address will be visible to anyone you communicate with over email!

You can access Gmail by going to the address “https://www.gmail.com” or by clicking on the start menu located on the lower left hand corner of your Chromebook and searching for “Gmail”. If you are not already logged into your account, you will see a prompt similar to the one here.

Login screen

After inputting your Google username and password you will be able to see your inbox. If you are already logged into your Google account, you will be brought immediately to your inbox without the need to first log in.

Inbox

Your inbox shows you all of the messages you’ve received through Gmail. Messages you have already read are shaded gray, while those you haven’t read yet are white. You can open a message to read it by clicking on the message stripe.

By default, Gmail organizes your emails into three groups: Primary, Social, and Promotions. You can switch between these groups using the tabs at the top of the screen.

Tabs

The “Primary” tab will contain the majority of the email messages that you will care about reading and responding to. The “Social” tab will contain messages related to social media, such as messages from Twitter, LinkedIn, and Facebook. The “Promotions” tab will contain messages that include offers for purchasing products or signing up for services. Gmail uses machine learning to put new messages into the appropriate tab. As mentioned before, the “Primary” tab will be the main focus of using your email as a data scientist.

One nice feature of Gmail is that it organizes related emails into a conversational thread. The message indicated by the red arrow is an example of a conversational thread, where an original message and all of its replies are grouped together.

Inbox indicating thread

By clicking on this message, you can see all of the individual messages that make up the email conversation, and can open each individual message by clicking on it.

Example email thread

6.2.2 Composing and Sending Emails

Let’s say you want to send an email to a client. The first step is to start a new message by pressing the “Compose” button on the top left corner of your inbox.

Compose button

A box will pop-up where you can enter the recipient’s email address (in the To field), the subject of the email, and the content of the email.

New message

You can send an email to multiple people by entering all the emails one after another in front of To. You can also add recipients in the Cc (carbon copy) or Bcc (blind carbon copy) fields by clicking on either of these links to the right of the To area. Recipients who are copied (Cc) will receive the email as if it is addressed to them; this option in usually used if you want them to be aware of the message but aren’t expecting them to take any action or reply. Recipients who are blind copied (Bcc) will receive the message, but their email addresses won’t be visible to other recipients of the email. This option is often used when sending an email to a long list of recipients where you don’t want each individual to see the other people on the email.

You should also include a short informative subject in the Subject area so that the recipient will know what the contents of the email are about. This is also helpful later when you may want to search your email to find a particular message.

There are also a few buttons in the menu bar at the very bottom of the email box that are very helpful. The attachment button, which looks like a paperclip, can be used to attach a file from your computer (such as an image, a document, or a video) to your email message.

Attachment from computer

You can also attach a file from Google Drive to your message by clicking on the Google Drive button, which looks like a triangle. Google Drive is Google’s file hosting service and you will learn more about it in a later lesson.

Attachment from Google Drive

You can send attachments up to 25 MB in size through Gmail. If you have more than one attachment, they can’t add up to more than 25 total. If your file is greater than 25 MB, you can instead upload the file to Google Drive and share a link to the file over email instead of including it as an attachment.

Other options in this menu bar include inserting a photo (with the picture button), inserting a link (with the chain button), emojis (with the smiley face button), or even sending money (with the dollar sign button).

Other menu options

There are also many formatting options available for your email message, such as changing the font type and size, bolding text, including bullet lists, and more. These formatting options are similar to those available through Google Docs, which you will see in a later lesson, so we won’t spend time on them now. But you can find these options under the format button, which looks like an uppercase A with a line under it.

Formatting options

Finally, once you are ready to send your message, click the “Send” button at the bottom left of the message box. If you type an email but change your mind about sending it, you can delete the email by clicking on the trash can button in the bottom right corner of the new message box.

Send or discard draft

If you close the new message box without deleting it, it will automatically be saved as a draft message, and you can find it under the “Drafts” link in the list of link on the left-hand side of your inbox.

Drafts

6.2.3 Replying to a message

To read an email message, simply click on the message stripe. If you want to reply to the message, you can scroll to the bottom of the message to the reply box. To reply, simply click in the box and start typing your response. After writing your response to the email click the send button and you are done!

Reply

To forward the message to someone else, click on the “Forward” link and type the new recipient’s email address in the “To” area. You can then click in the message box to add a note to the forwarded message.

If there is more than one other person on the email, you will also have any option to “Reply to all”, which means that your response will be sent to all the people who were on the original email. Use this option with caution, and only when you need all of the people to see your response.

6.2.4 Searching for specific messages

To find a particular email message in your inbox, you can search using the search box at the top of the Gmail screen. Searching your Gmail inbox is very similar to searching the internet using Google. You can search by a word in subject of the email, the name of the person who sent the email, or the content of the email. For example, to find all messages from John Doe, you could type “from:john.everyday.doe@gmail.com” in this search box. To find messages that include the words “cancer data”, you could type “cancer data” in this search box.

Search Box

If you click the down arrow next to the search box, you will open a window that allows more specific options, such as searching by either sender or recipient, searching for specific words in the subject line, or searching by whether the message includes or doesn’t include certain words. You can also specify specific dates to search for messages.

Advanced search

6.2.5 More specifics on using Gmail

We have touched very briefly on some of the basics of using Gmail: accessing your account, sending and replying to messages, and searching for a particular message. There are lots of other features of Gmail that you may want to explore now or at a future time. There are many good beginner tutorials on using Gmail on YouTube.com.

Google also has extensive information on getting started with Gmail on Google Workspace Learning Center, which can be found at the following web address: https://support.google.com/a/users/answer/9297685. In this tutorial, you can find additional information about creating and sending email messages, organizing your inbox, searching your email, and more!

6.3 Google Drive

Google Drive is a cloud storage service. It enables you to store files (including documents, data, images, videos, and presentation slides) online. You can also edit many of these files directly online, without needing to download them to your computer or upload them back to the cloud. One of the major benefits of Google Drive is the ability for multiple people to edit the same files at the same time. This makes Drive a useful tool for collaboration, with is very important to a data scientist.

6.3.1 Accessing your Google Drive account

Like Gmail and Calendar, Google Drive is included with your Google Account. You can access your Drive account by going to the address “https://www.google.com/drive/” or by clicking on the start menu located on the lower left hand corner of your Chromebook and searching for “Drive”. You will see a welcome screen like this.

Drive welcome screen

Click the “Go to Google Drive” button to be taken to your Drive account. If you are already logged in to your Google account, you will go directly to Drive. If not, you will be prompted to log in with the username and password for your Google account. Here you can see Jane’s Drive directory. She currently has four documents stored on her Google Drive: a presentation in Google Slides, a dataset in Google Sheets, an image, and a document in Google Docs. To open any document from Drive, simply double-click on the document itself.

Google Drive directory

6.3.2 Organizing files in Google Drive

In Jane’s Drive account, you can see that she simply has each document shown individually without any file organization structure. This is fine when you have only a small number of documents. However, if you use Google Drive to store lots of documents you will need a file structure to keep things organized and to quickly find the documents you need. In general, we strongly suggest that you create folders to keep similar files together.

In this course, we will simply go over the basics of organization in Google Drive. You will learn about good practices for organizing files for projects in a later chapter, which will include how to chose a folder structure and naming conventions for files and folders.

First, let’s create a new folder. Click the “New” button in the top left corner of the Google Drive home page and then select “Folder.” A new window will open. Type the name of your folder, in this case “Cancer project,” and click the blue “CREATE” button.

Create folder

You can now see this new folder under the “Folders” section of your Google Drive home page. To access the files in this folder, you would double-click on the folder name.

Folders section

Now that you have created a folder, you can start adding files to it. Suppose you want to move the Google Slides presentation “Exploratory plots for cancer project” to this “Cancer project” folder. In the Google Drive home page find this presentation file and right click on it. A menu will open; choose the “Move to” option and then select the folder, “Cancer projects,” that you want to move it to. If don’t already have a folder, you can create one in the menu by clicking on the folder icon.

Moving a File to a Folder on Google Drive

You can also drag a file to a folder. Just click the mouse button to select a file and while keeping the mouse button pushed down move the file over to the folder and release the button.

6.3.3 Creating files in Google Drive

So far we have only moved existing files to a folder. You can create a new file in Google Drive by clicking the “New” button in the top left corner of the Google Drive home page and then selecting the type of file you want to create. You can choose a “Google Doc” for a word-processing document, a “Google Sheet” for a spreadsheet, a “Google Slides” for a presentation, or other choices from the “More” menu. Once you’ve selected your file type, a new window will open with your new file. From here you can begin to edit your file; specific types of Google files will be covered in later lessons. Files in Google Drive are automatically saved to the folder you are in when the file is created. So if you create a new file from your home page, the file will be saved there. If you create a new file the “Cancer project,” the file will be saved to that folder. Remember that you can always move a file to a particular folder as shown before.

Create file

6.3.4 Uploading files to Google Drive

You can also upload files or folders from your computer to Google Drive. To do this, you again click the “New” button in the top left corner of the Google Drive home page and then select either “File upload” or “Folder upload.” Once selected, a window will open that will allow you to navigate to the file or folder you’d like to upload.

Upload file or folder

6.3.5 Deleting Files and folders

Deleting files and folders is easy on Google Drive. Simply right-click on the file you would like to delete and choose “Remove” from the menu. Be careful when deleting folders, though! If you delete a folder, all the files in it will be deleted as well.

Delete file

You can delete multiple files or folders at once by first selecting them all while holding the Ctrl key. Once selected, you can right-click and delete them with the “Remove” option on the menu.

6.3.6 File Recovery

If you do accidentally delete a file or change your mind once it’s deleted, recovering a removed file on Google Drive is straight-forward. Deleted files are moved to the Trash folders within Google Drive. To recover a file, simply click on the “Trash” link on the left-hand menu.

Trash folder

In Trash you can see a list of all the files that you have previously removed. Right-click on the file you want to recover and select “Restore.” The file when they be returned to its original folder on Google Drive. If you’re sure that you won’t need the file ever again, you can clear some storage space by right-clicking on the file and choosing “Delete forever” from the menu. This option is only available within the “Trash” folder. Use this option with caution! By doing this your files will be deleted forever from your Drive and can no longer be recovered.

6.3.7 File Sharing

One of the biggest advantages of Google Drive is the ability to share files and folders with other people. You can share individual files and folders that you store in Google Drive with anyone by using their email address (preferably their Gmail account). You can allow those people the permission to either edit, comment on, or only view the file. Permission to edit gives the person freedom to delete the file or change it in any way. Permission to view will only allow the other person to read the file, but they won’t be able to change it. Permission to comment allows the other person to insert comments on the file, but they won’t be able to edit the file itself. To share a file or folder, just right click on the file or folder and select “Share” from the menu.

Sharing files and folders on Google Drive

In the window that opens, enter the email address of the person you want to share the file/folder with and choose whether the person can edit, comment, or only view the content.

If for some reason you want to stop sharing a file or folder that you have already shared, right click on the file and choose “Share” again. In the bottom right corner of the window that pops up, click on Advanced. There you’ll see a list of people with whom you’ve shared the file. To the right of each name or email there is an X. By clicking on it, you will remove access of that person to the file. Click “Save changes” when you’ve finished removing access.

6.3.8 Working Offline

The main advantage of cloud storage like Google Drive is that all of your files are stored online and are accessible whenever you want them. But what do you do when you don’t have access to the Internet and want to access your files offline? If you know in advance you will be without internet access, you can easily make Google Drive files available offline on your Chromebook. To do so, follow these steps:

First, when online, install the Google Docs Offline extension by clicking on ‘Add to Chrome’. If the button says “Added to Chrome,” you’ve already installed the extension.

Google Drive extension for Chrome

Next, go to Google Drive settings and in the “Offline” area, make sure the box is checked. It might take a few minutes for the offline access setting to turn on.

Offline settings for Drive

You are now ready to work on your files offline! Any changes will sync to Google Drive the next time your Chromebook connects to the Internet.

6.3.9 Storage limit

Your Google Drive account comes with 15GB of free storage. If this is not enough space, you can pay for more space. But don’t worry, for the purposes of this DataTrail course and many other purposes, you shouldn’t need to buy any storage. Note that the free 15GB is shared among all Google services, including Gmail and Drive, so, part of your storage may be used by your email attachments. You can see how much storage you are using in the lower part of the left-hand menu on your home page. There is also a link here to purchase additional storage.

Storage information

6.3.10 Security

Google Drive encrypts your data before storing it. Encryption is any method that converts data to to encoded version for security purposes. Drive is encrypted using SSL, the same security protocol used on Gmail and other Google services. However, you’re still responsible for securing your Google account.

Two-Step Verification (also known as two-factor authentication), provides an extra layer of security to your account. This requires you to enter your password and on top of that enter a code that is sent to your phone or email. You’ve learned about two-step verification in a previous lesson; we strongly recommend you use Google’s two-step verification to secure your files on Google Drive.

Two-Step Verification setup

6.3.11 More specifics on using Google Drive

In this lesson, we have talked briefly about how to create files and folders in Google Drive, as well as how to delete, recover, and share your files. There are many other features of Drive that you may want to eventually explore. There are many tutorials for using Drive on YouTube.com.

Google also has extensive information on getting started with Drive on their Google Workspace Learning Center, which can be found at the following web address: https://support.google.com/a/users/answer/9282958.

6.4 Other Accounts Setup

In addition to having a Google username, there are a number of other accounts to which you’ll need access. By the end of this lesson, you will have set up a number of different accounts. While this may seem like a lot of work now, it will get you set up with all the accounts you’ll need throughout this series of courses. The time you spend now will pay off later! Right now, we’ll walk through each one briefly, get you set up with an account, and discuss what the account is used for.

6.4.1 LinkedIn Account

LinkedIn is a social networking site for employment. Think of it as Facebook for getting a job. It allows you to put your qualifications online (like an online resume), has a space where you can look for jobs, and can put you in contact with employers. Don’t worry about the details now. Through this program, you will have the chance to set up your LinkedIn gradually. For right now, we’re just worried about getting this account set up.

To begin set up, you’ll go to the web address bar in your Chrome browser. You will type www.linkedin.com and hit ‘Enter.’

LinkedIn website

This will bring you to LinkedIn’s login screen. Click on ‘Continue with Google’ to create your LinkedIn account with your Google/Gmail account.

gmail account

You will be asked to login to Gmail.

gmail website

You may be asked to verify that you are not a robot.

gmail website

You may also be asked a series of other questions about where you are located and whether you are looking for a job. Answer these questions about yourself.

You now have a LinkedIn username and account! There is a lot more personalization you will want to do with your LinkedIn but this will be good for now! We will now go through similar processes for the other accounts needed in this program.

6.4.2 Twitter Account

The second account you will need will be a Twitter account. You may already be familiar with Twitter; however, data scientists tend to use Twitter for work rather than socializing. Twitter is a social media platform where users can “post and interact with messages.” These messages are known as ‘tweets.’ Twitter is a great place to learn new things, connect with other data scientists, and to ask/answer questions quickly.

You will need a professional Twitter account for our program. If you already have a Twitter account you use for personal tweets and communicating with friends you should still create a new, professional account where you will only post professional links and interact with other data scientists.

To get a Twitter account, first type ‘www.twitter.com’ in the search bar at the top of your Chrome session.

Twitter website

To sign up, use your Google Account again

Twitter sign in

Continue to confirm your Google Account:

Twitter sign in

You will need to give it your phone number as well as your birthday to verify your identity.

Then, this will bring you to a screen where you will choose a username. This will be what your Twitter ‘handle’ will be. For simplicity, it would be best for your Gmail username and Twitter handle to be the same (ie if your Gmail address is Jane.Doe@gmail.com, ‘Jane.Doe’ would be a great Twitter username). If that name is unavailable, choose a different, but appropriate and simple, Twitter username. Once you have chosen a Twitter username, click ‘Next’.

Twitter username

Twitter will ask you a series of questions to ask you your preferences. Because this will be your professional account, you may want to follow “data science” topics.

Congrats! You now have a Twitter account!

6.4.3 Basecamp Account

BaseCamp is a place where teams of people can easily communicate and work together on a project. As a data scientist, you are often working in a group on a project. Basecamp is a place where everyone working on that project can communicate. Basecamp is where communication throughout this course will happen. You will be able to ask questions, answer questions, and communicate with others on Basecamp about the things you are learning and the projects you are working on.

To get a Basecamp account, you will first open a new tab in your browser by typing ctrl+t. Once you have a new tab open, you will type ‘www.Basecamp.com’ at the top of your browser in the web address bar.

Then on the Basecamp home page, click on “Customer Login”.

Basecamp Get Started!

Choose “Sign in with Google”.

We won’t be signing into any workspaces yet; however, later in the program, when we do, you will have an account! That’s all you need to do with Basecamp for now!

6.4.4 Posit Cloud Account

As a data scientist A LOT of your work will be done in something called RStudio. In this program, you will be learning the basics of the programming language, R. R is a free programming language for statistical computing and graphics. In other words, the code you write to work with data will all be done in R. Posit Cloud is the place (or ‘platform’) where you will type this code and make basic plots.

Luckily, Posit Cloud makes it easy to sign up. You will first go to ‘posit.cloud’. Note: This web address does not start with ‘www.’

posit.cloud web address

This will bring you to a screen where you can click on ‘Get Started.’ This will bring you to a login screen where, instead of typing in your information, since you already have a Google account, just click on ‘Sign up with Google.’

posit.cloud sign up with Google

You will be prompted to choose which Google account you want to use. Choose your professional Google account. Then, you will be brought to a screen where you will have to enter a username. Again, for simplicity, try to use the same username across all accounts.

posit.cloud choose account

Then, click ‘Create Account’ and you’re all set! You now have an Posit Cloud account!