View source: R/setGlobalInspectionID.R
setGlobalInspectionID | R Documentation |
Convert inspections numbers (inspno) 1,2,3,... to globally unique identifiers (inspid), such as "e4b48d86"
setGlobalInspectionID(
inspection.data,
project = NULL,
default.time = "22:22",
name.convention = "norm",
error.file = NULL
)
inspection.data |
list with elements |
project |
name of project to which the data are related, such as: "Lausanne" |
default.time |
default time string to use if column <inspection-time> is not available. Default: "22:22". A random number will be generated for the seconds, just to increase the chance that setting the time is enough to generate a unique key. |
name.convention |
one of |
error.file |
optional. Path to file to which duplicates are are written
(if any). Default: |
list with the same elements as in inspection.data
but with
columns inspid
being added to the data frames "inspections" and
"observations"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.