(Translated by https://www.hiragana.jp/)
GitHub - openwashdata/fsmglobal: Populations of 175 countries requiring different faecal sludge emptying services.
Skip to content

Populations of 175 countries requiring different faecal sludge emptying services.

License

Notifications You must be signed in to change notification settings

openwashdata/fsmglobal

Repository files navigation

fsmglobal

DOI R-CMD-check License: CC BY 4.0

This data was first published as part of a journal article by (Greene et al. 2021) and contained in the supplemental material as a table in a DOCX file. The following summary table was produced from the data and the code is shown further below.

<style>#zuyhlqhyio table { font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } #zuyhlqhyio thead, #zuyhlqhyio tbody, #zuyhlqhyio tfoot, #zuyhlqhyio tr, #zuyhlqhyio td, #zuyhlqhyio th { border-style: none; } #zuyhlqhyio p { margin: 0; padding: 0; } #zuyhlqhyio .gt_table { display: table; border-collapse: collapse; line-height: normal; margin-left: auto; margin-right: auto; color: #333333; font-size: 16px; font-weight: normal; font-style: normal; background-color: #FFFFFF; width: auto; border-top-style: solid; border-top-width: 2px; border-top-color: #A8A8A8; border-right-style: none; border-right-width: 2px; border-right-color: #D3D3D3; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #A8A8A8; border-left-style: none; border-left-width: 2px; border-left-color: #D3D3D3; } #zuyhlqhyio .gt_caption { padding-top: 4px; padding-bottom: 4px; } #zuyhlqhyio .gt_title { color: #333333; font-size: 125%; font-weight: initial; padding-top: 4px; padding-bottom: 4px; padding-left: 5px; padding-right: 5px; border-bottom-color: #FFFFFF; border-bottom-width: 0; } #zuyhlqhyio .gt_subtitle { color: #333333; font-size: 85%; font-weight: initial; padding-top: 3px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; border-top-color: #FFFFFF; border-top-width: 0; } #zuyhlqhyio .gt_heading { background-color: #FFFFFF; text-align: center; border-bottom-color: #FFFFFF; border-left-style: none; border-left-width: 1px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 1px; border-right-color: #D3D3D3; } #zuyhlqhyio .gt_bottom_border { border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; } #zuyhlqhyio .gt_col_headings { border-top-style: solid; border-top-width: 2px; border-top-color: #D3D3D3; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; border-left-style: none; border-left-width: 1px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 1px; border-right-color: #D3D3D3; } #zuyhlqhyio .gt_col_heading { color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: normal; text-transform: inherit; border-left-style: none; border-left-width: 1px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 1px; border-right-color: #D3D3D3; vertical-align: bottom; padding-top: 5px; padding-bottom: 6px; padding-left: 5px; padding-right: 5px; overflow-x: hidden; } #zuyhlqhyio .gt_column_spanner_outer { color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: normal; text-transform: inherit; padding-top: 0; padding-bottom: 0; padding-left: 4px; padding-right: 4px; } #zuyhlqhyio .gt_column_spanner_outer:first-child { padding-left: 0; } #zuyhlqhyio .gt_column_spanner_outer:last-child { padding-right: 0; } #zuyhlqhyio .gt_column_spanner { border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; vertical-align: bottom; padding-top: 5px; padding-bottom: 5px; overflow-x: hidden; display: inline-block; width: 100%; } #zuyhlqhyio .gt_spanner_row { border-bottom-style: hidden; } #zuyhlqhyio .gt_group_heading { padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: initial; text-transform: inherit; border-top-style: solid; border-top-width: 2px; border-top-color: #D3D3D3; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; border-left-style: none; border-left-width: 1px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 1px; border-right-color: #D3D3D3; vertical-align: middle; text-align: left; } #zuyhlqhyio .gt_empty_group_heading { padding: 0.5px; color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: initial; border-top-style: solid; border-top-width: 2px; border-top-color: #D3D3D3; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; vertical-align: middle; } #zuyhlqhyio .gt_from_md > :first-child { margin-top: 0; } #zuyhlqhyio .gt_from_md > :last-child { margin-bottom: 0; } #zuyhlqhyio .gt_row { padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; margin: 10px; border-top-style: solid; border-top-width: 1px; border-top-color: #D3D3D3; border-left-style: none; border-left-width: 1px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 1px; border-right-color: #D3D3D3; vertical-align: middle; overflow-x: hidden; } #zuyhlqhyio .gt_stub { color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: initial; text-transform: inherit; border-right-style: solid; border-right-width: 2px; border-right-color: #D3D3D3; padding-left: 5px; padding-right: 5px; } #zuyhlqhyio .gt_stub_row_group { color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: initial; text-transform: inherit; border-right-style: solid; border-right-width: 2px; border-right-color: #D3D3D3; padding-left: 5px; padding-right: 5px; vertical-align: top; } #zuyhlqhyio .gt_row_group_first td { border-top-width: 2px; } #zuyhlqhyio .gt_row_group_first th { border-top-width: 2px; } #zuyhlqhyio .gt_summary_row { color: #333333; background-color: #FFFFFF; text-transform: inherit; padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; } #zuyhlqhyio .gt_first_summary_row { border-top-style: solid; border-top-color: #D3D3D3; } #zuyhlqhyio .gt_first_summary_row.thick { border-top-width: 2px; } #zuyhlqhyio .gt_last_summary_row { padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; } #zuyhlqhyio .gt_grand_summary_row { color: #333333; background-color: #FFFFFF; text-transform: inherit; padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; } #zuyhlqhyio .gt_first_grand_summary_row { padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; border-top-style: double; border-top-width: 6px; border-top-color: #D3D3D3; } #zuyhlqhyio .gt_last_grand_summary_row_top { padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; border-bottom-style: double; border-bottom-width: 6px; border-bottom-color: #D3D3D3; } #zuyhlqhyio .gt_striped { background-color: rgba(128, 128, 128, 0.05); } #zuyhlqhyio .gt_table_body { border-top-style: solid; border-top-width: 2px; border-top-color: #D3D3D3; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; } #zuyhlqhyio .gt_footnotes { color: #333333; background-color: #FFFFFF; border-bottom-style: none; border-bottom-width: 2px; border-bottom-color: #D3D3D3; border-left-style: none; border-left-width: 2px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 2px; border-right-color: #D3D3D3; } #zuyhlqhyio .gt_footnote { margin: 0px; font-size: 90%; padding-top: 4px; padding-bottom: 4px; padding-left: 5px; padding-right: 5px; } #zuyhlqhyio .gt_sourcenotes { color: #333333; background-color: #FFFFFF; border-bottom-style: none; border-bottom-width: 2px; border-bottom-color: #D3D3D3; border-left-style: none; border-left-width: 2px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 2px; border-right-color: #D3D3D3; } #zuyhlqhyio .gt_sourcenote { font-size: 90%; padding-top: 4px; padding-bottom: 4px; padding-left: 5px; padding-right: 5px; } #zuyhlqhyio .gt_left { text-align: left; } #zuyhlqhyio .gt_center { text-align: center; } #zuyhlqhyio .gt_right { text-align: right; font-variant-numeric: tabular-nums; } #zuyhlqhyio .gt_font_normal { font-weight: normal; } #zuyhlqhyio .gt_font_bold { font-weight: bold; } #zuyhlqhyio .gt_font_italic { font-style: italic; } #zuyhlqhyio .gt_super { font-size: 65%; } #zuyhlqhyio .gt_footnote_marks { font-size: 75%; vertical-align: 0.4em; position: initial; } #zuyhlqhyio .gt_asterisk { font-size: 100%; vertical-align: 0; } #zuyhlqhyio .gt_indent_1 { text-indent: 5px; } #zuyhlqhyio .gt_indent_2 { text-indent: 10px; } #zuyhlqhyio .gt_indent_3 { text-indent: 15px; } #zuyhlqhyio .gt_indent_4 { text-indent: 20px; } #zuyhlqhyio .gt_indent_5 { text-indent: 25px; } </style>
Demand for faecal sludge emptying services
summarised for 175 countries
population percent
mechanized 1,030,317,694 25%
no facility 661,998,822 16%
non-mechanized 1,784,240,549 43%
unemptiable 681,220,088 16%
Total 4,157,777,154 100%

Installation

You can install fsmglobal from GitHub with:

# install.packages("devtools")
devtools::install_github("openwashdata/fsmglobal")

Alternatively, you can download the individual datasets as a CSV or XLSX file from the table below.

dataset CSV XLSX
fsmglobal Download CSV Download XLSX

Data

The package provides access to one dataset.

library(fsmglobal)

The fsmglobal data set has 9 variables and 700 observations. For an overview of the variable names, see the following table.

fsmglobal
variable_name variable_type description
iso3c character International Standards Organization (ISO) 3-digit alphabetic codes.
country character Name of the country.
emptying_method character Type of faecal sludge emptying method for corresponding population in population_emptying_method.
population_2017 numeric Total country population in 2017.
population_emptying_method numeric Total population requiring faecal sludge emptying services for type of method identified in emptying_method.
count_pits_septics numeric Total number of pit latrines and septic tanks in country.
emptying_demand numeric Emptying demand as the proportion of population_emptying_method / population_2017.
urban_demand numeric Proportion of urban population.
rural_demand numeric Proportion of rural population.

Examples

The code and table below show a summary for the demand for faecal sludge emptying services. Find this and more examples in vignette("examples").

library(fsmglobal)
library(gt)
library(dplyr)
tbl_emptying_demand_global <- fsmglobal |> 
  group_by(emptying_method) |> 
  summarise(
    sum_population_emptying_method = sum(population_emptying_method)
  ) |> 
  mutate(
    percent = sum_population_emptying_method / 
      sum(sum_population_emptying_method) * 100
  )
tbl_emptying_demand_global |> 
  janitor::adorn_totals() |>
  
  # use gt R package to prepare a table
  gt(rowname_col = "emptying_method") |>
  tab_header(title = md("**Demand for faecal sludge emptying services**"), 
             subtitle = "summarised for 175 countries") |> 
  fmt_number(columns = "sum_population_emptying_method", decimals = 0) |> 
  fmt_percent(columns = "percent", decimals = 0, scale_values = FALSE) |> 
  cols_label(sum_population_emptying_method = "population") 
<style>#pnoqsqgiib table { font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } #pnoqsqgiib thead, #pnoqsqgiib tbody, #pnoqsqgiib tfoot, #pnoqsqgiib tr, #pnoqsqgiib td, #pnoqsqgiib th { border-style: none; } #pnoqsqgiib p { margin: 0; padding: 0; } #pnoqsqgiib .gt_table { display: table; border-collapse: collapse; line-height: normal; margin-left: auto; margin-right: auto; color: #333333; font-size: 16px; font-weight: normal; font-style: normal; background-color: #FFFFFF; width: auto; border-top-style: solid; border-top-width: 2px; border-top-color: #A8A8A8; border-right-style: none; border-right-width: 2px; border-right-color: #D3D3D3; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #A8A8A8; border-left-style: none; border-left-width: 2px; border-left-color: #D3D3D3; } #pnoqsqgiib .gt_caption { padding-top: 4px; padding-bottom: 4px; } #pnoqsqgiib .gt_title { color: #333333; font-size: 125%; font-weight: initial; padding-top: 4px; padding-bottom: 4px; padding-left: 5px; padding-right: 5px; border-bottom-color: #FFFFFF; border-bottom-width: 0; } #pnoqsqgiib .gt_subtitle { color: #333333; font-size: 85%; font-weight: initial; padding-top: 3px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; border-top-color: #FFFFFF; border-top-width: 0; } #pnoqsqgiib .gt_heading { background-color: #FFFFFF; text-align: center; border-bottom-color: #FFFFFF; border-left-style: none; border-left-width: 1px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 1px; border-right-color: #D3D3D3; } #pnoqsqgiib .gt_bottom_border { border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; } #pnoqsqgiib .gt_col_headings { border-top-style: solid; border-top-width: 2px; border-top-color: #D3D3D3; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; border-left-style: none; border-left-width: 1px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 1px; border-right-color: #D3D3D3; } #pnoqsqgiib .gt_col_heading { color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: normal; text-transform: inherit; border-left-style: none; border-left-width: 1px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 1px; border-right-color: #D3D3D3; vertical-align: bottom; padding-top: 5px; padding-bottom: 6px; padding-left: 5px; padding-right: 5px; overflow-x: hidden; } #pnoqsqgiib .gt_column_spanner_outer { color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: normal; text-transform: inherit; padding-top: 0; padding-bottom: 0; padding-left: 4px; padding-right: 4px; } #pnoqsqgiib .gt_column_spanner_outer:first-child { padding-left: 0; } #pnoqsqgiib .gt_column_spanner_outer:last-child { padding-right: 0; } #pnoqsqgiib .gt_column_spanner { border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; vertical-align: bottom; padding-top: 5px; padding-bottom: 5px; overflow-x: hidden; display: inline-block; width: 100%; } #pnoqsqgiib .gt_spanner_row { border-bottom-style: hidden; } #pnoqsqgiib .gt_group_heading { padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: initial; text-transform: inherit; border-top-style: solid; border-top-width: 2px; border-top-color: #D3D3D3; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; border-left-style: none; border-left-width: 1px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 1px; border-right-color: #D3D3D3; vertical-align: middle; text-align: left; } #pnoqsqgiib .gt_empty_group_heading { padding: 0.5px; color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: initial; border-top-style: solid; border-top-width: 2px; border-top-color: #D3D3D3; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; vertical-align: middle; } #pnoqsqgiib .gt_from_md > :first-child { margin-top: 0; } #pnoqsqgiib .gt_from_md > :last-child { margin-bottom: 0; } #pnoqsqgiib .gt_row { padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; margin: 10px; border-top-style: solid; border-top-width: 1px; border-top-color: #D3D3D3; border-left-style: none; border-left-width: 1px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 1px; border-right-color: #D3D3D3; vertical-align: middle; overflow-x: hidden; } #pnoqsqgiib .gt_stub { color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: initial; text-transform: inherit; border-right-style: solid; border-right-width: 2px; border-right-color: #D3D3D3; padding-left: 5px; padding-right: 5px; } #pnoqsqgiib .gt_stub_row_group { color: #333333; background-color: #FFFFFF; font-size: 100%; font-weight: initial; text-transform: inherit; border-right-style: solid; border-right-width: 2px; border-right-color: #D3D3D3; padding-left: 5px; padding-right: 5px; vertical-align: top; } #pnoqsqgiib .gt_row_group_first td { border-top-width: 2px; } #pnoqsqgiib .gt_row_group_first th { border-top-width: 2px; } #pnoqsqgiib .gt_summary_row { color: #333333; background-color: #FFFFFF; text-transform: inherit; padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; } #pnoqsqgiib .gt_first_summary_row { border-top-style: solid; border-top-color: #D3D3D3; } #pnoqsqgiib .gt_first_summary_row.thick { border-top-width: 2px; } #pnoqsqgiib .gt_last_summary_row { padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; } #pnoqsqgiib .gt_grand_summary_row { color: #333333; background-color: #FFFFFF; text-transform: inherit; padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; } #pnoqsqgiib .gt_first_grand_summary_row { padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; border-top-style: double; border-top-width: 6px; border-top-color: #D3D3D3; } #pnoqsqgiib .gt_last_grand_summary_row_top { padding-top: 8px; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; border-bottom-style: double; border-bottom-width: 6px; border-bottom-color: #D3D3D3; } #pnoqsqgiib .gt_striped { background-color: rgba(128, 128, 128, 0.05); } #pnoqsqgiib .gt_table_body { border-top-style: solid; border-top-width: 2px; border-top-color: #D3D3D3; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: #D3D3D3; } #pnoqsqgiib .gt_footnotes { color: #333333; background-color: #FFFFFF; border-bottom-style: none; border-bottom-width: 2px; border-bottom-color: #D3D3D3; border-left-style: none; border-left-width: 2px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 2px; border-right-color: #D3D3D3; } #pnoqsqgiib .gt_footnote { margin: 0px; font-size: 90%; padding-top: 4px; padding-bottom: 4px; padding-left: 5px; padding-right: 5px; } #pnoqsqgiib .gt_sourcenotes { color: #333333; background-color: #FFFFFF; border-bottom-style: none; border-bottom-width: 2px; border-bottom-color: #D3D3D3; border-left-style: none; border-left-width: 2px; border-left-color: #D3D3D3; border-right-style: none; border-right-width: 2px; border-right-color: #D3D3D3; } #pnoqsqgiib .gt_sourcenote { font-size: 90%; padding-top: 4px; padding-bottom: 4px; padding-left: 5px; padding-right: 5px; } #pnoqsqgiib .gt_left { text-align: left; } #pnoqsqgiib .gt_center { text-align: center; } #pnoqsqgiib .gt_right { text-align: right; font-variant-numeric: tabular-nums; } #pnoqsqgiib .gt_font_normal { font-weight: normal; } #pnoqsqgiib .gt_font_bold { font-weight: bold; } #pnoqsqgiib .gt_font_italic { font-style: italic; } #pnoqsqgiib .gt_super { font-size: 65%; } #pnoqsqgiib .gt_footnote_marks { font-size: 75%; vertical-align: 0.4em; position: initial; } #pnoqsqgiib .gt_asterisk { font-size: 100%; vertical-align: 0; } #pnoqsqgiib .gt_indent_1 { text-indent: 5px; } #pnoqsqgiib .gt_indent_2 { text-indent: 10px; } #pnoqsqgiib .gt_indent_3 { text-indent: 15px; } #pnoqsqgiib .gt_indent_4 { text-indent: 20px; } #pnoqsqgiib .gt_indent_5 { text-indent: 25px; } </style>
Demand for faecal sludge emptying services
summarised for 175 countries
population percent
mechanized 1,030,317,694 25%
no facility 661,998,822 16%
non-mechanized 1,784,240,549 43%
unemptiable 681,220,088 16%
Total 4,157,777,154 100%

License

Data are available as CC-BY.

Citation

Please cite using:

citation("fsmglobal")
#> To cite package 'fsmglobal' in publications use:
#> 
#>   Greene N, Hennessy S, Rogers T, Tsai J, III F, Schöbitz L (2023).
#>   "fsmglobal. Global Faecal Sludge Emptying Services Demand."
#>   doi:10.5281/zenodo.8208293 <https://doi.org/10.5281/zenodo.8208293>,
#>   <https://openwashdata.github.io/fsmglobal/>.
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Misc{greenehennessy:2023,
#>     title = {fsmglobal. Global Faecal Sludge Emptying Services Demand},
#>     author = {Nicola Greene and Sarah Hennessy and Tate W. Rogers and Jocelyn Tsai and Francis L. de los Reyes III and Lars Schöbitz},
#>     year = {2023},
#>     url = {https://openwashdata.github.io/fsmglobal/},
#>     doi = {10.5281/zenodo.8208293},
#>     abstract = {Global faecal sludge emptying demand data for 175 countries. Demand is quantified by population size receiving one of four emptying methods (mechanized, non-mechanized, unemptiable, no facility). The demand is disaggregated by rural and urban percentages of population.},
#>     version = {0.0.1},
#>   }

References

Greene, Nicola, Sarah Hennessy, Tate W. Rogers, Jocelyn Tsai, and Francis L. de los Reyes III. 2021. “The Role of Emptying Services in Provision of Safely Managed Sanitation: A Classification and Quantification of the Needs of LMICs.” Journal of Environmental Management 290 (July): 112612. https://doi.org/10.1016/j.jenvman.2021.112612.