<% include!("header.html"); %>
<% if error.is_some() { %>

cloud_uploadError

<% } else { %>

cloud_uploadUpload Data

<% } %> <% if error.is_some() { %>

Hmm, something went wrong. Make sure:

<% } else { %>

You can upload your datasets using the CSV format. Before uploading, make sure:

<% } %>
  1. If the CSV has a header, the column names are alphanumeric, contain no spaces and don't start with a number
  2. The CSV is comma (,) delimited
<% if error.is_some() { %>

Error:

<%= error.unwrap() %>
<% } %>

If you are exporting data from a PostgreSQL database, you can use psql to generate a valid CSV file with a header:

\copy your_table_name TO 'output.csv' CSV HEADER
<% include!("footer.html"); %>