[{"data":1,"prerenderedAt":526},["ShallowReactive",2],{"page-\u002Futils\u002Fapi\u002Ffunctions\u002FgetRelativePercentDifferences":3,"navigation":139},{"collection":4,"page":5},"docs_en",{"id":6,"title":7,"body":8,"description":129,"extension":130,"meta":131,"navigation":133,"path":134,"rawbody":135,"seo":136,"stem":137,"__hash__":138},"docs_en\u002Futils\u002Fapi\u002Ffunctions\u002FgetRelativePercentDifferences.md","getRelativePercentDifferences",{"type":9,"value":10,"toc":119},"minimark",[11,40,86,91,94,99,102,107,111],[12,13,14],"blockquote",{},[15,16,17,20,21,25,26,29,30,37],"p",{},[18,19,7],"strong",{},"(",[22,23,24],"code",{},"well",", ",[22,27,28],{},"sampleId","): ",[31,32,34],"a",{"href":33},"\u002Futils\u002Fapi\u002Ftype-aliases\u002FRelativePercentDifference",[22,35,36],{},"RelativePercentDifference",[38,39],"span",{},[15,41,42,43,46,47,50,51,54,55,58,59,62,63,66,67,25,70,73,74,77,78,81,82,85],{},"RPD between a ",[22,44,45],{},"field_duplicate"," \u002F ",[22,48,49],{},"split_sample"," and its original\n(",[22,52,53],{},"parent_sample_id","), per parameter. Results pair by ",[22,56,57],{},"parameterKey"," +\n",[22,60,61],{},"fraction"," + ",[22,64,65],{},"measured_in","; rejected and censored (",[22,68,69],{},"\u003C",[22,71,72],{},">",",\n",[22,75,76],{},"not_detected",") results are skipped. ",[22,79,80],{},"RPD = |a − b| \u002F ((a + b) \u002F 2) × 100","\n(0 when both are 0). Returns ",[22,83,84],{},"[]"," when the sample or its parent is missing.",[87,88,90],"h2",{"id":89},"parameters","Parameters",[92,93,24],"h3",{"id":24},[15,95,96],{},[22,97,98],{},"Well",[92,100,28],{"id":101},"sampleid",[15,103,104],{},[22,105,106],{},"string",[87,108,110],{"id":109},"returns","Returns",[15,112,113,117],{},[31,114,115],{"href":33},[22,116,36],{},[38,118],{},{"title":120,"searchDepth":121,"depth":121,"links":122},"",2,[123,128],{"id":89,"depth":121,"text":90,"children":124},[125,127],{"id":24,"depth":126,"text":24},3,{"id":101,"depth":126,"text":28},{"id":109,"depth":121,"text":110},"RPD between a fieldduplicate \u002F splitsample and its original (parentsampleid), per parameter. Results pair by parameterKey + fraction + measuredin; rejected and censored (\u003C, >, notdetected) results are skipped. RPD = |a − b| \u002F ((a + b) \u002F 2) × 100 (0 when both are 0). Returns [] when the sample or its","md",{"generated":132},true,false,"\u002Futils\u002Fapi\u002Ffunctions\u002FgetRelativePercentDifferences","---\npath: \"\u002Futils\u002Fapi\u002Ffunctions\u002FgetRelativePercentDifferences\"\ntitle: getRelativePercentDifferences\ndescription: \"RPD between a fieldduplicate \u002F splitsample and its original (parentsampleid), per parameter. Results pair by parameterKey + fraction + measuredin; rejected and censored (\u003C, >, notdetected) results are skipped. RPD = |a − b| \u002F ((a + b) \u002F 2) × 100 (0 when both are 0). Returns [] when the sample or its\"\ngenerated: true\nnavigation: false\n---\n\n> **getRelativePercentDifferences**(`well`, `sampleId`): [`RelativePercentDifference`](\u002Futils\u002Fapi\u002Ftype-aliases\u002FRelativePercentDifference)[]\n\nRPD between a `field_duplicate` \u002F `split_sample` and its original\n(`parent_sample_id`), per parameter. Results pair by `parameterKey` +\n`fraction` + `measured_in`; rejected and censored (`\u003C`, `>`,\n`not_detected`) results are skipped. `RPD = |a − b| \u002F ((a + b) \u002F 2) × 100`\n(0 when both are 0). Returns `[]` when the sample or its parent is missing.\n\n## Parameters\n\n### well\n\n`Well`\n\n### sampleId\n\n`string`\n\n## Returns\n\n[`RelativePercentDifference`](\u002Futils\u002Fapi\u002Ftype-aliases\u002FRelativePercentDifference)[]\n",{"title":7,"description":129},"utils\u002Fapi\u002Ffunctions\u002FgetRelativePercentDifferences","Kp8PqnHZbIByey36G7gp9bHMNPIdJhk1sw0cqwqf0u0",{"docs_en":140,"spec":457,"changelogs":507},[141,161,180,235,345,399],{"title":142,"path":143,"stem":144,"children":145},"Ai","\u002Fai","ai",[146,149,153,157],{"title":147,"path":143,"stem":148},"Introduction","ai\u002Findex",{"title":150,"path":151,"stem":152},"Converting reports with an assistant","\u002Fai\u002Fconversion-skill","ai\u002Fconversion-skill",{"title":154,"path":155,"stem":156},"llms.txt and Markdown pages","\u002Fai\u002Fllms","ai\u002Fllms",{"title":158,"path":159,"stem":160},"MCP server","\u002Fai\u002Fmcp","ai\u002Fmcp",{"title":162,"path":163,"stem":164,"children":165},"Contributing","\u002Fcontributing","contributing",[166,168,172,176],{"title":147,"path":163,"stem":167},"contributing\u002Findex",{"title":169,"path":170,"stem":171},"Writing docs","\u002Fcontributing\u002Fwriting-docs","contributing\u002F1.writing-docs",{"title":173,"path":174,"stem":175},"Update rules","\u002Fcontributing\u002Fupdate-rules","contributing\u002F2.update-rules",{"title":177,"path":178,"stem":179},"Content components","\u002Fcontributing\u002Fcomponents","contributing\u002Fcomponents",{"title":181,"path":182,"stem":183,"children":184},"Core","\u002Fcore","core",[185,187,200,229],{"title":147,"path":182,"stem":186},"core\u002Findex",{"title":188,"path":189,"stem":190,"children":191,"page":133},"Getting Started","\u002Fcore\u002Fgetting-started","core\u002F1.getting-started",[192,196],{"title":193,"path":194,"stem":195},"Installation","\u002Fcore\u002Fgetting-started\u002Finstallation","core\u002F1.getting-started\u002F1.installation",{"title":197,"path":198,"stem":199},"First use","\u002Fcore\u002Fgetting-started\u002Ffirst-use","core\u002F1.getting-started\u002F2.first-use",{"title":201,"path":202,"stem":203,"children":204,"page":133},"Guides","\u002Fcore\u002Fguides","core\u002F2.guides",[205,209,213,217,221,225],{"title":206,"path":207,"stem":208},"Parsing and validating","\u002Fcore\u002Fguides\u002Fparsing-and-validating","core\u002F2.guides\u002F1.parsing-and-validating",{"title":210,"path":211,"stem":212},"Serializing and sharing","\u002Fcore\u002Fguides\u002Fserializing-and-sharing","core\u002F2.guides\u002F2.serializing-and-sharing",{"title":214,"path":215,"stem":216},"Unit conversion","\u002Fcore\u002Fguides\u002Funit-conversion","core\u002F2.guides\u002F3.unit-conversion",{"title":218,"path":219,"stem":220},"Vocabularies and textures","\u002Fcore\u002Fguides\u002Fvocabularies-and-textures","core\u002F2.guides\u002F4.vocabularies-and-textures",{"title":222,"path":223,"stem":224},"Water quality vocabulary","\u002Fcore\u002Fguides\u002Fwater-quality-vocabulary","core\u002F2.guides\u002F5.water-quality-vocabulary",{"title":226,"path":227,"stem":228},"Versions and time zones","\u002Fcore\u002Fguides\u002Fversions-and-time-zones","core\u002F2.guides\u002F6.versions-and-time-zones",{"title":230,"path":231,"stem":232,"children":233},"API reference","\u002Fcore\u002Fapi","core\u002Fapi\u002Findex",[234],{"title":230,"path":231,"stem":232},{"title":236,"path":237,"stem":238,"children":239},"Format","\u002Fformat","format",[240,242,262,291,315,335,341],{"title":147,"path":237,"stem":241},"format\u002Findex",{"title":188,"path":243,"stem":244,"children":245,"page":133},"\u002Fformat\u002Fgetting-started","format\u002F1.getting-started",[246,250,254,258],{"title":247,"path":248,"stem":249},"What is .well?","\u002Fformat\u002Fgetting-started\u002Fwhat-is-well","format\u002F1.getting-started\u002F1.what-is-well",{"title":251,"path":252,"stem":253},"For geologists","\u002Fformat\u002Fgetting-started\u002Ffor-geologists","format\u002F1.getting-started\u002F2.for-geologists",{"title":255,"path":256,"stem":257},"For developers","\u002Fformat\u002Fgetting-started\u002Ffor-developers","format\u002F1.getting-started\u002F3.for-developers",{"title":259,"path":260,"stem":261},"Your first .well file","\u002Fformat\u002Fgetting-started\u002Ffirst-well-file","format\u002F1.getting-started\u002F4.first-well-file",{"title":263,"path":264,"stem":265,"children":266,"page":133},"Concepts","\u002Fformat\u002Fconcepts","format\u002F2.concepts",[267,271,275,279,283,287],{"title":268,"path":269,"stem":270},"Depths and intervals","\u002Fformat\u002Fconcepts\u002Fdepths-and-intervals","format\u002F2.concepts\u002F1.depths-and-intervals",{"title":272,"path":273,"stem":274},"Units and precision","\u002Fformat\u002Fconcepts\u002Funits-and-precision","format\u002F2.concepts\u002F2.units-and-precision",{"title":276,"path":277,"stem":278},"Vocabularies","\u002Fformat\u002Fconcepts\u002Fvocabularies","format\u002F2.concepts\u002F3.vocabularies",{"title":280,"path":281,"stem":282},"Profiles","\u002Fformat\u002Fconcepts\u002Fprofiles","format\u002F2.concepts\u002F4.profiles",{"title":284,"path":285,"stem":286},"Versions and deprecation","\u002Fformat\u002Fconcepts\u002Fversions-and-deprecation","format\u002F2.concepts\u002F5.versions-and-deprecation",{"title":288,"path":289,"stem":290},"Extensibility","\u002Fformat\u002Fconcepts\u002Fextensibility","format\u002F2.concepts\u002F6.extensibility",{"title":201,"path":292,"stem":293,"children":294,"page":133},"\u002Fformat\u002Fguides","format\u002F3.guides",[295,299,303,307,311],{"title":296,"path":297,"stem":298},"Writing a .well by hand","\u002Fformat\u002Fguides\u002Fwriting-by-hand","format\u002F3.guides\u002F1.writing-by-hand",{"title":300,"path":301,"stem":302},"Converting a report","\u002Fformat\u002Fguides\u002Fconverting-a-report","format\u002F3.guides\u002F2.converting-a-report",{"title":304,"path":305,"stem":306},"Validating","\u002Fformat\u002Fguides\u002Fvalidating","format\u002F3.guides\u002F3.validating",{"title":308,"path":309,"stem":310},"Extending for your own needs","\u002Fformat\u002Fguides\u002Fextending","format\u002F3.guides\u002F4.extending",{"title":312,"path":313,"stem":314},"Building an editor or database on .well","\u002Fformat\u002Fguides\u002Fbuilding-on-well","format\u002F3.guides\u002F5.building-on-well",{"title":316,"path":317,"stem":318,"children":319},"Overview","\u002Fformat\u002Freference","format\u002F4.reference\u002Findex",[320,321,325,329],{"title":316,"path":317,"stem":318},{"title":322,"path":323,"stem":324},"JSON Schema","\u002Fformat\u002Freference\u002Fjson-schema","format\u002F4.reference\u002F1.json-schema",{"title":326,"path":327,"stem":328},"Example wells","\u002Fformat\u002Freference\u002Fexamples","format\u002F4.reference\u002F2.examples",{"title":330,"path":331,"stem":332,"children":333},"Object reference","\u002Fformat\u002Freference\u002Fobjects","format\u002Freference\u002Fobjects\u002Findex",[334],{"title":330,"path":331,"stem":332},{"title":336,"path":337,"stem":338,"children":339},"About the spec","\u002Fformat\u002Fspec","format\u002F5.spec\u002Findex",[340],{"title":336,"path":337,"stem":338},{"title":342,"path":343,"stem":344},"Changelog","\u002Fformat\u002Fchangelog","format\u002F6.changelog",{"title":346,"path":347,"stem":348,"children":349},"Render","\u002Frender","render",[350,352,362,394],{"title":147,"path":347,"stem":351},"render\u002Findex",{"title":188,"path":353,"stem":354,"children":355,"page":133},"\u002Frender\u002Fgetting-started","render\u002F1.getting-started",[356,359],{"title":193,"path":357,"stem":358},"\u002Frender\u002Fgetting-started\u002Finstallation","render\u002F1.getting-started\u002F1.installation",{"title":197,"path":360,"stem":361},"\u002Frender\u002Fgetting-started\u002Ffirst-use","render\u002F1.getting-started\u002F2.first-use",{"title":201,"path":363,"stem":364,"children":365,"page":133},"\u002Frender\u002Fguides","render\u002F2.guides",[366,370,374,378,382,386,390],{"title":367,"path":368,"stem":369},"Panels and layout","\u002Frender\u002Fguides\u002Fpanels-and-layout","render\u002F2.guides\u002F1.panels-and-layout",{"title":371,"path":372,"stem":373},"Layers and labels","\u002Frender\u002Fguides\u002Flayers-and-labels","render\u002F2.guides\u002F2.layers-and-labels",{"title":375,"path":376,"stem":377},"Theming","\u002Frender\u002Fguides\u002Ftheming","render\u002F2.guides\u002F3.theming",{"title":379,"path":380,"stem":381},"Locale and units","\u002Frender\u002Fguides\u002Flocale-and-units","render\u002F2.guides\u002F4.locale-and-units",{"title":383,"path":384,"stem":385},"Legends","\u002Frender\u002Fguides\u002Flegends","render\u002F2.guides\u002F5.legends",{"title":387,"path":388,"stem":389},"Zoom, pan and highlights","\u002Frender\u002Fguides\u002Finteraction","render\u002F2.guides\u002F6.interaction",{"title":391,"path":392,"stem":393},"Using it in a framework","\u002Frender\u002Fguides\u002Fframeworks","render\u002F2.guides\u002F7.frameworks",{"title":230,"path":395,"stem":396,"children":397},"\u002Frender\u002Fapi","render\u002Fapi\u002Findex",[398],{"title":230,"path":395,"stem":396},{"title":400,"path":401,"stem":402,"children":403},"Utils","\u002Futils","utils",[404,406,416,452],{"title":147,"path":401,"stem":405},"utils\u002Findex",{"title":188,"path":407,"stem":408,"children":409,"page":133},"\u002Futils\u002Fgetting-started","utils\u002F1.getting-started",[410,413],{"title":193,"path":411,"stem":412},"\u002Futils\u002Fgetting-started\u002Finstallation","utils\u002F1.getting-started\u002F1.installation",{"title":197,"path":414,"stem":415},"\u002Futils\u002Fgetting-started\u002Ffirst-use","utils\u002F1.getting-started\u002F2.first-use",{"title":201,"path":417,"stem":418,"children":419,"page":133},"\u002Futils\u002Fguides","utils\u002F2.guides",[420,424,428,432,436,440,444,448],{"title":421,"path":422,"stem":423},"Geometry and volumes","\u002Futils\u002Fguides\u002Fgeometry-and-volumes","utils\u002F2.guides\u002F1.geometry-and-volumes",{"title":425,"path":426,"stem":427},"Water levels and pumping tests","\u002Futils\u002Fguides\u002Fpumping-tests","utils\u002F2.guides\u002F2.pumping-tests",{"title":429,"path":430,"stem":431},"Permits","\u002Futils\u002Fguides\u002Fpermits","utils\u002F2.guides\u002F3.permits",{"title":433,"path":434,"stem":435},"Operation and production","\u002Futils\u002Fguides\u002Foperation","utils\u002F2.guides\u002F4.operation",{"title":437,"path":438,"stem":439},"Water quality","\u002Futils\u002Fguides\u002Fwater-quality","utils\u002F2.guides\u002F5.water-quality",{"title":441,"path":442,"stem":443},"Logger import","\u002Futils\u002Fguides\u002Flogger-import","utils\u002F2.guides\u002F6.logger-import",{"title":445,"path":446,"stem":447},"SIAGAS import","\u002Futils\u002Fguides\u002Fsiagas-import","utils\u002F2.guides\u002F7.siagas-import",{"title":449,"path":450,"stem":451},"Formatting","\u002Futils\u002Fguides\u002Fformatting","utils\u002F2.guides\u002F8.formatting",{"title":230,"path":453,"stem":454,"children":455},"\u002Futils\u002Fapi","utils\u002Fapi\u002Findex",[456],{"title":230,"path":453,"stem":454},[458],{"title":236,"path":237,"stem":238,"children":459,"page":133},[460],{"title":461,"path":337,"stem":462,"children":463,"page":133},"Spec","format\u002Fspec",[464,473,482],{"title":465,"path":466,"stem":467,"children":468,"page":133},"Reference","\u002Fformat\u002Fspec\u002Freference","format\u002Fspec\u002Freference",[469],{"title":470,"path":471,"stem":472},"FGDC Texture Patterns Reference","\u002Fformat\u002Fspec\u002Freference\u002Ffgdc-textures","format\u002Fspec\u002Freference\u002Ffgdc-textures",{"title":474,"path":475,"stem":476,"children":477,"page":133},"V1","\u002Fformat\u002Fspec\u002Fv1","format\u002Fspec\u002Fv1",[478],{"title":479,"path":480,"stem":481},".well File Format Specification","\u002Fformat\u002Fspec\u002Fv1\u002Fwell-format","format\u002Fspec\u002Fv1\u002Fwell-format",{"title":483,"path":484,"stem":485,"children":486,"page":133},"V2","\u002Fformat\u002Fspec\u002Fv2","format\u002Fspec\u002Fv2",[487,491,495,499,503],{"title":488,"path":489,"stem":490},".well File Format Specification — Version 2.4: Format Reference","\u002Fformat\u002Fspec\u002Fv2\u002Fformat-reference","format\u002Fspec\u002Fv2\u002Fformat-reference",{"title":492,"path":493,"stem":494},".well File Format Specification — Version 2.4: Interoperability","\u002Fformat\u002Fspec\u002Fv2\u002Finteroperability","format\u002Fspec\u002Fv2\u002Finteroperability",{"title":496,"path":497,"stem":498},".well File Format Specification — Version 2.4: Object Schemas","\u002Fformat\u002Fspec\u002Fv2\u002Fobject-schemas","format\u002Fspec\u002Fv2\u002Fobject-schemas",{"title":500,"path":501,"stem":502},".well File Format Specification — Version 2.4: Overview","\u002Fformat\u002Fspec\u002Fv2\u002Foverview","format\u002Fspec\u002Fv2\u002Foverview",{"title":504,"path":505,"stem":506},".well File Format Specification — Version 2.4: Water Quality","\u002Fformat\u002Fspec\u002Fv2\u002Fwater-quality","format\u002Fspec\u002Fv2\u002Fwater-quality",[508,514,520],{"title":181,"path":182,"stem":183,"children":509,"page":133},[510],{"title":511,"path":512,"stem":513},"@welldot\u002Fcore","\u002Fcore\u002Fchangelog","core\u002FCHANGELOG",{"title":346,"path":347,"stem":348,"children":515,"page":133},[516],{"title":517,"path":518,"stem":519},"@welldot\u002Frender","\u002Frender\u002Fchangelog","render\u002FCHANGELOG",{"title":400,"path":401,"stem":402,"children":521,"page":133},[522],{"title":523,"path":524,"stem":525},"@welldot\u002Futils","\u002Futils\u002Fchangelog","utils\u002FCHANGELOG",1793050501137]