Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add original source of the data to metadata.json in project download #1045

Closed
nickynicolson opened this issue Jul 30, 2015 · 5 comments
Closed
Labels
metadata Adding metadata to projects, columns and other parts of the data model Priority: High Denotes issues that require urgent attention and may be blocking progress. Type: Feature Request Identifies requests for new features or enhancements. These involve proposing new improvements.

Comments

@nickynicolson
Copy link

Could details of the original source of the data be persisted and output in the the metadata.json file created when the project is downloaded as a complete Open Refine project?

@jackyq2015
Copy link
Contributor

Is this a duplipcate of issue #512?
Store file source in each row not working for JSON from URL #512

If so, please close it.

@nickynicolson
Copy link
Author

#512 describes storing file source as a column in the data (and a problem whereby this is not populated for JSON from URL). I'd like the file source(s) to be stored as project metadata (not data columns) and output when the project is saved in Open Refine project format, in the metadata.json file.

@jackyq2015
Copy link
Contributor

I see. That make sense.

On Mon, Aug 10, 2015, 7:09 AM Nicky Nicolson notifications@github.com
wrote:

#512 #512 describes
storing file source as a column in the data (and a problem whereby this is
not populated for JSON from URL). I'd like the file source(s) to be stored
as project metadata (not data columns) and output when the project is saved
in Open Refine project format, in the metadata.json file.


Reply to this email directly or view it on GitHub
#1045 (comment)
.

@jackyq2015 jackyq2015 self-assigned this Aug 11, 2015
@jackyq2015 jackyq2015 added this to the 2.7 milestone Aug 11, 2015
@tfmorris tfmorris added the Type: Feature Request Identifies requests for new features or enhancements. These involve proposing new improvements. label Oct 16, 2015
@tfmorris
Copy link
Member

Good suggestion and one that we've certainly thought about, but I can't seem to find an existing issue for it, so thanks for adding it.

In addition to the original URL/filename, we should also add:

  • a free form description field that the user can populate with notes if they want
  • the import option settings which were used

The second is a poor man's workaround to not having the import operation included in our operation history. Ideally, the project creation operation, along with all its settings and parameters would be just another operation like all the others.

p.s. speaking of workarounds, I just paste the URL at the end of the project name and use that to keep track of where data came from. Not elegant, but it works with the current system.

@magdmartin magdmartin modified the milestone: 2.7 Feb 12, 2017
@wetneb wetneb added the metadata Adding metadata to projects, columns and other parts of the data model label Aug 2, 2017
@jackyq2015 jackyq2015 added Priority: High Denotes issues that require urgent attention and may be blocking progress. and removed Priority: High Denotes issues that require urgent attention and may be blocking progress. labels Oct 25, 2017
@tfmorris
Copy link
Member

This was addressed as part of #1221 which was included with OpenRefine 2.8 in November 2017, although the filename/source URL is buried in a blob of JSON which makes it pretty hard to spot. It probably deserves its own line in the "About" display up toward the top, but we can create a separate issue for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metadata Adding metadata to projects, columns and other parts of the data model Priority: High Denotes issues that require urgent attention and may be blocking progress. Type: Feature Request Identifies requests for new features or enhancements. These involve proposing new improvements.
Projects
None yet
Development

No branches or pull requests

5 participants