Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handbook v2.5 es #191

Open
wants to merge 116 commits into
base: deploy-preview
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
0be7113
Testing
arranhamlet Jul 25, 2024
e64605a
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Jul 25, 2024
e0ae901
update download links
ntluong95 Aug 1, 2024
c597d6e
change offline_long for EN version
ntluong95 Aug 1, 2024
093f435
Numerous edits to the editorial_style and data_used pages, fixed link…
arranhamlet Aug 1, 2024
6236817
Working through the basics chapter, numerous links that need to be up…
arranhamlet Aug 1, 2024
856b84b
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Aug 1, 2024
4a25f73
Continuing to work through the basics chapter
arranhamlet Aug 21, 2024
77b4ab4
Fixing the table on object class
arranhamlet Aug 21, 2024
076e264
Completed the basics chapter
arranhamlet Aug 23, 2024
54702e1
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Aug 23, 2024
272c4a7
Upd to basics
arranhamlet Aug 23, 2024
32e109f
update corresponding language lead
ntluong95 Aug 24, 2024
e50caaf
General updates
arranhamlet Sep 4, 2024
410659b
Importing chapter, minor updates
arranhamlet Sep 4, 2024
c300e6f
Worked through cleaning and dates
arranhamlet Sep 4, 2024
3752295
Worked through factors
arranhamlet Sep 8, 2024
022a076
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 8, 2024
c5f136a
Updated the iteration chapter
arranhamlet Sep 9, 2024
7aa5079
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 9, 2024
4d4d472
Updated descriptive tables
arranhamlet Sep 9, 2024
2fb3fcd
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 9, 2024
1f2bc63
Updates to regression, standardization, moving averages, data links@
arranhamlet Sep 10, 2024
7a4e68c
Epidemic and survey analysis done
arranhamlet Sep 11, 2024
6c9bf82
Worked through survival analysis
arranhamlet Sep 11, 2024
7e4b80a
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 11, 2024
9e5697b
update list of the lead translator
ntluong95 Sep 11, 2024
5c49e11
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 11, 2024
744ef8b
gis chapter updated
arranhamlet Sep 11, 2024
1e6ac5a
updates to various pages
arranhamlet Sep 12, 2024
5744ff2
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
arranhamlet Sep 12, 2024
8e06add
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 12, 2024
224d203
Epicurve section done
arranhamlet Sep 12, 2024
5f6e29e
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 12, 2024
4100e1a
delete the old_bookdown folder
nsbatra Sep 17, 2024
fbf19c4
Merge pull request #407 from appliedepi/remove_oldbookdown
nsbatra Sep 18, 2024
c3cbc76
Rendering after remove old handbook
ntluong95 Sep 18, 2024
76fe9a8
Merge pull request #408 from appliedepi/240819_removing_oldbook
nsbatra Sep 18, 2024
60e351e
Fix the unknown language from dropdown button
ntluong95 Sep 18, 2024
31aef2f
Merge pull request #409 from appliedepi/240819_removing_oldbook
nsbatra Sep 18, 2024
ebfa021
Large scale updates to numerous chapters filling in issues raised on …
arranhamlet Sep 18, 2024
e1dfe2e
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 18, 2024
c286b45
Further changes to chapters
arranhamlet Sep 19, 2024
617a460
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 19, 2024
05f7a6b
Upates to rmarkdown chapter
arranhamlet Sep 23, 2024
0cdc8d5
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 23, 2024
02d3990
Report factor and collaboration chapters reviewed
arranhamlet Sep 24, 2024
ca573fc
Flexdashboard chapter finished
arranhamlet Sep 24, 2024
14f0bff
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 24, 2024
e3dbfbe
updated epicurve chapter with incidence2 and completed diagram chapter
arranhamlet Sep 26, 2024
e548cba
Updates to epicurve chapter
arranhamlet Sep 26, 2024
60db63c
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 26, 2024
573cf62
Shiny and time series updated
arranhamlet Sep 27, 2024
68f7f4a
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 27, 2024
61d38be
All pages compiling
arranhamlet Sep 27, 2024
5578643
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 27, 2024
2703d23
Initial Quarto page created
arranhamlet Sep 29, 2024
da812e8
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 29, 2024
b19b092
Quarto updates and full rendering
arranhamlet Sep 30, 2024
99ea727
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Sep 30, 2024
29fb695
Final edits up to GIS
arranhamlet Oct 1, 2024
e3895aa
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 1, 2024
ddcd5e9
Reviewing chapters for last minute changes
arranhamlet Oct 1, 2024
e50c917
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 1, 2024
3eb5e8e
small edits after first review of Arran's edits
nsbatra Oct 14, 2024
4f4fbea
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 14, 2024
a53d14a
quarto page small edits
nsbatra Oct 14, 2024
e15520f
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 14, 2024
0db3e99
Updates to GIS chapter and Quarto
arranhamlet Oct 14, 2024
fca5341
Final update to GIS
arranhamlet Oct 14, 2024
187978e
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 14, 2024
259560d
Updates to make sure github issues have been addressed
arranhamlet Oct 15, 2024
a72b757
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 15, 2024
e6a4aa9
Initial updates following Neale's review
arranhamlet Oct 18, 2024
13def29
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 18, 2024
013d232
update Github Action to show changes in .qmd files only
ntluong95 Oct 29, 2024
0670a27
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 29, 2024
c260d6f
Merge branch 'deploy-preview' into handbook_v2.5_es
ntluong95 Oct 29, 2024
c45a3a6
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 29, 2024
69e2f38
Update a brand new PR
ntluong95 Oct 29, 2024
46cb70f
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 29, 2024
3427f6c
compare with master branch instead of main
ntluong95 Oct 29, 2024
8a3c8f7
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 29, 2024
be147a8
correctly retrieve only changed .qmd files
ntluong95 Oct 29, 2024
88be295
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 29, 2024
6d2c05c
Don't retrieve files with language extension
ntluong95 Oct 29, 2024
10b959d
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 29, 2024
93084d2
Reformat the PR
ntluong95 Oct 29, 2024
09ec001
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 29, 2024
136a8a8
Final edits flagged
arranhamlet Oct 30, 2024
4f0d72c
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
arranhamlet Oct 30, 2024
8489b44
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Oct 30, 2024
d04e814
Added a book reference to the survey chapter
arranhamlet Nov 4, 2024
5ac48f2
Updates following comments
arranhamlet Nov 25, 2024
0c0d5bc
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Nov 25, 2024
4315e6f
fixing ga yml conflict
aspina7 Jan 23, 2025
eb317e5
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Jan 23, 2025
59ed8ab
Revert .html files to match the main branch
aspina7 Jan 23, 2025
3434f0e
remove old_bookdown again
aspina7 Jan 23, 2025
08b2337
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Jan 23, 2025
789c1e3
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Jan 23, 2025
1a0854a
fix data.table reading
aspina7 Jan 24, 2025
2adac08
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Jan 24, 2025
eb248e2
fix html not showing up
aspina7 Jan 24, 2025
767d838
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Jan 24, 2025
ac0f112
fixing inline code
aspina7 Jan 24, 2025
45734c7
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Jan 24, 2025
7638298
fix typos
aspina7 Jan 24, 2025
fb21f91
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Jan 24, 2025
b264728
bullet points
aspina7 Jan 24, 2025
b208994
fix comment
aspina7 Jan 24, 2025
846847b
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Jan 24, 2025
96f528b
fix links #418
aspina7 Jan 24, 2025
772747d
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Jan 24, 2025
a23fe49
fix author links #406
aspina7 Jan 24, 2025
99b8894
Merge branch 'handbook_v2.5_en' of https://github.com/appliedepi/epiR…
ntluong95 Jan 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing the table on object class
  • Loading branch information
arranhamlet committed Aug 21, 2024
commit 77b4ab48052ddd802e1d625ffa60de752de4252e
74 changes: 32 additions & 42 deletions html_outputs/new_pages/basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -1788,20 +1788,23 @@ <h3 class="unnumbered anchored" data-anchor-id="object-structure">Object structu
<col style="width: 48%">
<col style="width: 41%">
</colgroup>
<thead>
<tr class="header">
<th>Common structure</th>
<th>Explanation</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Vectors</td>
<td>A container for a sequence of singular objects, all of the same class (e.g.&nbsp;numeric, character).</td>
<td><strong>“Variables” (columns) in data frames are vectors</strong> (e.g.&nbsp;the column <code>age_years</code>).</td>
<td>Common structure</td>
<td>Explanation</td>
<td>Example</td>
</tr>
<tr class="even">
</tbody>
</table>
<div class="line-block">Vectors | A container for a sequence of singular objects, all of the same class (e.g.&nbsp;numeric, character). | <strong>“Variables” (columns) in data frames are vectors</strong> (e.g.&nbsp;the column <code>age_years</code>). |</div>
<table class="caption-top table">
<colgroup>
<col style="width: 9%">
<col style="width: 48%">
<col style="width: 41%">
</colgroup>
<tbody>
<tr class="odd">
<td>Data Frames</td>
<td>Vectors (e.g.&nbsp;columns) that are bound together that all have the same number of rows.</td>
<td><code>linelist</code> is a data frame.</td>
Expand All @@ -1814,72 +1817,59 @@ <h3 class="unnumbered anchored" data-anchor-id="object-structure">Object structu
<section id="object-classes" class="level3 unnumbered">
<h3 class="unnumbered anchored" data-anchor-id="object-classes">Object classes</h3>
<p>All the objects stored in R have a <em>class</em> which tells R how to handle the object. There are many possible classes, but common ones include:</p>
<table class="caption-top" style="width:100%;">
<colgroup>
<col style="width: 4%">
<col style="width: 61%">
<col style="width: 34%">
</colgroup>
<table class="caption-top table">
<thead>
<tr class="header">
<th>Class</th>
<th>Explanation</th>
<th>Examples</th>
<th>Class |Explanation |Examples |</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="line-block">Character | These are text/words/sentences <strong>“within quotation marks”</strong>. Math cannot be done on these objects. | “Character objects are in quotation marks” |</div>
<table class="caption-top table">
<tbody>
<tr class="odd">
<td>Character</td>
<td>These are text/words/sentences <strong>“within quotation marks”</strong>. Math cannot be done on these objects.</td>
<td>“Character objects are in quotation marks”</td>
</tr>
<tr class="even">
<td>Integer</td>
<td>Numbers that are <strong>whole only</strong> (no decimals)</td>
<td>-5, 14, or 2000</td>
<td></td>
</tr>
<tr class="even">
<tr class="odd">
<td>Numeric</td>
<td>These are numbers and <strong>can include decimals</strong>. If within quotation marks they will be considered character class.</td>
<td>23.1 or 14</td>
<td></td>
</tr>
<tr class="odd">
<tr class="even">
<td>Factor</td>
<td>These are vectors that have a <strong>specified order</strong> or hierarchy of values</td>
<td>An variable of economic status with ordered values</td>
<td></td>
</tr>
<tr class="even">
<tr class="odd">
<td>Date</td>
<td><strong>Once R is told that certain data are Dates</strong>, these data can be manipulated and displayed in special ways. See the page on <a href="../new_pages/dates.html">Working with dates</a> for more information. | 2018-04-12 or 15/3/1954 or Wed 4 Jan 1980</td>
<td></td>
<td><strong>Once R is told that certain data are Dates</strong>, these data can be manipulated and displayed in special ways. See the page on <a href="../new_pages/dates.html">Working with dates</a> for more information.| 2018-04-12 or 15/3/1954 or Wed 4 Jan 1980 |</td>
<td></td>
</tr>
<tr class="odd">
<tr class="even">
<td>Logical</td>
<td>Values must be one of the two special values TRUE or FALSE (note these are <strong>not</strong> “TRUE” and “FALSE” in quotation marks)</td>
<td>TRUE or FALSE</td>
<td></td>
</tr>
<tr class="even">
<tr class="odd">
<td>data.frame</td>
<td>A data frame is how R stores a <strong>typical dataset</strong>. It consists of vectors (columns) of data bound together, that all have the same number of observations (rows).</td>
<td>The example AJS dataset named <code>linelist_raw</code> contains 68 variables with 300 observations (rows) each.</td>
<td></td>
</tr>
<tr class="odd">
<tr class="even">
<td>tibble</td>
<td>tibbles are a variation on data frame, the main operational difference being that they print more nicely to the console (display first 10 rows and only columns that fit on the screen)</td>
<td>Any data frame, list, or matrix can be converted to a tibble with <code>as_tibble()</code></td>
<td></td>
</tr>
<tr class="even">
<tr class="odd">
<td>list</td>
<td>A list is like vector, but holds other objects that can be other different classes</td>
<td>A list could hold a single number, and a dataframe, and a vector, and even another list within it!</td>
<td></td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -3359,7 +3349,7 @@ <h3 class="unnumbered anchored" data-anchor-id="code-assists">Code assists</h3>
</div>
</div>
</footer>
<script>var lightboxQuarto = GLightbox({"closeEffect":"zoom","loop":false,"descPosition":"bottom","openEffect":"zoom","selector":".lightbox"});
<script>var lightboxQuarto = GLightbox({"selector":".lightbox","closeEffect":"zoom","descPosition":"bottom","openEffect":"zoom","loop":false});
window.onload = () => {
lightboxQuarto.on('slide_before_load', (data) => {
const { slideIndex, slideNode, slideConfig, player, trigger } = data;
Expand Down
Loading