Skip to content

Commit

Permalink
making data table collapsable
Browse files Browse the repository at this point in the history
  • Loading branch information
MathewBiddle committed Apr 19, 2024
1 parent 7d2ce86 commit df48e0a
Showing 1 changed file with 36 additions and 33 deletions.
69 changes: 36 additions & 33 deletions _extras/acoustic-telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,39 +38,42 @@ keypoints:

Below is a small table highlighting how one might make a time-binned summary of observations. In this example, we truncate the date-times down to the day+hour, then see if there are duplicate values. If so, we keep the first value but drop the other values that fall in that same hour.

| time | dayhr | Keep? |
|:---------------------|:--------------|:--------|
| 2009-09-23T00:00:00Z | 2009-09-23T00 | True |
| 2009-09-25T06:42:00Z | 2009-09-25T06 | True |
| 2009-09-25T11:09:00Z | 2009-09-25T11 | True |
| 2009-09-25T11:11:00Z | 2009-09-25T11 | False |
| 2009-09-25T11:30:00Z | 2009-09-25T11 | False |
| 2009-09-27T17:58:00Z | 2009-09-27T17 | True |
| 2009-09-30T05:01:00Z | 2009-09-30T05 | True |
| 2009-10-08T20:24:00Z | 2009-10-08T20 | True |
| 2009-10-15T11:05:00Z | 2009-10-15T11 | True |
| 2009-10-17T06:11:00Z | 2009-10-17T06 | True |
| 2009-10-17T09:00:00Z | 2009-10-17T09 | True |
| 2009-10-17T10:38:00Z | 2009-10-17T10 | True |
| 2009-10-18T08:48:00Z | 2009-10-18T08 | True |
| 2009-10-18T10:26:00Z | 2009-10-18T10 | True |
| 2009-10-18T11:15:00Z | 2009-10-18T11 | True |
| 2009-10-19T10:20:00Z | 2009-10-19T10 | True |
| 2009-10-23T23:52:00Z | 2009-10-23T23 | True |
| 2009-10-24T00:06:00Z | 2009-10-24T00 | True |
| 2009-10-26T10:53:00Z | 2009-10-26T10 | True |
| 2009-10-26T11:22:00Z | 2009-10-26T11 | True |
| 2009-10-27T16:21:00Z | 2009-10-27T16 | True |
| 2009-10-27T16:22:00Z | 2009-10-27T16 | False |
| 2009-10-27T16:42:00Z | 2009-10-27T16 | False |
| 2009-10-29T11:53:00Z | 2009-10-29T11 | True |
| 2009-10-30T10:03:00Z | 2009-10-30T10 | True |
| 2009-10-31T19:48:00Z | 2009-10-31T19 | True |
| 2009-10-31T21:15:00Z | 2009-10-31T21 | True |
| 2009-11-01T21:04:00Z | 2009-11-01T21 | True |
| 2009-11-06T17:53:00Z | 2009-11-06T17 | True |
| 2009-11-13T18:48:00Z | 2009-11-13T18 | True |
| 2009-11-23T05:12:00Z | 2009-11-23T05 | True |
> ## Time binning example
>
> | time | dayhr | Keep? |
> |:---------------------|:--------------|:--------|
> | 2009-09-23T00:00:00Z | 2009-09-23T00 | True |
> | 2009-09-25T06:42:00Z | 2009-09-25T06 | True |
> | 2009-09-25T11:09:00Z | 2009-09-25T11 | True |
> | 2009-09-25T11:11:00Z | 2009-09-25T11 | False |
> | 2009-09-25T11:30:00Z | 2009-09-25T11 | False |
> | 2009-09-27T17:58:00Z | 2009-09-27T17 | True |
> | 2009-09-30T05:01:00Z | 2009-09-30T05 | True |
> | 2009-10-08T20:24:00Z | 2009-10-08T20 | True |
> | 2009-10-15T11:05:00Z | 2009-10-15T11 | True |
> | 2009-10-17T06:11:00Z | 2009-10-17T06 | True |
> | 2009-10-17T09:00:00Z | 2009-10-17T09 | True |
> | 2009-10-17T10:38:00Z | 2009-10-17T10 | True |
> | 2009-10-18T08:48:00Z | 2009-10-18T08 | True |
> | 2009-10-18T10:26:00Z | 2009-10-18T10 | True |
> | 2009-10-18T11:15:00Z | 2009-10-18T11 | True |
> | 2009-10-19T10:20:00Z | 2009-10-19T10 | True |
> | 2009-10-23T23:52:00Z | 2009-10-23T23 | True |
> | 2009-10-24T00:06:00Z | 2009-10-24T00 | True |
> | 2009-10-26T10:53:00Z | 2009-10-26T10 | True |
> | 2009-10-26T11:22:00Z | 2009-10-26T11 | True |
> | 2009-10-27T16:21:00Z | 2009-10-27T16 | True |
> | 2009-10-27T16:22:00Z | 2009-10-27T16 | False |
> | 2009-10-27T16:42:00Z | 2009-10-27T16 | False |
> | 2009-10-29T11:53:00Z | 2009-10-29T11 | True |
> | 2009-10-30T10:03:00Z | 2009-10-30T10 | True |
> | 2009-10-31T19:48:00Z | 2009-10-31T19 | True |
> | 2009-10-31T21:15:00Z | 2009-10-31T21 | True |
> | 2009-11-01T21:04:00Z | 2009-11-01T21 | True |
> | 2009-11-06T17:53:00Z | 2009-11-06T17 | True |
> | 2009-11-13T18:48:00Z | 2009-11-13T18 | True |
> | 2009-11-23T05:12:00Z | 2009-11-23T05 | True |
{: .solution}

### Mapping example

Expand Down

0 comments on commit df48e0a

Please sign in to comment.