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.

Iug2015 watkins

1,051 views

Published on

Slides from IUG 2015 on using Open Refine to grab your permissions from Sierra Passwords and Authorizations.
Demo http://screencast.com/t/YMgY404F
GitHub with JSON code: https://github.com/whitni/IUG2015

Published in: Education
  • Be the first to comment

  • Be the first to like this

Iug2015 watkins

  1. 1. OPEN REFINE: E N H A N C E Y O U R S I E R R A A D M I N C O R N E R U X B Y : W H I T N I W A T K I N S
  2. 2. INTRO + =
  3. 3. INSTALL OPEN REFINE Download & Install OpenRefine Go to & Download: http://openrefine.org/download.html **If on Mac change system security settings to: Allow Apps to DL from Anywhere How to Launch OpenRefine WorkSpace if it doesn’t launch automatically Open Browser > Go to http://127.0.0.1:3333/
  4. 4. CREATE PROJECT - PASTE CODE FROM III • Need access to Sierra Admin Corner & User Permission 30 (password & authorizations) • Search for <span id=“If_40”> in permission source code • Select/Copy all code from <span id=“If_40”> to <span id=“For_527> 1. Click “create project” 2. Select “Clipboard” 3. Paste code copied from above.
  5. 5. SELECT CODE PORTION FOR PROJECT DATA Selecting XML element for parsing <option…>[code]</option>
  6. 6. APPLY A,B,C AND 1,2,3 FOR CLEAN-UP • Split Permission name & Number • Select column > edit columns > split into several columns > • Separator == ( • Split into 2 columns • Transform cells (GREL replace) • Edit Cells > Transform > GREL string { value.replace(“)”,” “) } • Remove unnecessary columns • Mass edit cells with Text Facet • Facet > Text Facet • Selected > edit > Assigned > apply • Blank > edit > Apply • Blank > All > Edit Rows > Remove all matching rows
  7. 7. EXPORT PROJECT TO COMP • Close all open facets and filters • Select Export > Select Format > apply internal formatting • Open local file listing only assigned permissions
  8. 8. EXTRACT JSON CODE • Click Undo/Redo tab on current project • Click extract • Highlight & copy JSON code • Save in Text Editor • Paste into New Project
  9. 9. • Create New Project • Select Undo/Redo tab • Click apply and paste extracted JSON • Select Perform Operations APPLY JSON CODE
  10. 10. OpenRefine Wiki : https://github.com/OpenRefine/OpenRefine/wiki GitHub Repos OpenRefine : https://github.com/OpenRefine/OpenRefine LODRefine (OpenRefine with Linked Data extension installed): https://github.com/sparkica/LODRefine JSON Code used in this Presentation: https://github.com/whitni/IUG2015 RESOURCES
  11. 11. END/CONTACT INFO Whitni Watkins wwatkins@stlawu.edu Twitter: @_whitni

×