OpenRefine / OpenRefine/OpenRefine

test expression for collapse columns

Open
#287 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

columns expression language imported from old code repo Priority: Medium Type: Feature Request
Dominant language
Java
Stars
12k
Forks
2.2k
Avg merge
1d 14h
Merged PRs (30d)
27

Description

Original author: galbith...@galbithink.org (December 15, 2010 06:06:12)

What steps will reproduce the problem?

  1. Wide, sparse tables are awkward to explore because most columns are empty (or contain just one item). You have to keep scrolling right and left to see informative items. See, e.g.
    https://spreadsheets.google.com/pub?key=0AnZb5H7tDMvTdEx2eExqc0NRaURjT2djSDdLanZOWmc&hl=en&gid=0
  2. How about expanding the "collapse column" options to include an option for a GREL test expression evaluated across all the column items in the selected rows? If the expression evaluates to true, the column is collapsed. If you didn't want to add this to the right/left collapse options for the individual columns, just having it in the all dropdown menu would be very handy. With the latter setup, the test expression would be applied to all the columns of the visible rows.

Original issue: http://code.google.com/p/google-refine/issues/detail?id=287

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests; begin by locating the existing collapse-column options and the GREL evaluation entry points. Clarify whether the expression applies to selected or visible rows, then define tests showing when a column is collapsed or retained.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.