Skip to content

Commit

Permalink
Patch revealjs presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvartan committed Nov 16, 2023
1 parent 100422f commit 48be354
Show file tree
Hide file tree
Showing 5 changed files with 408 additions and 37 deletions.
109 changes: 99 additions & 10 deletions docs/slides/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -614,13 +614,13 @@ <h2>Elegibility criteria</h2>
<div class="columns">
<div class="column" style="width:50%;">
<p><strong>Inclusion criteria</strong></p>
<p><strong>IC1</strong>. Residents in Brazil.</p>
<p><strong>IC2</strong>. Adults (i.e., aged <span class="math inline">\(\geq\)</span> 18 years).</p>
<p><strong>IC3</strong>. Literate.</p>
<p><strong>IC1</strong>. Residents in Brazil</p>
<p><strong>IC2</strong>. Adults (i.e., age <span class="math inline">\(\geq\)</span> 18 years)</p>
<p><strong>IC3</strong>. Literate</p>
<p><strong>IC4</strong>. With internet access</p>
</div><div class="column" style="width:50%;">
<p><strong>Exclusion criteria</strong></p>
<p>None. (besides validation)</p>
<p>None (besides validation)</p>
</div>
</div>
</section>
Expand All @@ -630,8 +630,8 @@ <h2>Population</h2>
<p>In that same year, the Brazilian population in this age group comprised approximately <span class="math inline">\(151,321,000\)</span> individuals <span class="citation" data-cites="ibgeg">(<a href="#/references" role="doc-biblioref" onclick="">Instituto Brasileiro de Geografia e Estatística, n.d.-b</a>)</span>. Considering these two pieces of data, it can be inferred that there were around <span class="math inline">\(140,879,851\)</span> literate individuals aged 18 years or older in Brazil in 2017.</p>
<p>According to the PNAD, the proportion of men and women above 18 years old in 2017 was <span class="math inline">\(48.163\%\)</span> and <span class="math inline">\(51.837\%\)</span>, respectively <span class="citation" data-cites="ibgee">(<a href="#/references" role="doc-biblioref" onclick="">Instituto Brasileiro de Geografia e Estatística, n.d.-a</a>)</span>. Another edition of the same study showed that internet usage covered <span class="math inline">\(82.17\%\)</span> of Brazilian households in 2019 <span class="citation" data-cites="ibge2021">(<a href="#/references" role="doc-biblioref" onclick="">Instituto Brasileiro de Geografia e Estatística, 2021</a>)</span>. Based on this data, it is estimated that the size of the population to be represented in this study is around <span class="math inline">\(115,760,973\)</span> individuals, which corresponds to approximately <span class="math inline">\(76.500\%\)</span> of the adult Brazilian population in 2017.</p>
</section>
<section id="sample-raw-chracteristics" class="slide level2 smaller">
<h2>Sample (raw) chracteristics</h2>
<section id="sample-raw-characteristics" class="slide level2 smaller">
<h2>Sample (raw) characteristics</h2>
<ul>
<li>Convenience sample (non-probabilistic)</li>
<li>Unit of observation and analysis: Individuals</li>
Expand All @@ -643,6 +643,83 @@ <h2>Sample (raw) chracteristics</h2>
<li>It is assumed that individuals in the sample are literate and have internet access, as it would not be possible to respond to the questionnaire without these characteristics.</li>
</ul>
</section>
<section id="dataset-characteristics" class="slide level2 smaller">
<h2>Dataset characteristics</h2>
<ul>
<li><span class="math inline">\(120,265 entries\)</span>, divided into <span class="math inline">\(94\)</span> variables, representing a total of <span class="math inline">\(11,304,910\)</span> data points.</li>
<li>All fields in the form were mandatory.</li>
<li>The value of minutes in the collected times was obtained through intervals of <span class="math inline">\(5\)</span> or <span class="math inline">\(10\)</span> minutes.</li>
<li>As it was a prototype, the collection form did not contain response validation rules for most fields, which resulted in a variety of formats in some of the collected variables.</li>
</ul>
</section>
<section id="data-categories" class="slide level2 smaller">
<h2>Data categories</h2>
<div class="columns">
<div class="column" style="width:33%;">
<p><strong>Record/Control</strong></p>
<ul>
<li>id</li>
<li>timestamp</li>
<li>track</li>
</ul>
</div><div class="column" style="width:33%;">
<p><strong>Personal</strong></p>
<ul>
<li>Name</li>
<li>Email</li>
<li>Sex</li>
<li>Date of birth</li>
<li>Country of residence</li>
<li>State of residence</li>
<li>City of residence</li>
<li>Residential ZIP code</li>
<li>[…]</li>
</ul>
</div><div class="column" style="width:33%;">
<p><strong>Health</strong></p>
<ul>
<li>Use of sleeping medication</li>
<li>Use of other types of medication</li>
<li>Presence of sleep disorders</li>
</ul>
</div>
</div>
</section>
<section>
<section id="data-categories-1" class="title-slide slide level1 smaller center">
<h1>Data categories</h1>
<div class="columns">
<div class="column" style="width:33%;">
<p><strong>Habits</strong></p>
<ul>
<li>Employment status</li>
<li>Student status</li>
<li>Work periods</li>
<li>Study periods</li>
</ul>
</div><div class="column" style="width:66%;">
<p><strong>MCTQ standard version</strong></p>
<p>(workdays days and work-free days)</p>
<div class="columns">
<div class="column" style="width:45%;">
<ul>
<li>Number of workdays per week</li>
<li>Local time of going to bed</li>
<li>Local time of preparing to sleep</li>
<li>Sleep latency or time to fall asleep after preparing to sleep</li>
</ul>
</div><div class="column" style="width:45%;">
<ul>
<li>Local time of sleep end</li>
<li>Use of alarm clock to wake up</li>
<li>Time that it takes to get up after sleep end</li>
<li>Light exposure</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<section id="section-24" class="slide level2 center-x">
<h2></h2>
<img data-src="images/power-analysis-figure-1.png" class="r-stretch">
Expand All @@ -668,13 +745,25 @@ <h2></h2>
<section id="section-28" class="slide level2" data-background-iframe="http://labren.ccst.inpe.br/atlas_2017.html" data-background-interactive="true">
<h2></h2>
</section>
<section id="section-29" class="slide level2" data-background-iframe="https://dmphub.cdlib.org/dmps/doi:10.48321/D1DW8P" data-background-interactive="true">
<h2></h2>
<section id="data-plan" class="slide level2">
<h2>Data plan</h2>
<p>See: <a href="https://dmphub.cdlib.org/dmps/doi:10.48321/D1DW8P" class="uri">https://dmphub.cdlib.org/dmps/doi:10.48321/D1DW8P</a></p>
<div class="footer">
<p><span class="citation" data-cites="vartanian2023f">(<a href="#/references" role="doc-biblioref" onclick="">Vartanian, 2023a</a>)</span></p>
</div>
</section>
<section id="section-30" class="slide level2" data-background-iframe="https://dbdiagram.io/e/5e6c84484495b02c3b883aff/6555ee6d3be14957871dd472" data-background-interactive="true">
<section id="section-29" class="slide level2" data-background-iframe="https://dbdiagram.io/e/5e6c84484495b02c3b883aff/6555ee6d3be14957871dd472" data-background-interactive="true">
<h2></h2>
</section>
<section id="research-compendium" class="slide level2">
<h2>Research compendium</h2>
<p>See:</p>
<ul>
<li><a href="https://www.tandfonline.com/doi/abs/10.1080/00031305.2017.1375986" class="uri">https://www.tandfonline.com/doi/abs/10.1080/00031305.2017.1375986</a>.</li>
<li><a href="https://github.com/danielvartan/mastersthesis" class="uri">https://github.com/danielvartan/mastersthesis</a></li>
</ul>
</section>
<section id="section-30" class="slide level2" data-background-iframe="https://books.ropensci.org/targets/walkthrough.html#run-the-pipeline" data-background-interactive="true">
<h2></h2>
</section>
<section id="section-31" class="slide level2" data-background-iframe="https://www.go-fair.org/fair-principles/" data-background-interactive="true">
Expand Down Expand Up @@ -1026,7 +1115,7 @@ <h2>Final remarks</h2>
</div>
<!-- %:::% slides-final-remarks end %:::% -->
<!-- %:::% slides-references begin %:::% -->
</section>
</section></section>
<section id="references" class="title-slide slide level1 smaller scrollable">
<h1>References</h1>
<div style="font-size: 0.75em;">
Expand Down
39 changes: 30 additions & 9 deletions docs/slides/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"href": "index.html#elegibility-criteria",
"title": "Ecology of sleep and circadian phenotypes of the Brazilian population",
"section": "Elegibility criteria",
"text": "Elegibility criteria\n\n\nInclusion criteria\nIC1. Residents in Brazil.\nIC2. Adults (i.e., aged \\(\\geq\\) 18 years).\nIC3. Literate.\nIC4. With internet access\n\nExclusion criteria\nNone. (besides validation)"
"text": "Elegibility criteria\n\n\nInclusion criteria\nIC1. Residents in Brazil\nIC2. Adults (i.e., age \\(\\geq\\) 18 years)\nIC3. Literate\nIC4. With internet access\n\nExclusion criteria\nNone (besides validation)"
},
{
"objectID": "index.html#population",
Expand All @@ -133,11 +133,25 @@
"text": "Population\nAccording to the Continuous National Household Sample Survey (PNAD), in 2017, Brazil had an illiteracy rate of \\(6.9\\%\\) among individuals aged 18 years or older (Instituto Brasileiro de Geografia e Estatística, n.d.-c).\nIn that same year, the Brazilian population in this age group comprised approximately \\(151,321,000\\) individuals (Instituto Brasileiro de Geografia e Estatística, n.d.-b). Considering these two pieces of data, it can be inferred that there were around \\(140,879,851\\) literate individuals aged 18 years or older in Brazil in 2017.\nAccording to the PNAD, the proportion of men and women above 18 years old in 2017 was \\(48.163\\%\\) and \\(51.837\\%\\), respectively (Instituto Brasileiro de Geografia e Estatística, n.d.-a). Another edition of the same study showed that internet usage covered \\(82.17\\%\\) of Brazilian households in 2019 (Instituto Brasileiro de Geografia e Estatística, 2021). Based on this data, it is estimated that the size of the population to be represented in this study is around \\(115,760,973\\) individuals, which corresponds to approximately \\(76.500\\%\\) of the adult Brazilian population in 2017."
},
{
"objectID": "index.html#sample-raw-chracteristics",
"href": "index.html#sample-raw-chracteristics",
"objectID": "index.html#sample-raw-characteristics",
"href": "index.html#sample-raw-characteristics",
"title": "Ecology of sleep and circadian phenotypes of the Brazilian population",
"section": "Sample (raw) chracteristics",
"text": "Sample (raw) chracteristics\n\nConvenience sample (non-probabilistic)\nUnit of observation and analysis: Individuals\nTotal of \\(120,265\\) entries in the raw state\n\\(118,068\\) responses within a seven-day window (from 15th to 21st October 2017)\nEncompasses all states of Brazil\n\\(92,107\\) Brazilian resident subjects aged 18 years or older (\\(78.012\\%\\) of the total) (ages between \\(18-79\\) years; mean of \\(32.726 \\pm 10.176\\) years)\n\\(66.320\\%\\) are female (ages between \\(18-79\\) years; mean of \\(32.543 \\pm 10.259\\) years) and \\(33.600\\%\\) are male (ages between \\(18-79\\) years; mean of \\(33.076 \\pm 9.987\\) years)\nIt is assumed that individuals in the sample are literate and have internet access, as it would not be possible to respond to the questionnaire without these characteristics."
"section": "Sample (raw) characteristics",
"text": "Sample (raw) characteristics\n\nConvenience sample (non-probabilistic)\nUnit of observation and analysis: Individuals\nTotal of \\(120,265\\) entries in the raw state\n\\(118,068\\) responses within a seven-day window (from 15th to 21st October 2017)\nEncompasses all states of Brazil\n\\(92,107\\) Brazilian resident subjects aged 18 years or older (\\(78.012\\%\\) of the total) (ages between \\(18-79\\) years; mean of \\(32.726 \\pm 10.176\\) years)\n\\(66.320\\%\\) are female (ages between \\(18-79\\) years; mean of \\(32.543 \\pm 10.259\\) years) and \\(33.600\\%\\) are male (ages between \\(18-79\\) years; mean of \\(33.076 \\pm 9.987\\) years)\nIt is assumed that individuals in the sample are literate and have internet access, as it would not be possible to respond to the questionnaire without these characteristics."
},
{
"objectID": "index.html#dataset-characteristics",
"href": "index.html#dataset-characteristics",
"title": "Ecology of sleep and circadian phenotypes of the Brazilian population",
"section": "Dataset characteristics",
"text": "Dataset characteristics\n\n\\(120,265 entries\\), divided into \\(94\\) variables, representing a total of \\(11,304,910\\) data points.\nAll fields in the form were mandatory.\nThe value of minutes in the collected times was obtained through intervals of \\(5\\) or \\(10\\) minutes.\nAs it was a prototype, the collection form did not contain response validation rules for most fields, which resulted in a variety of formats in some of the collected variables."
},
{
"objectID": "index.html#data-categories",
"href": "index.html#data-categories",
"title": "Ecology of sleep and circadian phenotypes of the Brazilian population",
"section": "Data categories",
"text": "Data categories\n\n\nRecord/Control\n\nid\ntimestamp\ntrack\n\n\nPersonal\n\nName\nEmail\nSex\nDate of birth\nCountry of residence\nState of residence\nCity of residence\nResidential ZIP code\n[…]\n\n\nHealth\n\nUse of sleeping medication\nUse of other types of medication\nPresence of sleep disorders"
},
{
"objectID": "index.html#section-24",
Expand All @@ -161,11 +175,18 @@
"text": "(Vartanian, 2023b)"
},
{
"objectID": "index.html#section-29",
"href": "index.html#section-29",
"objectID": "index.html#data-plan",
"href": "index.html#data-plan",
"title": "Ecology of sleep and circadian phenotypes of the Brazilian population",
"section": "",
"text": "(Vartanian, 2023a)"
"section": "Data plan",
"text": "Data plan\nSee: https://dmphub.cdlib.org/dmps/doi:10.48321/D1DW8P\n\n(Vartanian, 2023a)"
},
{
"objectID": "index.html#research-compendium",
"href": "index.html#research-compendium",
"title": "Ecology of sleep and circadian phenotypes of the Brazilian population",
"section": "Research compendium",
"text": "Research compendium\nSee:\n\nhttps://www.tandfonline.com/doi/abs/10.1080/00031305.2017.1375986.\nhttps://github.com/danielvartan/mastersthesis"
},
{
"objectID": "index.html#section-33",
Expand Down
99 changes: 93 additions & 6 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -277,19 +277,19 @@ $$
::: {.column width="50%"}
__Inclusion criteria__

__IC1__. Residents in Brazil.
__IC1__. Residents in Brazil

__IC2__. Adults (i.e., aged $\geq$ 18 years).
__IC2__. Adults (i.e., age $\geq$ 18 years)

__IC3__. Literate.
__IC3__. Literate

__IC4__. With internet access
:::

::: {.column width="50%"}
__Exclusion criteria__

None. (besides validation)
None (besides validation)
:::
:::

Expand All @@ -301,7 +301,7 @@ In that same year, the Brazilian population in this age group comprised approxim

According to the PNAD, the proportion of men and women above 18 years old in 2017 was $48.163\%$ and $51.837\%$, respectively [@ibgee]. Another edition of the same study showed that internet usage covered $82.17\%$ of Brazilian households in 2019 [@ibge2021]. Based on this data, it is estimated that the size of the population to be represented in this study is around $115,760,973$ individuals, which corresponds to approximately $76.500\%$ of the adult Brazilian population in 2017.

## Sample (raw) chracteristics {.smaller}
## Sample (raw) characteristics {.smaller}

* Convenience sample (non-probabilistic)
* Unit of observation and analysis: Individuals
Expand All @@ -312,6 +312,82 @@ According to the PNAD, the proportion of men and women above 18 years old in 201
* $66.320\%$ are female (ages between $18-79$ years; mean of $32.543 \pm 10.259$ years) and $33.600\%$ are male (ages between $18-79$ years; mean of $33.076 \pm 9.987$ years)
* It is assumed that individuals in the sample are literate and have internet access, as it would not be possible to respond to the questionnaire without these characteristics.

## Dataset characteristics {.smaller}

* $120,265 entries$, divided into $94$ variables, representing a total of $11,304,910$ data points.
* All fields in the form were mandatory.
* The value of minutes in the collected times was obtained through intervals of $5$ or $10$ minutes.
* As it was a prototype, the collection form did not contain response validation rules for most fields, which resulted in a variety of formats in some of the collected variables.

## Data categories {.smaller}

::: columns
::: {.column width="33%"}
__Record/Control__

* id
* timestamp
* track
:::

::: {.column width="33%"}
__Personal__

* Name
* Email
* Sex
* Date of birth
* Country of residence
* State of residence
* City of residence
* Residential ZIP code
* [...]
:::

::: {.column width="33%"}
__Health__

* Use of sleeping medication
* Use of other types of medication
* Presence of sleep disorders
:::
:::

# Data categories {.smaller}

::: columns
::: {.column width="33%"}
__Habits__

* Employment status
* Student status
* Work periods
* Study periods
:::

::: {.column width="66%"}
__MCTQ standard version__

(workdays days and work-free days)

::: columns
::: {.column width="45%"}
* Number of workdays per week
* Local time of going to bed
* Local time of preparing to sleep
* Sleep latency or time to fall asleep after preparing to sleep
:::

::: {.column width="45%"}
* Local time of sleep end
* Use of alarm clock to wake up
* Time that it takes to get up after sleep end
* Light exposure
:::
:::
:::
:::

## {.center-x}

![](images/power-analysis-figure-1.png){.r-stretch}
Expand All @@ -336,14 +412,25 @@ According to the PNAD, the proportion of men and women above 18 years old in 201

## {background-iframe="http://labren.ccst.inpe.br/atlas_2017.html" background-interactive=true}

## {background-iframe="https://dmphub.cdlib.org/dmps/doi:10.48321/D1DW8P" background-interactive=true}
## Data plan

See: <https://dmphub.cdlib.org/dmps/doi:10.48321/D1DW8P>

::: footer
[@vartanian2023f]
:::

## {background-iframe="https://dbdiagram.io/e/5e6c84484495b02c3b883aff/6555ee6d3be14957871dd472" background-interactive=true}

## Research compendium

See:

* <https://www.tandfonline.com/doi/abs/10.1080/00031305.2017.1375986>.
* <https://github.com/danielvartan/mastersthesis>

## {background-iframe="https://books.ropensci.org/targets/walkthrough.html#run-the-pipeline" background-interactive=true}

## {background-iframe="https://www.go-fair.org/fair-principles/" background-interactive=true}
<!-- %:::% slides-methods end %:::% -->
<!-- %:::% slides-results begin %:::% -->
Expand Down
Loading

0 comments on commit 48be354

Please sign in to comment.