Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Library Carpentry
Week One: Basics
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International...
Schedule
Week 1: Some Basics
Week 2: Controlling Data (with the Shell)
Week 3: Versioning Data (with Git)
Week 4: Cleaning...
Where to go for help
Stickers
Helpers
Sticky notes
github.com/LibraryCarpentry
@j_w_baker
Final admin
Same place, same time
Worksheets
Tea, coffee, snacks, food
Roam around
Wifi
@j_w_baker
Week 1: Some Basics
18:00-18:45 Jargon Busting
18:45-19:30 Foundations
19:30-20:15 Regular Expressions
@j_w_baker
Jargon Busting
Teams of 5 or 6
Write terms you want busting on stickies
Cluster (retaining duplicates)
Discuss and explain...
Foundations
The Computer is Stupid
Why automate
Keyboard shortcuts are your friend
Plain text formats are your friend
Stru...
Foundations
The Computer is Stupid
ERROR
@j_w_baker
Foundations
Why automate?
Borrow, borrow, borrow
There is no correct language
Professional development
Knowing some code ~...
Foundations
Why automate?
Credit: Andy Kirk
@j_w_baker
Foundations
Keyboard shortcuts are your friend
Efficiency and control
@j_w_baker
Foundations
Plain text formats are your friend
Computers process them better
Platform agnostic
Display orientated files ar...
Foundations
Structuring files and folders
Consistent and predictable data structure
Semantic-data hybrid directory names
Y...
Regular Expressions
Match on types of character
Match patterns
Capture the parts that match your pattern
@j_w_baker
Regular Expressions
organi[sz]e
organise (match)
organize (match)
reorganise (match part so will also find)
reorganize (ma...
Regular Expressions
[ABC] matches A or B or C.
[A-Z] matches any upper case letter.
[A-Za-z0-9] matches any upper or lower...
Regular Expressions
. matches any character at all.
d matches any single digit.
w matches any part of word character.
s ma...
Regular Expressions
^[Oo]rgani.e$
@j_w_baker
Regular Expressions
* matches proceeding character any
number of times including zero.
+ matches proceeding character any
...
Regular Expressions
^[Oo]rgani.ew*
@j_w_baker
Regular Expressions
[Oo]rgani.ew+$
@j_w_baker
Regular Expressions
^[Oo]rgani.ew?b
@j_w_baker
Regular Expressions
b[Oo]rgani.ew{2}b
@j_w_baker
Regular Expressions
b[Oo]rgani.eb|b[Oo]rgani.ew{1}b
@j_w_baker
Regular Expressions
Exercise
Teams of 5 or 6
Work through handout
Split into two teams and write:
- strings that need rege...
Next Week
Week 2: Controlling Data (with the Shell)
You will need a computer
Set-up instructions on Github
Log an issue if...
Library Carpentry
Week One: Basics
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International...
Upcoming SlideShare
Loading in …5
×

of

Library Carpentry. Week One: Basics Slide 1 Library Carpentry. Week One: Basics Slide 2 Library Carpentry. Week One: Basics Slide 3 Library Carpentry. Week One: Basics Slide 4 Library Carpentry. Week One: Basics Slide 5 Library Carpentry. Week One: Basics Slide 6 Library Carpentry. Week One: Basics Slide 7 Library Carpentry. Week One: Basics Slide 8 Library Carpentry. Week One: Basics Slide 9 Library Carpentry. Week One: Basics Slide 10 Library Carpentry. Week One: Basics Slide 11 Library Carpentry. Week One: Basics Slide 12 Library Carpentry. Week One: Basics Slide 13 Library Carpentry. Week One: Basics Slide 14 Library Carpentry. Week One: Basics Slide 15 Library Carpentry. Week One: Basics Slide 16 Library Carpentry. Week One: Basics Slide 17 Library Carpentry. Week One: Basics Slide 18 Library Carpentry. Week One: Basics Slide 19 Library Carpentry. Week One: Basics Slide 20 Library Carpentry. Week One: Basics Slide 21 Library Carpentry. Week One: Basics Slide 22 Library Carpentry. Week One: Basics Slide 23 Library Carpentry. Week One: Basics Slide 24 Library Carpentry. Week One: Basics Slide 25 Library Carpentry. Week One: Basics Slide 26 Library Carpentry. Week One: Basics Slide 27
Upcoming SlideShare
Scaffold 0c8be2a1 9996-490a-99c0-6ef40baed98a
Next
Download to read offline and view in fullscreen.

1 Like

Share

Download to read offline

Library Carpentry. Week One: Basics

Download to read offline

This deck is for Library Carpentry week one, held 9 November 2015 at City University London. Lesson materials are at https://github.com/LibraryCarpentry/week-one-library-carpentry

Library Carpentry is generously funded by the [Software Sustainability Institute](http://software.ac.uk/). The Software Sustainability Institute cultivates world-class research with software. The Institute is based at the universities of Edinburgh, Manchester, Southampton and Oxford.

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Library Carpentry. Week One: Basics

  1. 1. Library Carpentry Week One: Basics This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Exceptions: logos, embeds to and from external sources and direct quotations
  2. 2. Schedule Week 1: Some Basics Week 2: Controlling Data (with the Shell) Week 3: Versioning Data (with Git) Week 4: Cleaning Data (with Open Refine) @j_w_baker
  3. 3. Where to go for help Stickers Helpers Sticky notes github.com/LibraryCarpentry @j_w_baker
  4. 4. Final admin Same place, same time Worksheets Tea, coffee, snacks, food Roam around Wifi @j_w_baker
  5. 5. Week 1: Some Basics 18:00-18:45 Jargon Busting 18:45-19:30 Foundations 19:30-20:15 Regular Expressions @j_w_baker
  6. 6. Jargon Busting Teams of 5 or 6 Write terms you want busting on stickies Cluster (retaining duplicates) Discuss and explain Note resolved terms Note unresolved terms Report back @j_w_baker
  7. 7. Foundations The Computer is Stupid Why automate Keyboard shortcuts are your friend Plain text formats are your friend Structuring files and folders @j_w_baker
  8. 8. Foundations The Computer is Stupid ERROR @j_w_baker
  9. 9. Foundations Why automate? Borrow, borrow, borrow There is no correct language Professional development Knowing some code ~ evaluating software Making time to do fun stuff! Andromeda Yelton, "Coding for Librarians: Learning by Example", Library Technology Reports 51:3 (April 2015), doi: 10.5860/ltr.51n3 @j_w_baker
  10. 10. Foundations Why automate? Credit: Andy Kirk @j_w_baker
  11. 11. Foundations Keyboard shortcuts are your friend Efficiency and control @j_w_baker
  12. 12. Foundations Plain text formats are your friend Computers process them better Platform agnostic Display orientated files aren't your friend Markdown @j_w_baker
  13. 13. Foundations Structuring files and folders Consistent and predictable data structure Semantic-data hybrid directory names Your own system is fine Links files and directories with names You are the most likely person to forget what you once did! @j_w_baker
  14. 14. Regular Expressions Match on types of character Match patterns Capture the parts that match your pattern @j_w_baker
  15. 15. Regular Expressions organi[sz]e organise (match) organize (match) reorganise (match part so will also find) reorganize (match part so will also find) @j_w_baker
  16. 16. Regular Expressions [ABC] matches A or B or C. [A-Z] matches any upper case letter. [A-Za-z0-9] matches any upper or lower case letter or any digit. @j_w_baker
  17. 17. Regular Expressions . matches any character at all. d matches any single digit. w matches any part of word character. s matches any space, tab, or newline. b matches a word boundary. ^ defines the start of the string. $ defines the end of the string (starting with ^ and ending with $ will effectively find lines/cells that only contain your expression). @j_w_baker
  18. 18. Regular Expressions ^[Oo]rgani.e$ @j_w_baker
  19. 19. Regular Expressions * matches proceeding character any number of times including zero. + matches proceeding character any number of times excluding zero. ? matches the proceeding character one or zero times. {VALUE,VALUE} matches proceeding character a defined number of times. | simply means or. @j_w_baker
  20. 20. Regular Expressions ^[Oo]rgani.ew* @j_w_baker
  21. 21. Regular Expressions [Oo]rgani.ew+$ @j_w_baker
  22. 22. Regular Expressions ^[Oo]rgani.ew?b @j_w_baker
  23. 23. Regular Expressions b[Oo]rgani.ew{2}b @j_w_baker
  24. 24. Regular Expressions b[Oo]rgani.eb|b[Oo]rgani.ew{1}b @j_w_baker
  25. 25. Regular Expressions Exercise Teams of 5 or 6 Work through handout Split into two teams and write: - strings that need regex - regex that need outputs Test each other! @j_w_baker
  26. 26. Next Week Week 2: Controlling Data (with the Shell) You will need a computer Set-up instructions on Github Log an issue if you have trouble See you next week! @j_w_baker
  27. 27. Library Carpentry Week One: Basics This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Exceptions: logos, embeds to and from external sources and direct quotations ------------------------------------------------------------------------------------------------------------------------------------------------------------
  • Jennie103

    Nov. 10, 2015

This deck is for Library Carpentry week one, held 9 November 2015 at City University London. Lesson materials are at https://github.com/LibraryCarpentry/week-one-library-carpentry Library Carpentry is generously funded by the [Software Sustainability Institute](http://software.ac.uk/). The Software Sustainability Institute cultivates world-class research with software. The Institute is based at the universities of Edinburgh, Manchester, Southampton and Oxford.

Views

Total views

798

On Slideshare

0

From embeds

0

Number of embeds

6

Actions

Downloads

2

Shares

0

Comments

0

Likes

1

×