openrefine


OpenRefine split on character in multivalue cell


I am new to using OpenRefine, and I cannot figure out how split a multivalue cell on each character in the cell. For example, I cannot split a cell with value "mod" in to three rows: one with "m", one with "o", and one with "d".
When the data has a delimiter is present (e.g., "m,o,d"), splitting is easy. However, I deal with a lot of dental data in which you have of a tooth number in one cell (e.g., "3") and the tooth surfaces represented as a string (e.g., "mod"). In this case, "m" is for the mesial surface of a tooth, "o" is for the occlusal surface of a tooth, and "d" is for the distal surface of a tooth.
In python, I know I can get separate characters using list(); e.g., list("mod") returns ["m", "o", "d"]. Can I do something like this in OpenRefine?
I think the simplest way of doing this in OpenRefine is:
value.split(//)
The use of an empty regular expression in the 'split' function splits the string up into individual characters

Related Links

Lost all my files on Openrefine [closed]
freebaseapps reconciliation stuck in Open Refine 2.6
OpenRefine - add sequence number, reset for each record
How to transpose cell data by section in Open Refine?
OpenRefine columnwise scripting
Remove content inside parentheses
Extra blank space between words
forNonBlank function in OpenRefine
Import columns to existing OpenRefine project
Bulk replace text in all columns
Split multi valued cells in more than one column into rows (Open Refine)
OpenRefine - Fill between cells but not at the end of the list
Reconciliation services for OpenRefine not working?
Appending a specific string in GREL
How to extract ONLY lat, lon values for node “osm_type”:“node” in a Nominatim response using Google Refine
Replace null cell with space character

Categories

HOME
multithreading
variables
deployment
mfc
rsyslog
malloc
constraint-programming
podio
webrequest
gitpitch
maude-system
vifm
flask-wtforms
quartz-scheduler
serverless-framework
django-simple-history
workload-scheduler
pc
text-rendering
visual-composer
zapier
telerik-reporting
mmap
apache-commons-io
intel-pin
social-media
strncpy
buck
windows-server-2000
hybridauth
mpmediaquery
wpf-controls
ios5
adobe-premiere
space-complexity
hue
opshub
sas-visual-analytics
gpx
segment
galleria
wso2carbon
angular-resource
atomicity
pebble-watch
idisposable
django-scheduler
quartz-composer
background-service
radtreelist
underscore.js-templating
mikroc
sigabrt
essence
oauth2client
r-tree
jms2
intel-fortran
sdhc
cannon.js
citrus-pay
iis-arr
ios9.1
ami
bridge.net
nsmutabledictionary
offloading
clicktag
network-interface
codeigniter-routing
device-manager
html-helper
responsive-slides
openexr
transcoding
typo3-neos
html5-notifications
terminal-services
multiprocessor
ivyde
runtime.exec
quartz-graphics
html4
eventual-consistency
rabl
interface-orientation
http-unit
first-responder
tridion-worldserver
onsubmit
getmessage
eclipse-templates
infobox
oncheckedchanged
datareader
blitz++
createwindow
preference
mirah
perfect-hash
compiler-specific
brewmp
simpletest
project-hosting
ubuntu-9.04
caching-application-block

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App