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

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
Open refine by google on private data
Openrefine not working as expected
Open Refine Error Uploading Data?
Open Refine / Google Refine - edit cells in multiple columns
Open Refine : Reconciliation with Freebase data based on ORganization Name
Keep newest duplicate row depending on multiple Columns
multiple filters in google openrefine
Where does openrefine store projects?
Domain Names to Webpage Titles in OpenRefine

Categories

HOME
xamarin
wso2
proxy
omnet++
azure-data-factory
single-sign-on
cplex
analysis
malloc
twitter-bootstrap-4
v8
ckeditor
alpha
paradox
pheatmap
iggrid
user-input
quicklook
mapserver
usergrid
event-handling
uitypeeditor
pythonanywhere
google-pagespeed
nodatime
scriptcs
graphicsmagick
extjs5
hammerspoon
autosys
icloud-api
microsoft-sync-framework
su
react-css-modules
brunch
elasticsearch-net
buck
instant-messaging
directx-10
atl
starteam
xenforo
sas-visual-analytics
hp-ux
mapzen
elmah
bootstrap-dialog
unixodbc
netcdf4
qwt
long-polling
appcompat
youcompleteme
hendrix
datastax-startup
dropbox-php
idisposable
recursive-datastructures
composite-key
google-perftools
dtexec
boost-preprocessor
bind9
account-kit
nested-sets
setuptools
static-ip-address
android-fonts
asp.net-4.5
contact-list
clang-static-analyzer
essence
revolution-r
kendonumerictextbox
rtbkit
spim
xna-4.0
wordml
jqgrid-formatter
tarjans-algorithm
interrupted-exception
graph-drawing
vstest.console.exe
ami
notify
fscommand
clicktag
gadt
codeigniter-routing
qcodo
titanium-modules
rdl
onactivityresult
comexception
mechanize-ruby
rtmfp
java.nio.file
quantlib-swig
dir
dbconnection
chuck
libstdc++
bluepill
broken-links
dsn
buildr
vdsp
tomcat-valve
cinema-4d
netbeans-7.1
coda-slider
revisions
perfect-hash
meego
ctp4
ajax-forms

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App