OpenRefine / OpenRefine/OpenRefine

Add option to ignore top level key for JSON import

Open
#710 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

import JSON Type: Feature Request
Dominant language
Java
Stars
12k
Forks
2.2k
Avg merge
1d 14h
Merged PRs (30d)
27

Description

Trying to create a new project using JSON import from:
http://mapit.mysociety.org/area/65791/covers
the JSON object structure {randUID1: { .. standard object...}, randUID2: { .. standard object...},...., randUIDN: { .. standard object...} }

If I select a block, OpenRefine only imports the record selected, by UID. It would be handy to be able to treat all these elements as elements in a list?

tony

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

Reproduce the JSON import using http://mapit.mysociety.org/area/65791/covers and inspect the import flow that handles an object keyed by UIDs. Done means the importer can treat all top-level values as list elements instead of importing only a selected UID record; verify this with the supplied JSON structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, json
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.