The 'getLoadings' function allows you to predict annual loadings of water pathogens from the onsite sanitation system technologies used in a given region of the world.
The `getLoadings` function allows you to predict annual loadings of water pathogens from the onsite sanitation system technologies used in a given region of the world.
@@ -25,6 +25,17 @@ The 'getLoadings' function allows you to predict annual loadings of water pathog
| Conveyed in fecal sludge to treatment | Number of pathogens conveyed each year to treatment in fecal sludge |
| Conveyed in sewerage to treatment | Number of pathogens conveyed each year to treatment in sewerage |
The `getloadings` function requires the following three inputs:
### Inputs:
* onsiteData
* by
* pathogenType
The input `onsiteData` should refer to a data input file from the K2P Data Portal (data.waterpathogens.org). This file must be in a very specific format. An example file can be found [here](http://data.waterpathogens.org/dataset/5374462b-5bb5-456f-bfc0-816ea572666d/resource/4d9e5fba-9280-4b8b-acce-d1c87952acc1/download/onsitedata_example.csv).
## Example
The following shows the use of the getLoadings function for data from Kampala, Uganda, grouping the data by 'region' and showing results for the 'Virus' group.
### Definition lists can be used with HTML syntax.
<dl>
<dt>Name</dt>
<dd>Godzilla</dd>
<dt>Born</dt>
<dd>1952</dd>
<dt>Birthplace</dt>
<dd>Japan</dd>
<dt>Color</dt>
<dd>Green</dd>
</dl>
```
Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
```
```
The final element.
```
For more information, please see [our website](https://www.waterpathogens.org/).