# Editing and table and save the result.

**URL:** https://talk.observablehq.com/t/editing-and-table-and-save-the-result/9941
**Category:** Help
**Created:** [October 23, 2024, 3:43pm UTC](https://talk.observablehq.com/t/editing-and-table-and-save-the-result/9941 "2024-10-23T15:43:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![acombo](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/acombo/32/9305_2.png) [@acombo](https://talk.observablehq.com/u/acombo)
#### Post date: [October 23, 2024, 3:43pm UTC](https://talk.observablehq.com/t/editing-and-table-and-save-the-result/9941/1 "2024-10-23T15:43:48Z")

</div>

Hi all.  
I’m trying to evaluate if I can use Observable to solve a very specific problem. Since I was not able to find a solution in the last few days, I’m asking for your help.

I’m trying to build a Quarto dashboard in html (that supports ojs) to basically present tables.

I would like to read the tables from a file (e.g .csv), visualize it in the dashboard, edit the values in the dashboard and after save them back to the .csv file.

Can you tell me if this is possible and maybe point me out to some resources (examples, tutorials… ) so I can figure out how to proceed?

Thank you very much for your help.

Regards

ACombo

---

<div class="post-metadata">

### Author: ![tomlarkworthy](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/tomlarkworthy/32/5940_2.png) [@tomlarkworthy](https://talk.observablehq.com/u/tomlarkworthy)
#### Post date: [October 23, 2024, 7:23pm UTC](https://talk.observablehq.com/t/editing-and-table-and-save-the-result/9941/2 "2024-10-23T19:23:48Z")

</div>

conceptually similar, mootari imports and exports a zip of parquet files for duck db importing and exporting

> **[Exporting Your DuckDB Databases](https://observablehq.com/@mootari/export-duckdb#importDuckDB)**
>
> This notebook implements helpers to export, download and reimport a DuckDB database as CSV or Parquet. Export options: Import options: Examples Basic usage Interactive customization Reimporting a database Appendix Archive handling Export / download...

plain CSV is simpler because `Inputs.file` has a helper for reading as CSV, so you jsut need that for importing. And exporting you see how mootari’s works, or just use the inbuilt “download as CSV” option on the cell menu on Observable.

> **[File Input / Observable Inputs](https://observablehq.com/@observablehq/input-file)**
>
> This input specifies a local file. The exposed value provides the same interface as an Observable file attachment for convenient parsing in various formats such as text, image, JSON, CSV, ZIP, and XLSX; however, the file is not uploaded and is only...

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/observablehq/original/2X/f/f2ed010e846a87855930cd97bac92ec6473d984e.png)

---

<div class="post-metadata">

### Author: ![acombo](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/acombo/32/9305_2.png) [@acombo](https://talk.observablehq.com/u/acombo)
#### Post date: [October 24, 2024, 7:56am UTC](https://talk.observablehq.com/t/editing-and-table-and-save-the-result/9941/3 "2024-10-24T07:56:41Z")

</div>

Dear @tomlarkworthy,

Thanks for your guidance to “Exporting your DuckDb Databases”. This is actually part of what I really need (but… before run I need to know how to walk :)).

I still need to have a Quarto notebook with a table, and (critical) be able to edit the values for later export.

I think I will be able to import (easy), export… but presenting a table and changing individual values is still not clear to me how I can do it.

Thank you very much for your reply.

AC

---

<div class="post-metadata">

### Author: ![tomlarkworthy](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/tomlarkworthy/32/5940_2.png) [@tomlarkworthy](https://talk.observablehq.com/u/tomlarkworthy)
#### Post date: [October 24, 2024, 7:16pm UTC](https://talk.observablehq.com/t/editing-and-table-and-save-the-result/9941/4 "2024-10-24T19:16:44Z")

</div>

Ahh, ok, the _editing_ tables bit is not so easy. Visualizing table we have Inputs.table… but editing… nearest thing is [Data Editor / Tom Larkworthy | Observable](https://observablehq.com/@tomlarkworthy/dataeditor)
