Skip to content

Commit 00f9200

Browse files
committed
Add table
1 parent 467c1b5 commit 00f9200

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

_freeze/pages/gallery/data/index/execute-results/html.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"hash": "d10fd155b3cb40c8d997e06a4d664b3d",
2+
"hash": "b4ac290b96731cfe879ad2ccd17ff855",
33
"result": {
4-
"markdown": "---\npagetitle: \"Data\"\ndescription: |\n A table of datasets that have been published through the openwashdata \n community or are currently in development. \neditor_options: \n chunk_output_type: console\nexecute: \n echo: false\n warning: false\n---\n\n\n## Data\n\nThe table on this pages shows data that is published following our R data package workflow. Each data set comes with its own website and rich documentation to increase reusability. \n\n\n::: {.cell}\n\n:::\n\n::: {.cell}\n::: {.cell-output-display}\n| id|name |status |description |published |link |\n|--:|:---------|:-----------|:---------------------------------------------------------------------------------|:---------|:-------------------------------------------|\n| 1|fsmglobal |published |Populations of 175 countries requiring different faecal sludge emptying services. |NA |<https://openwashdata.github.io/fsmglobal/> |\n| 2|NA |development |NA |NA |NA |\n| 3|NA |NA |NA |NA |NA |\n:::\n:::\n",
4+
"markdown": "---\npagetitle: \"Data\"\ndescription: |\n A table of datasets that have been published through the openwashdata \n community or are currently in development. \neditor_options: \n chunk_output_type: console\nexecute: \n echo: false\n warning: false\n---\n\n\n## Data\n\nThe table on this pages shows data that is published following our R data package workflow. Each data set comes with its own website and rich documentation to increase reusability. \n\n\n::: {.cell}\n\n:::\n\n::: {.cell}\n::: {.cell-output-display}\n| id|name |status |description |published |website |\n|--:|:---------|:-----------|:---------------------------------------------------------------------------------|:---------|:-------------------------------------------|\n| 1|[fsmglobal](<https://github.com/openwashdata/fsmglobal>)|published |Populations of 175 countries requiring different faecal sludge emptying services. |NA |<https://openwashdata.github.io/fsmglobal/> |\n| 2|[NA](NA) |in-progress |NA |NA |NA |\n| 3|[NA](NA) |backlog |NA |NA |NA |\n:::\n:::\n",
55
"supporting": [],
66
"filters": [
77
"rmarkdown/pagebreak.lua"
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
X.1,X,id,pkg_name,maintainer,status,description,source,date_published,link_github,link_pkg_website
2-
1,1,1,fsmglobal,larnsce,published,Populations of 175 countries requiring different faecal sludge emptying services.,[@greene2021],NA,<https://github.com/openwashdata/fsmglobal>,<https://openwashdata.github.io/fsmglobal/>
3-
2,2,2,NA,NA,development,NA,NA,NA,NA,NA
4-
3,3,3,NA,NA,NA,NA,NA,NA,NA,NA
1+
id,pkg_name,maintainer,source,difficulty,status,description,date_published,link_github,link_pkg_website
2+
1,fsmglobal,larnsce,academic,low,published,Populations of 175 countries requiring different faecal sludge emptying services.,NA,<https://github.com/openwashdata/fsmglobal>,<https://openwashdata.github.io/fsmglobal/>
3+
2,NA,NA,NA,NA,in-progress,NA,NA,NA,NA
4+
3,NA,NA,NA,NA,backlog,NA,NA,NA,NA

pages/gallery/data/index.qmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ The table on this pages shows data that is published following our R data packag
1818
1919
# data <- googlesheets4::read_sheet("1vtw16vpvJbioDirGTQcy0Ubz01Cz7lcwFVvbxsNPSVM")
2020
# data |> readr::write_csv(here::here("pages/gallery/data/data_data/tbl-01-openwashdata-datasets.csv"))
21-
2221
data <- readr::read_csv(here::here("pages/gallery/data/data_data/tbl-01-openwashdata-datasets.csv"))
2322
2423
```
2524

2625
```{r}
2726
data |>
27+
dplyr::mutate(pkg_name = paste0("[", pkg_name, "]", "(", link_github, ")")) |>
2828
dplyr::select(id,
2929
name = pkg_name,
3030
status,
3131
description,
3232
published = date_published,
33-
link = link_pkg_website) |>
33+
website = link_pkg_website) |>
3434
knitr::kable()
3535
```
3636

0 commit comments

Comments
 (0)