\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.
% 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.
% 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.