Skip to content

Commit

Permalink
Merge pull request LibraryCarpentry#250 from katrinleinweber/243-note…
Browse files Browse the repository at this point in the history
…-transformation-side-effects

Highlight downsides of toTitlecase
  • Loading branch information
ostephens authored Nov 3, 2022
2 parents 2badbc4 + 16f101d commit 52ed977
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions _episodes/08-writing-transformations.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ Next to the 'Preview' option are options to view:
>7. In the Expression box type ```value.toTitlecase()```
>8. In the Preview pane under value.toTitlecase() you can see what the effect of running this will be
>9. Click ```OK```
>0. Find examples of titles that are still not correct, or have been incorrectly cased (abbreviations, species names, etc.)
{: .checklist}
7 changes: 7 additions & 0 deletions _extras/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,10 @@ ____
* If they need to diagnose failure to fetch the content from the URL they can check the "Store error" option in the "Add column by fetching URLs" dialogue and try looking at the common problems listed in the [documentation](https://docs.openrefine.org/manual/columnediting#common-errors)

* The data for this lesson was pulled from DOAJ in 2015 and may not reflect the same data currently available from DOAJ on the day of your workshop.

## Poweful transformations

* In the titlecase exercise, highlight the fact that
each transformation can have unintended side effects,
and advise that running one cleanup operation too few
may sometimes be preferable to one too many.

0 comments on commit 52ed977

Please sign in to comment.