How to create tables and columns using the api (plugin development) #984
Unanswered
daviewales
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I've published the first working version as a plugin now! At the moment, it just compares the columns of the currently selected sheets side-by-side. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
EDIT:
For those following along at home, I realised I need to read the docs in order, starting at the beginning.
In particular, the page on Loaders is clarifying a LOT of things for me
Things I didn't know when I started this...
Background (Original question)
I'm thinking about trying to make a plugin which does the following:
e.g.
table1.csv
table2.csv (Oh no! They changed the schema!)
vd
.table1
andtable2
.<Space>-column-diff
(The name of each column would be the name of the respective sheet.)
Question
I've found the Plugin Author's Guide!
I've also figured out how to get the currently selected tables, and extract the column headers.
However, I'm wondering how to create a new table from raw columns. (e.g. from two lists.)
I'll keep reading through the docs, but I thought maybe somewhere here might be able to point me in the right direction!
Update
2021-05-192021-05-202021-05-242021-06-24(Use the question history to see my previous attempts!)
OK! Now we're cooking!
Given the following files:
test.csv
test2.csv
(Making sure to preload them and select them in the sheets sheet)
We get:
We've got a way to go, but we're finally on the right track!
Beta Was this translation helpful? Give feedback.
All reactions