openrefine


Import columns to existing OpenRefine project


How do I add a column from an external .csv file to an existing project?
I tried to find the solution online, but I wasn't successful.
Using the file you provided, I did this in less than one minute.
I had a project, with one column: .
If you know a little Python, try Jython. Edit Column > Add column based on this column and chose Language : Jython like this:
import csv
#we are going to use DictReader to transform our imported rows into dict,
#so we can latter just refer to the column we want by its key i.e header
rows = csv.DictReader(open('/home/yourusername/Downloads/example.csv'), delimiter=",")
for row in rows:
return row['Comprar'] #'comprar' is the header of the column i want

Related Links

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
How does one run Google refine on a different port than 3333?
OpenRefine - Cross-column clustering
Grel to apply to ALL columns or current column

Categories

HOME
pdf
variables
hive
netsuite
cookies
single-sign-on
plot
appx
spagobi
framework7
routes
spring-cloud-stream
spring-jdbc
yarn
dxl
bs4
elasticsearch-hadoop
vifm
offline
spring-tool-suite
fallback
msp430
dynamics-crm-online
clojurescript
seaborn
openrefine
http-status-code-504
predix
nas
reverse-proxy
autocad-plugin
sylius
semantic-analysis
maxmind
atlassian-crucible
newline
gsmcomm
grails-3.1
subset-sum
scaffold
retina-display
serverside-rendering
withings
lumberjack
sas-visual-analytics
hp-ux
turbogears
apache-fop
tropo
aurelia-validation
sonarlint-vs
abcpdf9
angular-cache
probability-density
mathematica-frontend
qcustomplot
photobucket
iad
lib.web.mvc
simple-framework
spidermonkey
microbenchmark
php-ci
iiviewdeckcontroller
web-controls
rake-task
issuu
php-5.4
starcluster
aapt
terminal-services
.aspxauth
tws
seed
comaddin
cassini-dev
factory-method
browser-detection
dice
semantic-diff
adk
boost-filesystem
f#-powerpack
django-tagging
radcombobox
web-application-design
dentrix
web-architecture
memory-size
sector
mdac
rtml

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