Data on faecal sludge transporting logistics in Kampala, Uganda
# fslogisticskampala
The goal of fslogisticskampala is to provide data on faecal sludge
transporting logistics in Kampala, Uganda. The package contains two
datasets: `trips` records the GPS locations of emptying trucks
collecting sludge from pit latrines and septic tanks, and `trucks`
records the volume of each truck. The records cover the period from 30th
March 2015 until 25th June 2015. The raw data was published as
supplementary material of an open-access article in the journal
Sustainability (MDPI).
## Installation
You can install the development version of fslogisticskampala from
GitHub with:
``` r
# install.packages("devtools")
devtools::install_github("openwashdata/fslogisticskampala")
```
``` r
## Run the following code in console if you don't have the packages
## install.packages(c("dplyr", "knitr", "readr", "stringr", "gt", "kableExtra", "leaflet"))
library(dplyr)
library(knitr)
library(readr)
library(stringr)
library(gt)
library(kableExtra)
library(leaflet)
```
Alternatively, you can download the individual datasets as a CSV or XLSX
file from the table below.
| dataset | CSV | XLSX |
|:---|:---|:---|
| trips | Download CSV | Download XLSX |
| trucks | Download CSV | Download XLSX |
## Data
The package provides access to two datasets `trips` and `trucks`.
``` r
library(fslogisticskampala)
```
### trips
The dataset `trips` contains data about the GPS locations of faecal
sludge trucks collecting sludge from pit latrines and septic tanks in
Kampala, Uganda. Each trip is recorded with a unique identifier, the
numberplate of the truck, the date and time of the record. Data was
collected from 30th March 2015 until 25th June 2015. It has 5653
observations and 7 variables
``` r
trips |>
head(3) |>
gt::gt() |>
gt::as_raw_html()
```
fid
numberplate
date
time
lat
lon
plant
117
UAS 119X
2015-03-30
10:53:03
0.358437
32.55036
Bugolobi
118
UAS 119X
2015-03-31
03:53:41
0.348626
32.57229
Bugolobi
119
UAS 119X
2015-03-31
10:33:01
0.322447
32 …