openrefine


enumerate the values of a range in google refine / openrefine


I have an OpenRefine column with a sequence of identifiers. Some are single integers (22, 27) and some represent a range (28-33, 10023-10110). I'm looking for a way to make each number in that range explicit, so I can then make each value its own row.
Here's the basic technique:
Split the range identifiers into two columns: Id1 and Id2.
Create a new column based on Id2 with this expression
forRange(cells.Id1.value,cells.Id2.value+1,1,x,x).join(",")
Then click "Edits Cells" on the new column and pick "Split multi-valued
cells". This will create new rows for the range.
if you want to populate the data for the new rows click "Edit Cells" and "Fill
Down" on each of the data columns.

Related Links

Incrementing a date in openrefine
add numbers down a column in OpenRefine
OpenRefine split on character in multivalue cell
Openrefine: text facet by counting
Select multiple repeated records OpenRefine
Simple OpenRefine IF to create a new column
OpenRefine split in multiple cells
How to export the cell that contains new line character properly?
Is it possible to run an OpenRefine script in the background?
Browser cluster link does not work properly in Open Refine
How to save only specific JSON elements in a new OpenRefine column
Openrefine: cross.cell for similar but not identical values
OpenRefine changing the port and host when executable is run directly
How can I join two datasets using a key in OpenRefine, with the secondary table having more than one value?
Open Refine: Open Project Issue
Progressive number in Openrefine column

Categories

HOME
wso2
image-processing
homebrew
lodash
routes
maven-3
frameworks
jgroups
google-project-tango
baqend
ebean
windows-10-universal
quicklook
resize
google-cloud-spanner
size
quickfix
msp430
saxon
aurigma
lldb
css-animations
format-specifiers
qhull
windows-error-reporting
tinymce-4
stormpath
iframe-resizer
xquery-3.0
scorm2004
gtrendsr
google-api-nodejs-client
hexo
overriding
jquery-bootgrid
broadcastreceiver
avro4s
gzipstream
texmaker
password-encryption
skeleton-css-boilerplate
outlook-2013
smartcontracts
theming
jlink
yii2-extension
slickedit
qtwebview
capacity
django-scheduler
vtigercrm
nested-sets
visual-c++-2008
passport-google-oauth
adxstudio-portals
thrust
storekit
fuzzy-search
fputcsv
jwplayer7
connect-by
blackberry-10
dlna
hexdump
bluegiga
php-parse-error
kendonumerictextbox
cartesian-product
jmeter-maven-plugin
simple-framework
tmuxinator
browser-bugs
muse
mmc
website-monitoring
operator-precedence
jsonpickle
tt-news
xcode-6.2
p4java
mysql-error-1062
intentservice
web2py-modules
pygit2
robotics-studio
rdoc
wse3.0
uiviewanimation-curve
removeclass
nsdatecomponents
f#-powerpack
xdomainrequest
recent-documents
inotifycollectionchanged
actionview
google-friend-connect
gamequery
modelstate
vc90
zune

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