aboutsummaryrefslogtreecommitdiff
path: root/inst/app/templates/content/data/enter-data/required-format.html
blob: 724dd83d4eb1042ecef3990215333372490dc834 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!-- Button to toggle help text. -->
<button type="button" class="btn btn-outline-primary btn-sm" id="data-format-toggle"
        data-bs-toggle="collapse" data-bs-target="#data-format">Show required format</button>
<!-- Help text for data input format. -->
<div class="collapse mt-2" id="data-format">
  <div class="card card-body border-primary">
    <p>Manually enter rows or upload a CSV file in the following format:</p>
    <p class="overflow-x-scroll text-nowrap font-monospace">
      <u>Dataset name</u>,<u>Time units</u>,<u>Case counts</u>
    </p>
    <p>
      <u class="font-monospace">Time units</u> must be one of
      <u class="font-monospace">Days</u> or 
      <u class="font-monospace">Weeks</u>, and
      <u class="font-monospace">Case counts</u>
      must be a comma-separated list of one or more non-negative integers.
    </p>
    <p>Example:</p>
    <p class="overflow-x-scroll text-nowrap font-monospace lh-sm">
      Disease A,Days,1,2,3,4,5,6,7,8,9<br>
      Disease B,Weeks,3,1,4,1,5,2,9<br>
      Disease C,Days,2,3,5,7,11,13,17,19
    </p>
  </div>
</div>