Skip to content

Commit

Permalink
Merge pull request #10 from ecohealthalliance/dev
Browse files Browse the repository at this point in the history
update handbook with new table in database
  • Loading branch information
ernestguevarra authored Mar 31, 2023
2 parents 4cebf99 + a706506 commit 8f83623
Show file tree
Hide file tree
Showing 16 changed files with 595 additions and 1,167 deletions.
68 changes: 55 additions & 13 deletions 03-database.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ This schema can be viewed interactively from here - https://airtable.com/appAL7f

### Table details

```{r activity-table}
```{r activity-table, eval = FALSE}
create_data_dictionary(metadata = airtable_metadata, table = "Activities") |>
(\(x) x$table_details)() |>
knitr::kable() |>
kableExtra::row_spec(row = 0, bold = TRUE) |>
kableExtra::kable_paper(lightable_options = "striped")
```

`r create_data_dictionary(metadata = airtable_metadata, table = "Activities") |> (\(x) x$table_details)() |> dplyr::pull("Table Description")`

Following are the different fields within the Activities table with their description.

### Fields details

```{r activity-field-table}
Expand All @@ -28,28 +32,33 @@ create_data_dictionary(metadata = airtable_metadata, table = "Activities") |>
kableExtra::kable_paper(lightable_options = "striped")
```

## AU Countries Table {#au-countries-table}
## Countries Table {#countries-table}

### Table details

```{r au-countries-table}
```{r au-countries-table, eval = FALSE}
create_data_dictionary(metadata = airtable_metadata, table = "AU Countries") |>
(\(x) x$table_details)() |>
knitr::kable() |>
kableExtra::row_spec(row = 0, bold = TRUE) |>
kableExtra::kable_paper(lightable_options = "striped")
```

`r create_data_dictionary(metadata = airtable_metadata, table = "Countries") |> (\(x) x$table_details)() |> dplyr::pull("Table Description")`

Following are the different fields within the Countries table with their description.

### Fields details

```{r au-countries-field-table}
create_data_dictionary(metadata = airtable_metadata, table = "AU Countries") |>
```{r countries-field-table}
create_data_dictionary(metadata = airtable_metadata, table = "Countries") |>
(\(x) x$field_details)() |>
knitr::kable() |>
kableExtra::row_spec(row = 0, bold = TRUE) |>
kableExtra::kable_paper(lightable_options = "striped")
```

<!---
## AU Regions Table {#au-regions-table}
### Table details
Expand All @@ -72,18 +81,24 @@ create_data_dictionary(metadata = airtable_metadata, table = "AU Regions") |>
kableExtra::kable_paper(lightable_options = "striped")
```
--->

## Description Table {#description-table}

### Table details

```{r description-table}
```{r description-table, eval = FALSE}
create_data_dictionary(metadata = airtable_metadata, table = "Description") |>
(\(x) x$table_details)() |>
knitr::kable() |>
kableExtra::row_spec(row = 0, bold = TRUE) |>
kableExtra::kable_paper(lightable_options = "striped")
```

`r create_data_dictionary(metadata = airtable_metadata, table = "Description") |> (\(x) x$table_details)() |> dplyr::pull("Table Description")`

Following are the different fields within the Description table with their description.

### Field details

```{r description-field-table}
Expand All @@ -98,14 +113,18 @@ create_data_dictionary(metadata = airtable_metadata, table = "Description") |>

### Table details

```{r funders-table}
```{r funders-table, eval = FALSE}
create_data_dictionary(metadata = airtable_metadata, table = "Funders") |>
(\(x) x$table_details)() |>
knitr::kable() |>
kableExtra::row_spec(row = 0, bold = TRUE) |>
kableExtra::kable_paper(lightable_options = "striped")
```

`r create_data_dictionary(metadata = airtable_metadata, table = "Funders") |> (\(x) x$table_details)() |> dplyr::pull("Table Description")`

Following are the different fields within the Funders table with their description.

### Field details

```{r funders-field-table}
Expand All @@ -120,14 +139,18 @@ create_data_dictionary(metadata = airtable_metadata, table = "Funders") |>

### Table details

```{r institutions-table}
```{r institutions-table, eval = FALSE}
create_data_dictionary(metadata = airtable_metadata, table = "Institutions") |>
(\(x) x$table_details)() |>
knitr::kable() |>
kableExtra::row_spec(row = 0, bold = TRUE) |>
kableExtra::kable_paper(lightable_options = "striped")
```

`r create_data_dictionary(metadata = airtable_metadata, table = "Institutions") |> (\(x) x$table_details)() |> dplyr::pull("Table Description")`

Following are the different fields within the Institutions table with their description.

### Field details

```{r institutions-field-table}
Expand All @@ -142,14 +165,18 @@ create_data_dictionary(metadata = airtable_metadata, table = "Institutions") |>

### Table details

```{r researchers-table}
```{r researchers-table, eval = FALSE}
create_data_dictionary(metadata = airtable_metadata, table = "Researchers") |>
(\(x) x$table_details)() |>
knitr::kable() |>
kableExtra::row_spec(row = 0, bold = TRUE) |>
kableExtra::kable_paper(lightable_options = "striped")
```

`r create_data_dictionary(metadata = airtable_metadata, table = "Researchers") |> (\(x) x$table_details)() |> dplyr::pull("Table Description")`

Following are the different fields within the Researchers table with their description.

### Field details

```{r researchers-field-table}
Expand All @@ -164,14 +191,18 @@ create_data_dictionary(metadata = airtable_metadata, table = "Researchers") |>

### Table details

```{r sources-table}
```{r sources-table, eval = FALSE}
create_data_dictionary(metadata = airtable_metadata, table = "Sources") |>
(\(x) x$table_details)() |>
knitr::kable() |>
kableExtra::row_spec(row = 0, bold = TRUE) |>
kableExtra::kable_paper(lightable_options = "striped")
```

`r create_data_dictionary(metadata = airtable_metadata, table = "Sources") |> (\(x) x$table_details)() |> dplyr::pull("Table Description")`

Following are the different fields within the Sources table with their description.

### Field details

```{r sources-field-table}
Expand All @@ -186,14 +217,18 @@ create_data_dictionary(metadata = airtable_metadata, table = "Sources") |>

### Table details

```{r survey-results-table}
create_data_dictionary(metadata = airtable_metadata, table = "Surveyt Results") |>
```{r survey-results-table, eval = FALSE}
create_data_dictionary(metadata = airtable_metadata, table = "Survey Results") |>
(\(x) x$table_details)() |>
knitr::kable() |>
kableExtra::row_spec(row = 0, bold = TRUE) |>
kableExtra::kable_paper(lightable_options = "striped")
```

`r create_data_dictionary(metadata = airtable_metadata, table = "Survey Results") |> (\(x) x$table_details)() |> dplyr::pull("Table Description")`

Following are the different fields within the Survey Results table with their description.

### Field details

```{r survey-results-field-table}
Expand All @@ -208,14 +243,18 @@ create_data_dictionary(metadata = airtable_metadata, table = "Survey Results") |

### Table details

```{r topics-table}
```{r topics-table, eval = FALSE}
create_data_dictionary(metadata = airtable_metadata, table = "Topics") |>
(\(x) x$table_details)() |>
knitr::kable() |>
kableExtra::row_spec(row = 0, bold = TRUE) |>
kableExtra::kable_paper(lightable_options = "striped")
```

`r create_data_dictionary(metadata = airtable_metadata, table = "Topics") |> (\(x) x$table_details)() |> dplyr::pull("Table Description")`

Following are the different fields within the Topics table with their description.

### Field details

```{r topics-field-table}
Expand All @@ -226,6 +265,7 @@ create_data_dictionary(metadata = airtable_metadata, table = "Topics") |>
kableExtra::kable_paper(lightable_options = "striped")
```

<!---
## WHO Countries Table {#who-countries-table}
### Table details
Expand All @@ -248,3 +288,5 @@ create_data_dictionary(metadata = airtable_metadata, table = "WHO Countries") |>
kableExtra::kable_paper(lightable_options = "striped")
```
--->

Binary file modified _bookdown_files/_main_files/figure-latex/actions diagram-1.pdf
Binary file not shown.
42 changes: 16 additions & 26 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<meta name="author" content="EcoHealth Alliance" />


<meta name="date" content="2023-03-22" />
<meta name="date" content="2023-03-31" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -116,55 +116,45 @@
<li class="chapter" data-level="4.1.1" data-path="database.html"><a href="database.html#table-details"><i class="fa fa-check"></i><b>4.1.1</b> Table details</a></li>
<li class="chapter" data-level="4.1.2" data-path="database.html"><a href="database.html#fields-details"><i class="fa fa-check"></i><b>4.1.2</b> Fields details</a></li>
</ul></li>
<li class="chapter" data-level="4.2" data-path="database.html"><a href="database.html#au-countries-table"><i class="fa fa-check"></i><b>4.2</b> AU Countries Table</a>
<li class="chapter" data-level="4.2" data-path="database.html"><a href="database.html#countries-table"><i class="fa fa-check"></i><b>4.2</b> Countries Table</a>
<ul>
<li class="chapter" data-level="4.2.1" data-path="database.html"><a href="database.html#table-details-1"><i class="fa fa-check"></i><b>4.2.1</b> Table details</a></li>
<li class="chapter" data-level="4.2.2" data-path="database.html"><a href="database.html#fields-details-1"><i class="fa fa-check"></i><b>4.2.2</b> Fields details</a></li>
</ul></li>
<li class="chapter" data-level="4.3" data-path="database.html"><a href="database.html#au-regions-table"><i class="fa fa-check"></i><b>4.3</b> AU Regions Table</a>
<li class="chapter" data-level="4.3" data-path="database.html"><a href="database.html#description-table"><i class="fa fa-check"></i><b>4.3</b> Description Table</a>
<ul>
<li class="chapter" data-level="4.3.1" data-path="database.html"><a href="database.html#table-details-2"><i class="fa fa-check"></i><b>4.3.1</b> Table details</a></li>
<li class="chapter" data-level="4.3.2" data-path="database.html"><a href="database.html#fields-details-2"><i class="fa fa-check"></i><b>4.3.2</b> Fields details</a></li>
<li class="chapter" data-level="4.3.2" data-path="database.html"><a href="database.html#field-details"><i class="fa fa-check"></i><b>4.3.2</b> Field details</a></li>
</ul></li>
<li class="chapter" data-level="4.4" data-path="database.html"><a href="database.html#description-table"><i class="fa fa-check"></i><b>4.4</b> Description Table</a>
<li class="chapter" data-level="4.4" data-path="database.html"><a href="database.html#funders-table"><i class="fa fa-check"></i><b>4.4</b> Funder Table</a>
<ul>
<li class="chapter" data-level="4.4.1" data-path="database.html"><a href="database.html#table-details-3"><i class="fa fa-check"></i><b>4.4.1</b> Table details</a></li>
<li class="chapter" data-level="4.4.2" data-path="database.html"><a href="database.html#field-details"><i class="fa fa-check"></i><b>4.4.2</b> Field details</a></li>
<li class="chapter" data-level="4.4.2" data-path="database.html"><a href="database.html#field-details-1"><i class="fa fa-check"></i><b>4.4.2</b> Field details</a></li>
</ul></li>
<li class="chapter" data-level="4.5" data-path="database.html"><a href="database.html#funders-table"><i class="fa fa-check"></i><b>4.5</b> Funder Table</a>
<li class="chapter" data-level="4.5" data-path="database.html"><a href="database.html#institutions-table"><i class="fa fa-check"></i><b>4.5</b> Institutions Table</a>
<ul>
<li class="chapter" data-level="4.5.1" data-path="database.html"><a href="database.html#table-details-4"><i class="fa fa-check"></i><b>4.5.1</b> Table details</a></li>
<li class="chapter" data-level="4.5.2" data-path="database.html"><a href="database.html#field-details-1"><i class="fa fa-check"></i><b>4.5.2</b> Field details</a></li>
<li class="chapter" data-level="4.5.2" data-path="database.html"><a href="database.html#field-details-2"><i class="fa fa-check"></i><b>4.5.2</b> Field details</a></li>
</ul></li>
<li class="chapter" data-level="4.6" data-path="database.html"><a href="database.html#institutions-table"><i class="fa fa-check"></i><b>4.6</b> Institutions Table</a>
<li class="chapter" data-level="4.6" data-path="database.html"><a href="database.html#researchers-table"><i class="fa fa-check"></i><b>4.6</b> Researchers Table</a>
<ul>
<li class="chapter" data-level="4.6.1" data-path="database.html"><a href="database.html#table-details-5"><i class="fa fa-check"></i><b>4.6.1</b> Table details</a></li>
<li class="chapter" data-level="4.6.2" data-path="database.html"><a href="database.html#field-details-2"><i class="fa fa-check"></i><b>4.6.2</b> Field details</a></li>
<li class="chapter" data-level="4.6.2" data-path="database.html"><a href="database.html#field-details-3"><i class="fa fa-check"></i><b>4.6.2</b> Field details</a></li>
</ul></li>
<li class="chapter" data-level="4.7" data-path="database.html"><a href="database.html#researchers-table"><i class="fa fa-check"></i><b>4.7</b> Researchers Table</a>
<li class="chapter" data-level="4.7" data-path="database.html"><a href="database.html#sources-table"><i class="fa fa-check"></i><b>4.7</b> Sources Table</a>
<ul>
<li class="chapter" data-level="4.7.1" data-path="database.html"><a href="database.html#table-details-6"><i class="fa fa-check"></i><b>4.7.1</b> Table details</a></li>
<li class="chapter" data-level="4.7.2" data-path="database.html"><a href="database.html#field-details-3"><i class="fa fa-check"></i><b>4.7.2</b> Field details</a></li>
<li class="chapter" data-level="4.7.2" data-path="database.html"><a href="database.html#field-details-4"><i class="fa fa-check"></i><b>4.7.2</b> Field details</a></li>
</ul></li>
<li class="chapter" data-level="4.8" data-path="database.html"><a href="database.html#sources-table"><i class="fa fa-check"></i><b>4.8</b> Sources Table</a>
<li class="chapter" data-level="4.8" data-path="database.html"><a href="database.html#survey-results-table"><i class="fa fa-check"></i><b>4.8</b> Survey Results Table</a>
<ul>
<li class="chapter" data-level="4.8.1" data-path="database.html"><a href="database.html#table-details-7"><i class="fa fa-check"></i><b>4.8.1</b> Table details</a></li>
<li class="chapter" data-level="4.8.2" data-path="database.html"><a href="database.html#field-details-4"><i class="fa fa-check"></i><b>4.8.2</b> Field details</a></li>
<li class="chapter" data-level="4.8.2" data-path="database.html"><a href="database.html#field-details-5"><i class="fa fa-check"></i><b>4.8.2</b> Field details</a></li>
</ul></li>
<li class="chapter" data-level="4.9" data-path="database.html"><a href="database.html#survey-results-table"><i class="fa fa-check"></i><b>4.9</b> Survey Results Table</a>
<li class="chapter" data-level="4.9" data-path="database.html"><a href="database.html#topics-table"><i class="fa fa-check"></i><b>4.9</b> Topics Table</a>
<ul>
<li class="chapter" data-level="4.9.1" data-path="database.html"><a href="database.html#table-details-8"><i class="fa fa-check"></i><b>4.9.1</b> Table details</a></li>
<li class="chapter" data-level="4.9.2" data-path="database.html"><a href="database.html#field-details-5"><i class="fa fa-check"></i><b>4.9.2</b> Field details</a></li>
</ul></li>
<li class="chapter" data-level="4.10" data-path="database.html"><a href="database.html#topics-table"><i class="fa fa-check"></i><b>4.10</b> Topics Table</a>
<ul>
<li class="chapter" data-level="4.10.1" data-path="database.html"><a href="database.html#table-details-9"><i class="fa fa-check"></i><b>4.10.1</b> Table details</a></li>
<li class="chapter" data-level="4.10.2" data-path="database.html"><a href="database.html#field-details-6"><i class="fa fa-check"></i><b>4.10.2</b> Field details</a></li>
</ul></li>
<li class="chapter" data-level="4.11" data-path="database.html"><a href="database.html#who-countries-table"><i class="fa fa-check"></i><b>4.11</b> WHO Countries Table</a>
<ul>
<li class="chapter" data-level="4.11.1" data-path="database.html"><a href="database.html#table-details-10"><i class="fa fa-check"></i><b>4.11.1</b> Table details</a></li>
<li class="chapter" data-level="4.11.2" data-path="database.html"><a href="database.html#field-details-7"><i class="fa fa-check"></i><b>4.11.2</b> Field details</a></li>
<li class="chapter" data-level="4.9.2" data-path="database.html"><a href="database.html#field-details-6"><i class="fa fa-check"></i><b>4.9.2</b> Field details</a></li>
</ul></li>
</ul></li>
<li class="chapter" data-level="5" data-path="sources.html"><a href="sources.html"><i class="fa fa-check"></i><b>5</b> Sources</a>
Expand Down
Binary file modified docs/_main.epub
Binary file not shown.
Binary file modified docs/_main.pdf
Binary file not shown.
Loading

0 comments on commit 8f83623

Please sign in to comment.