You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The 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.
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
Scenario 3: Selecting and Renaming Columns Given I have the same file from scenario 1 When I add the following block to my manifest
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:
'*' indicating all columns should be selected
'foo' indicating that only column 'foo' should be selected
['foo', 'bar'] indicating that only column 'foo' should be selected and output as 'bar
[ ['foo', 'bar'], ['bat'] ] indicating that the 'foo' and 'bat' columns should be selected with 'foo' output as 'bar'
The text was updated successfully, but these errors were encountered:
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.
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: