Skip to content
Snippets Groups Projects
Commit 0a9e7de6 authored by Nauta, Lisanne's avatar Nauta, Lisanne
Browse files

manual changes

parent d4e5c232
Branches
Tags
No related merge requests found
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pathEmPlot.R
\name{pathEmPlot}
\alias{pathEmPlot}
\title{The PathEmPlot function}
\usage{
pathEmPlot(myLoadings)
}
\arguments{
\item{myLoadings}{The output from the getLoadings function}
}
\description{
This function takes the output from the getLoadings function and puts it into a format that can be plotted as a stacked bar plot using https://reaviz.io/?path=/story/charts-bar-chart-vertical-multi-series--stacked.
}
\examples{
pathEmPlot(myLoadings=getLoadings())
[
[
{
"Category": "1 Flush Toilets (Sewered)",
"region": "HND",
"emissionsPerCapita": 283449937507.16
},
{
"Category": "2 Flush Toilets (Onsite)",
"region": "HND",
"emissionsPerCapita": 771922982401.523
},
{
"Category": "3 Composting Toilets",
"region": "HND",
"emissionsPerCapita": 6163234018.8351
},
{
"Category": "4 Dry Toilets",
"region": "HND",
"emissionsPerCapita": 6163183904.1368
},
{
"Category": "5 Open Defecation",
"region": "HND",
"emissionsPerCapita": 366495976591.075
},
{
"Category": "1 Flush Toilets (Sewered)",
"region": "UGA",
"emissionsPerCapita": 363549225541.818
},
{
"Category": "2 Flush Toilets (Onsite)",
"region": "UGA",
"emissionsPerCapita": 791391988400.548
},
{
"Category": "3 Composting Toilets",
"region": "UGA",
"emissionsPerCapita": 6943531405.2761
},
{
"Category": "4 Dry Toilets",
"region": "UGA",
"emissionsPerCapita": 379008140777.892
},
{
"Category": "5 Open Defecation",
"region": "UGA",
"emissionsPerCapita": 730164207658.016
}
]
]
}
\keyword{pathogens}
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/transformJMPnat.R
\name{t_JMPnat}
\alias{t_JMPnat}
\title{The t_JMP function}
\usage{
t_JMPnat(context, myRegions = "all")
}
\arguments{
\item{context}{Either "urban" or "rural" context}
}
\description{
This function transforms national or subnational sanitation data from the UNICEF/WHO Joint Monitoring Program and produces it in a format that can be used directly by the getLoadings function.
}
\examples{
t_JMP("urban")
}
\keyword{pathogens}
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/transformJMPsubnat.R
\name{t_JMPsubnat}
\alias{t_JMPsubnat}
\title{The t_JMP function}
\usage{
t_JMPsubnat(contx, myRegions = "all")
}
\arguments{
\item{contx}{Either "urban" or "rural" context}
}
\description{
This function transforms national or subnational sanitation data from the UNICEF/WHO Joint Monitoring Program and produces it in a format that can be used directly by the getLoadings function.
}
\examples{
t_JMP("urban")
}
\keyword{pathogens}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment