Downloadable button
If you want to create a downloadable button for your csv file (generated from the table), you can use the attribute downloadable and set that to yes.
Shortcode
[csvtohtml_create
source_type="guess"
path="large"
source_files="*.csv"
include_rows="1-8" //Just include the first 30 rows for demo
downloadable="yes" //Put a downloadable button under the table
downloadable_text = "Download the csv-file now" //Change default text from "Download as csv"
downloadable_filename = "resultset.csv" //Change default filename export.csv to a new filename (in this case resultset.csv)
measure | quantile | time | sex | age | ethnic | value |
---|---|---|---|---|---|---|
lx | 2.50% | 2017-19 | Female | 0 years | Total | 100000 |
lx | 2.50% | 2017-19 | Female | 1 years | Total | 99543 |
lx | 2.50% | 2017-19 | Female | 2 years | Total | 99512 |
lx | 2.50% | 2017-19 | Female | 3 years | Total | 99490 |
lx | 2.50% | 2017-19 | Female | 4 years | Total | 99474 |
lx | 2.50% | 2017-19 | Female | 5 years | Total | 99462 |
lx | 2.50% | 2017-19 | Female | 6 years | Total | 99452 |
lx | 2.50% | 2017-19 | Female | 7 years | Total | 99443 |