Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
Complexity
Complexity
nameIntermediate
nopaneltrue


Note
titleRequired Tools
  • Central Google Account - If you do not have a departmental google account, it would be a good to set one up. We recommend that you NOT use your personal google account. Create Google Account Now 
  • Google Sheets - tool for organizing and storing course schedule data (https://docs.google.com/spreadsheets/)
  • Google Data Studio - reporting tool that we will use to generate nice table styles (with auto-sorting clickable columns)

Students often need to reference a schedule of courses for each semester. Currently the only way to see an up to date course schedule is for students to download the single PDF schedule file for all UGA courses and search for the course acronyms. The file is very large and difficult to use on a mobile device. 

This documentation will walk you through the steps of creating a filterable spreadsheet of courses that you can link up to your departmental web site. 

Example of a Filterable Spreadsheet: Demo Course Schedule Link

Please Note: We are no longer using Awesome Table for styling the course schedules, as they started charging per page view. We will have some better options in the near future. For now we will be linking the Google Docs and allowing them to view the course schedules in this formatare now using Google Data Studio to style the schedules.

Step-by-

step guide

Step Guide

This document will be broken down into two three sections:

  1. Creating Course Schedule Spreadsheets Link Schedule from your site
  2. Creating the Report in Google Data Studio
  3. Creating a Basic Page in Your Drupal Site and Embedding the Report

Table of Contents
minLevel2
indent20px
stylesquare

Section 1: Creating Course Schedule Spreadsheets

Step 1: Create Google Spreadsheet

Using your central google account, create a google spreadsheet which will contain the data for your course schedule for the upcoming semester. Label the spreadsheet by the semester and year. 

We recommend a format like this: 

Image RemovedImage Added

The first row represents the field names and the 2nd row is needed to identify which fields will be filterable in the final product. Any field which has "StringFilter" below it, will be filterable. 

Here is a link to this example file if you want to duplicate it for your use. To copy it, click the link below, then choose from the menu "file > create a copy" and choose where you want to put the file in your google drive. 

https://docs.google.com/spreadsheets/d/1uWuBFN13l3e8r6NggecA8EjGmUkaaw-03G60dSX3a6U/edit?usp=sharing

Step 2: Populate

your course data

Your Course Data

Enter all the relevant data for each course into this spreadsheet. Image Removed

Image Added

Section 2: Creating the Report in Google Data Studio

Step

3

1: Connect the

spreadsheet

Spreadsheet to Google

DataStudio

Data Studio

Go to datastudio.google.com.

Image RemovedImage Added

Select a blank report.

Image RemovedImage Added

It will then ask you to add data to the report via various types of data connections.

Image RemovedImage Added

You want to connect it to Google Sheets.

Image RemovedImage Added

Google will then walk you through the process of connecting to the correct Worksheet, then the correct Sheet within the worksheet (which will presumably be the default sheet, unless you've added more).

Image RemovedImage Added

Image RemovedImage Added

Image RemovedImage Added

Image RemovedImage Added


Once you have completed this process, DataStudio will set up a default table view with its best guess as to what type of report you wanted.

Image RemovedImage Added


Step

4

2: Set

up your tables

Up Your Tables in Google DataStudio

So, the initial guess is missing a lot of what you want. We will focus our attention on the right hand side of the screen:

Image RemovedImage Added

You will want to remove the Record Count entry from the Metric section (so that no metric is listed).

Image RemovedImage Added

When you hover over that section, an X appears (so that you can delete it). This is a common part of the user interface; you can use it for removing most other dimensions you don't need (if you make a mistake and include them).

Image RemovedImage Added

You can drag any of the "Available Fields" over to the Dimensions.

Image RemovedImage Added

Image RemovedImage Added

Or, you can click "Add dimension" to add them under the Dimensions heading.

Image RemovedImage Added

As you add the dimensions, they get added to the table automatically.

Image RemovedImage Added

You will want to expand the table to see the entries more clearly. 

Image RemovedImage Added

Now, you may notice there's a row number being displayed (that isn't listed under Dimensions). To remove this, you need to go to the Style tab on the right:

Image RemovedImage Added

Scroll down a bit, and you will see a checkbox (in "Table Body") for row numbers. Deselect that checkbox.

Image RemovedImage Added

Much better! (This is also a good time to check and see if you want to reorder the columns, as I do; just drag and drop the items in the Dimension table to reorder.)

Image RemovedImage Added

Let's put that course number on the left:

Image RemovedImage Added

Also, you will probably want to change the default Sort order from this:

Image RemovedImage Added

to this:

Image RemovedImage Added

There are other options one can add (including filters and controls), but we will save that for another document. At this point, you should be about ready to embed the report.


Step

5

3: Set

up embedding

Up Embedding to the Google DataStudio

report

Report

Under the File... menu at the upper left, there's an Embed option, where you can generate either an embed code or an embed URL:

Image RemovedImage Added

This tutorial assumes you will want an embed code (note the width and height parameters – you may want to change that later on, and this is where you can).

Image RemovedImage Added

You also should make sure that outsiders can see the report you've created. Go to File...Share...

which will bring up the Sharing with others tab (which can be useful for adding additional editors):

Image RemovedImage Added

Change to the Manage access tab:

Image RemovedImage Added

and change the Link Sharing dropdown to "Anyone with the link can view" (NOT edit):

Image RemovedImage Added

Step 6

Section 3:

Create

 Creating a

basic

Basic page in Your Drupal Site and

embed the Google DataStudio report

Embedding the Report

Step 1: Create a Basic Page

In your site, click Add content, then choose "Basic page" as the type of page

Image RemovedImage Added

Step 2:

Enter content into fields

Embed the Report

In the body of your document, paste the embed code from Google Data Studio (which is always available under File...Embed), along with any other text you need. (You might find it easier to do this in Source view; click the Source button to see and edit directly the HTML.) 

Step 3: Save the

page

Page

Save the page and place it in the menu structure, as needed.



Insert excerpt
Drupal Support
Drupal Support
nameLogin
nopaneltrue

Insert excerpt
Franklin OIT Self Service Website
Franklin OIT Self Service Website
nopaneltrue