dcmi / dctap

DC Tabular Application Profile
https://dcmi.github.io/dctap/
33 stars 10 forks source link

Display in HTML #99

Open kcoyle opened 9 months ago

kcoyle commented 9 months ago

Because the table itself is often too wide and has many empty cells, I'm thinking that we need a more compact display, not unlike the HTML displays of vocabularies. This would not look like "code" and would only include the cells and values that are not blank. We could think of it as a nicely formatted version of the text or JSON output from the dctap-python. This came about in part because SRAP is using DCTAP as its main documentation, but it cannot be viewed under github.io, which launches a download.

Vaguely, here is a possible format:

Screenshot 2023-12-04 at 8 45 27 AM

And an example:

Screenshot 2023-12-04 at 8 45 38 AM
kcoyle commented 8 months ago

Another set of examples is at https://dcmi.github.io/dctap/examples/displayExample2.html