-
Notifications
You must be signed in to change notification settings - Fork 41
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 csv-import plugin to builtins #1051
Comments
Hi @bvickers7 seems like a useful utility plugin - do you want to work on it? We typically ask open source contributors to host their plugins on their own Github repositories and share them via the Explorer to control our maintenance burden. |
Yes, I am interested in working on this. I proposed this is a builtin plugin because it seemed generic enough to warrant that, but I can develop it in a separate repo and share via explorer instead. |
Hi @bvickers7 brilliant thanks, assigning you to the issue now, let us know if you need any support. Cheers! |
Hi @bvickers7 - just to confirm, are you working on this? If not, I'll reassign it. |
Hey @jmcook1186, I have not started work on this yet. |
@bvickers7 ok, no worries - do you still want to or shall I reassign it? There's some light time pressure to this as we're trying to tie up some loose ends before our v1.0 release. |
You can reassign it. I wouldn't expect I'd work on this before the end of the year. |
What
A builtin plugin that imports observations from a CSV file. Each row in the CSV is mapped to an input in the manifest.
Why
Inputs can have many data points and for data sources that do not have dedicated importer plugins, a generic CSV import utility would save time by offering an alternative to manually copying in data points to the input.
Context
csv-lookup
builtin plugin exists. This is different from that.csv-lookup
adds data to existing inputs by matching existing values in the inputs to rows in the CSV file.csv-import
should generate a list of inputs, where each row is an input.Prerequisites/resources
None
SoW (scope of work)
Acceptance criteria
Given I have a CSV file with the following data at
/path/to/my/file.csv
When I add the following to my manifest:
Then the plugin has the following output:
Given I have the same data from scenario 1 available to the public internet at
https://mywebsite.com/file.csv
When I add the same block from scenario 1 to my manifest, except with
filepath: https://mywebsite.com/file.csv
Then the plugin has the same output as scenario 1
Given I have the same file from scenario 1
When I add the following block to my manifest
Then the plugin has the following output:
This format for the
output
config was selected to be consistent with the csv-lookup plugin. I think this is not the simplest way to structure this config, and would like to discuss if complicating the config is worth keeping things consistent between plugins.It should accept the following:
The text was updated successfully, but these errors were encountered: