
De-Identified Export Module - Server Function
Source:R/modDeidentifiedExport.R
modDeidentifiedExportServer.RdDe-Identified Export Module - Server Function
Arguments
- id
character vector of length 1. Module namespace identifier.
- pedigree
reactive returning the current pedigree data.frame (
shared$currentPedigree, D1) – not a fresh upload, unlikemodCrossCenterIdentityServer.
Value
A list with reactive components:
exportedPedigree- the most recentobfuscatePedoutputmap- the corresponding id alias map (obfuscatePed'smap=TRUEreturn)manifest- the D4 transformation manifest, built from the EXACT parameters that producedexportedPedigree(captured at preview time, not re-read from live input state – a curator who tweaks the configuration after previewing but before exporting must not get a manifest describing different parameters than what was actually exported)confirmed- logical: has the modal confirm gate been accepted for the current preview. Resets toFALSEwhenever the preview is regenerated (mirrorsmodCrossCenterIdentityServer's own D5 stale-confirmation -reset pattern), so a stale confirmation can never silently unlock exports for changed output.
Downloads are not hard-gated on confirmed (mirroring
modCrossCenterIdentityServer's own precedent exactly) – per this
issue's own ratified framing, "curator-controlled" means a confirmation
dialog and warning text, not real access control (sec 1.2).
See also
modDeidentifiedExportUI for the user interface.
obfuscatePed for the underlying de-identification.
Other Shiny modules:
modBreedingGroupsServer(),
modBreedingGroupsUI(),
modCrossCenterIdentityServer(),
modCrossCenterIdentityUI(),
modDeidentifiedExportUI(),
modGeneticDiversityServer(),
modGeneticDiversityUI(),
modGeneticValueServer(),
modGeneticValueUI(),
modGvAndBgDescServer(),
modGvAndBgDescUI(),
modInputServer(),
modInputUI(),
modMarkerGeneticsServer(),
modMarkerGeneticsUI(),
modMatePairServer(),
modMatePairUI(),
modORIPReportingServer(),
modORIPReportingUI(),
modPedigreeServer(),
modPedigreeUI(),
modPotentialParentsServer(),
modPotentialParentsUI(),
modPyramidServer(),
modPyramidUI(),
modSummaryStatsServer(),
modSummaryStatsUI()