% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/form_schema_parse.R
\name{predict_ruodk_name}
\alias{predict_ruodk_name}
\title{Predict a field name after \code{tidyr::unnest_wider(names_sep="_")} prefixes
the form path.}
\usage{
predict_ruodk_name(name_str, path_str)
}
\arguments{
\item{name_str}{An Xforms field name string.}

\item{path_str}{A path string,
e.g. "Submissions" or "Submissions.group_name".}
}
\value{
The name as built by \code{tidyr::unnest_wider(names_sep="_")}.
}
\description{
Predict a field name after \code{tidyr::unnest_wider(names_sep="_")} prefixes
the form path.
}
\examples{
\dontrun{
predict_ruodk_name("bar", "Submissions.foo")
# > "foo_bar"
predict_ruodk_name("bar", "Submissions")
# > "bar"
predict_ruodk_name("rock", "Submissions.foo_fighters")
# > "foo_fighters_rock"
}
}
\seealso{
Other utilities: 
\code{\link{attachment_get}()},
\code{\link{attachment_link}()},
\code{\link{attachment_url}()},
\code{\link{drop_null_coords}()},
\code{\link{form_schema_parse}()},
\code{\link{get_one_attachment}()},
\code{\link{get_one_submission}()},
\code{\link{get_one_submission_att_list}()},
\code{\link{get_one_submission_audit}()},
\code{\link{handle_ru_attachments}()},
\code{\link{handle_ru_datetimes}()},
\code{\link{handle_ru_geopoints}()},
\code{\link{handle_ru_geoshapes}()},
\code{\link{handle_ru_geotraces}()},
\code{\link{isodt_to_local}()},
\code{\link{odata_submission_rectangle}()},
\code{\link{prepend_uuid}()},
\code{\link{split_geopoint}()},
\code{\link{split_geoshape}()},
\code{\link{split_geotrace}()},
\code{\link{strip_uuid}()},
\code{\link{tidyeval}},
\code{\link{unnest_all}()}
}
\concept{utilities}
\keyword{internal}
