Skip to contents

Define use identification numbers in an SRPPP read in from an XML file

Usage

srppp_xml_define_use_numbers(srppp_xml = srppp_xml_get())

Arguments

srppp_xml

An object as returned by srppp_xml_get

Value

An object of the same class, with 'use_nr' added as an attribute of 'Indication' nodes.

Examples

# \donttest{
try(srppp_xml_define_use_numbers())
#> {xml_document}
#> <PublicationData>
#>  [1] <Products numberOfProducts="1132">\n  <Product id="1" wNbr="6727-1" name ...
#>  [2] <Parallelimports numberOfParallelimports="778">\n  <Parallelimport id="F ...
#>  [3] <MetaData name="Country" numberOfRows="27">\n  <Detail primaryKey="02A7B ...
#>  [4] <MetaData name="CultureAdditionalText" numberOfRows="36">\n  <Detail pri ...
#>  [5] <MetaData name="CultureForm" numberOfRows="2">\n  <Detail primaryKey="54 ...
#>  [6] <MetaData name="IngredientAdditionalText" numberOfRows="283">\n  <Detail ...
#>  [7] <MetaData name="CodeS" numberOfRows="26">\n  <Detail primaryKey="21EE999 ...
#>  [8] <MetaData name="DangerSymbol" numberOfRows="8">\n  <Detail primaryKey="1 ...
#>  [9] <MetaData name="Measure" numberOfRows="100">\n  <Detail primaryKey="0037 ...
#> [10] <MetaData name="Pest" numberOfRows="528">\n  <Detail primaryKey="01DE9A9 ...
#> [11] <MetaData name="ApplicationArea" numberOfRows="10">\n  <Detail primaryKe ...
#> [12] <MetaData name="PestAdditionalText" numberOfRows="33">\n  <Detail primar ...
#> [13] <MetaData name="Substance" numberOfRows="443">\n  <Detail primaryKey="00 ...
#> [14] <MetaData name="ApplicationComment" numberOfRows="845">\n  <Detail prima ...
#> [15] <MetaData name="TimeMeasure" numberOfRows="2">\n  <Detail primaryKey="09 ...
#> [16] <MetaData name="City" numberOfRows="538">\n  <Detail primaryKey="0030486 ...
#> [17] <MetaData name="CodeR" numberOfRows="57">\n  <Detail primaryKey="035BA69 ...
#> [18] <MetaData name="FormulationCode" numberOfRows="45">\n  <Detail primaryKe ...
#> [19] <MetaData name="ProductCategory" numberOfRows="27">\n  <Detail primaryKe ...
#> [20] <MetaData name="SignalWords" numberOfRows="2">\n  <Detail primaryKey="8B ...
#> ...
# }