Skip to content

Commit

Permalink
markdown source builds
Browse files Browse the repository at this point in the history
Auto-generated via {sandpaper}
Source  : a7e7c8a
Branch  : main
Author  : Jennifer Stubbs <52942431+jas58@users.noreply.github.com>
Time    : 2023-06-27 13:19:16 +0000
Message : Merge pull request #290 from ostephens/instructor-notes-fix

Fixes to instructor notes in 06 and 11
  • Loading branch information
actions-user committed Jun 27, 2023
1 parent d21cd47 commit 094711e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 15 deletions.
14 changes: 9 additions & 5 deletions 06-working-with-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,15 @@ Unlike in Excel, 'Sorts' in OpenRefine are temporary - that is, if you remove th

You can sort on multiple columns at the same time by adding another sorted column (in the same way).

> \##Separator
> Do not rush these last two sentences. Repeat them slowly after a pause and allow learners to explore a moment, even see the growing undo list
> {:.instructor}
:::::::::::::::::::::::::::::::::::::::: instructor

## Sorting and Reorder Rows Permanently

Do not rush these last two sentences. Repeat them slowly after a pause and allow learners to explore how sorting works for a moment.

Although the "Undo/Redo" tab is not introduced until episode 9, it may be worth noting that applying a sort does not count as a change to the data because removing the sort will restore the data to its original order. However, once you select "Reorder Rows Permanently" this does count as a data change and adds an entry to the Undo/Redo history.

::::::::::::::::::::::::::::::::::::::::::::::::::

:::::::::::::::::::::::::::::::::::::::: keypoints

Expand All @@ -51,5 +57,3 @@ You can sort on multiple columns at the same time by adding another sorted colum
- The original order of rows in OpenRefine is maintained during a sort until you use the option to Reorder Rows Permanently from the Sort drop-down menu

::::::::::::::::::::::::::::::::::::::::::::::::::


22 changes: 14 additions & 8 deletions 11-using-arrays-transformations.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ exercises: 15

The following example is chosen to demonstrate how to go from a list with duplicated values to a list with each value just once by using an array in a transformation.

> ## Caution
>
> Ask the students what transformation means to them currently. Many may only know it from Excel to convert columns into rows or vice versa. Discuss how in OpenRefine, transformation is specifically the working window--these values are neither stored nor displayed in the cells or output.
> {:.instructor}
:::::::::::::::::::::::::::::::::::::::: instructor

## Different meanings of 'transformation'

Ask the students what transformation means to them currently. Many may only know it from Excel to convert columns into rows or vice versa. Discuss how in OpenRefine, transformation is specifically the working window--these values are neither stored nor displayed in the cells or output.

::::::::::::::::::::::::::::::::::::::::::::::::::

It does this using a function called uniques() which can be used to remove duplicates from an array. In this example we start with a list of subject words:

Expand Down Expand Up @@ -98,10 +101,13 @@ value.split("|").uniques().join("|")

Taking the same example again, this would result in a string with the subjects in alphabetical order, listed with commas between each subject.

> ## Caution
>
> Recall previous discussion of dangers of changing separators--especially commas. Possible question to pose: Which subject would be broken if a hyphen were used as a separator?
> {:.instructor}
::::::::::::::::::::::::::::::::::::::: instructor

## Recap on best practice for separators

Recall previous discussion of dangers of changing separators and ensuring you avoid using a separator character that is already used in the text. A possible question to pose to learners could be: Which subject would be broken if a hyphen were used as a separator?

::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::: checklist

Expand Down
4 changes: 2 additions & 2 deletions md5sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"episodes/03-working-with-data.md" "9fd771f3ba64945efac2568a8ed6a36c" "site/built/03-working-with-data.md" "2023-05-01"
"episodes/04-faceting-and-filtering.md" "176aa9aaaee9fc510a7d183d86f0d65b" "site/built/04-faceting-and-filtering.md" "2023-05-01"
"episodes/05-clustering.md" "bb2c3c37f51c4f56bf2de68f2e207bb4" "site/built/05-clustering.md" "2023-05-01"
"episodes/06-working-with-columns.md" "9578e7098634c57c375b3987b0576b99" "site/built/06-working-with-columns.md" "2023-05-01"
"episodes/06-working-with-columns.md" "fa1a835a4f93dbbf0204aa296ca35d78" "site/built/06-working-with-columns.md" "2023-06-27"
"episodes/07-introduction-to-transformations.md" "06bc0adfa41c146189c0bcb2da51e4f7" "site/built/07-introduction-to-transformations.md" "2023-05-01"
"episodes/08-writing-transformations.md" "b69d3a52f8de4655d7c8695d95d5821d" "site/built/08-writing-transformations.md" "2023-05-01"
"episodes/09-undo-and-redo.md" "9dba6d90cc6d8d9d5381cb537006b63e" "site/built/09-undo-and-redo.md" "2023-05-01"
"episodes/10-data-transformation.md" "47399b9f87a7c2dfae1d6b67eea71cc7" "site/built/10-data-transformation.md" "2023-05-26"
"episodes/11-using-arrays-transformations.md" "37b0e7433eb2d470057f17cbf5af4605" "site/built/11-using-arrays-transformations.md" "2023-05-01"
"episodes/11-using-arrays-transformations.md" "0a72814d1256acbed6a6113a741317c6" "site/built/11-using-arrays-transformations.md" "2023-06-27"
"episodes/12-export-transformation.md" "aa6dd576a893a0870baa24611573e50b" "site/built/12-export-transformation.md" "2023-05-01"
"episodes/13-looking-up-data.md" "116c8f2a94a81ff9b8649811e1be658c" "site/built/13-looking-up-data.md" "2023-05-01"
"instructors/instructor-notes.md" "616df143615c98dd1ecf47653a358c3d" "site/built/instructor-notes.md" "2023-05-01"
Expand Down

0 comments on commit 094711e

Please sign in to comment.