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.
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")
.
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")
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.