Hello, community -
My colleagues and I have been struggling with the post-field side of the Survey123 workflow. We can create what appear to be well-designed, smart field forms that record field data in several related tables (themselves created through repeats and/or nested repeats). We hit significantly bumpier roads when we try to take that field data and format it into tables for our narrative reports. I can't escape the feeling that we're missing a solution somewhere.
Survey123's Report Templates would work if we were presenting tabular data on more of a per-resource/record basis, but we are often presenting tables of data from multiple records at once. As an example, we have crews dig dozens of holes along a survey corridor and record their findings (soil stratigraphy, disturbance, artifacts, etc.) for each hole in our reports, we present tables of all of the tests on a survey (or all of the tests in an area). Our field form has repeats for soil layer observations, soil inclusions (themselves nested within soil layers), observed artifacts (themselves in a different set of repeats), etc. Because our Shovel Test form uses different repeats, we've been unable to make the Report Templates work.
Here's a simplified version of what the output table should look like (blank cells would typically be merged together for a given Test/Layer/etc.):
| Test (main table) | Observation(s) (main table) | Soil Layer (repeat) | Inclusion(s) (nested repeat) | Artifact(s) (different, independent repeat) |
| Test 1 | In a field | 1 (0-33 cm) Dark brown sand | Gravel | Ceramic sherd (0-20 cm [our artifacts must be presented in 20-cm levels in our reports]) |
| | | | Tree roots | Scrap metal (20-40 cm) |
| | | 2 (33-54 cm) Red Clay | Carbonate nodules | |
| Test 2 | Next to a house | 1 (0-10 cm) brown sand | Tree Roots | |
| | | 2 (10-43 cm) red clay | carbonate nodules | |
| Test 3 | Next to a different house | 1 (0-25 cm) dark brown sandy loam | -- | |
| | | 2 (25-30 cm) dark brown loam | tree roots | Stone flake (20-40 cm) |
| | | | cobbles | |
| | | 3 (30-47 cm) pale yellow, dense clay | mottling | |
Our current workflow is to take the raw, tabular field data (the main table and the 4-5 subtables associated with repeats), then rejoin them (to the extent possible) in Excel using various functions and queries over several steps. It all is very laborious and fairly error-prone, which we assume is the exact opposite of the intent of digital data collection platforms like this.
I fully expect that we're still just dealing with a learning curve on our end; people have dealt with this issue effectively in the past but we just aren't aware of what they did.
Are there database/query-focused functionalities within ArcGIS (Pro, presumably) that streamline the formatted tabular data output process (perhaps, fingers crossed, even semi-automatically)? Is there another tool that might be a better fit for what we are trying to do? Should we be designing our XLSForm in some other way?
I'm a bit reluctant to post proprietary examples on the forums, but I'd be happy to send examples through DM.
Thank you all very much in advance for any help you can provide.