-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdd_laboratory.R
147 lines (126 loc) · 4.49 KB
/
dd_laboratory.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
laboratory<-
list(
data.frame(
Variable="LaboratoryID",
Label="Laboratory Identifier",
Definition="System-provided Project identifier",
Type="Integer",
Mandatory="System-assigned"),
data.frame(
Variable="Laboratory Name",
Label="Laboratory Name",
Definition="The name of the Laboratory",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="LaboratoryCrossReferenceID",
Label="Laboratory Cross Identifier",
Definition="The identifier of the Laboratory under another nomenclature system.
For example, in a different database or document where other identification
for the same Laboratory is used",
Type="String",
Mandatory="No"),
data.frame(
Variable="LaboratoryCrossReferenceIDOrigin",
Label="Laboratory Cross Identifier Origin",
Definition="The location/database/document where other identification
for the same Laboratory is used",
Type="String",
Mandatory="No"),
data.frame(
Variable="LaboratoryCountry",
Label="Laboratory Country",
Definition="The country where the Laboratory is located",
Type="String",
Mandatory="No"),
data.frame(
Variable="LaboratoryAddress",
Label="Laboratory Address",
Definition="The address of the Laboratory",
Type="String",
Mandatory="No"),
data.frame(
Variable="LaboratoryPhone",
Label="Laboratory Phone",
Definition="The phone number of the Laboratory",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="LaboratoryEmail",
Label="Laboratory Email",
Definition="The email address of the Laboratory",
Type="String",
Mandatory="No"),
data.frame(
Variable="LaboratoryManager",
Label="Laboratory Manager",
Definition="The manager of the Laboratory",
Type="String",
Mandatory="No"),
data.frame(
Variable="LaboratoryManagerEmail",
Label="Laboratory Manager Email",
Definition="The email address of the manager of the Laboratory",
Type="String",
Mandatory="No"),
data.frame(
Variable="LaboratoryPointContactName",
Label="Laboratory Contact Name",
Definition="The name of the best contact point for the Laboratory",
Type="Multiple selection",
Mandatory="Yes"),
data.frame(
Variable="LaboratoryPointContactEmail",
Label="Laboratory Contact Email",
Definition="The email address of the best contact point for the Laboratory",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="LaboratoryPointContactAffiliation",
Label="Laboratory Contact Affiliation",
Definition="The affiliation of the best contact point for the Laboratory",
Type="String",
Mandatory="No"),
data.frame(
Variable="LaboratoryDiagnosticMethodAvailable",
Label="Laboratory Diagnostics Available",
Definition="The diagnostic methods available in the Laboratory",
Type="Multiple selection",
Mandatory="Yes"),
data.frame(
Variable="LaboratoryMaxBiosafetyLevel",
Label="Laboratory Maximum biosafety level",
Definition="The maximum biosafety level avalable in the Laboratory",
Type="Single selection",
Mandatory="Yes"),
data.frame(
Variable="LaboratoryCertification",
Label="Laboratory Certification",
Definition="The certifications accomplished by the Laboratory",
Type="Multiple selection",
Mandatory="Yes"),
data.frame(
Variable="LaboratoryStorageCapacity",
Label="Laboratory Storage Capacity",
Definition="The capacity of the Laboratory to store Specimens and Carcasses",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="LaboratoryDataManagementSystem",
Label="Laboratory Data Information System",
Definition="The information system used in the Laboratory to manage and track
Diagnostic information",
Type="String",
Mandatory="Yes"))
laboratory<-
laboratory %>% bind_rows() |>
gt::gt() %>%
gt::tab_options(table.font.size = 8) %>%
gt::cols_width(Variable ~ gt::pct(22),
Label ~ gt::pct(20),
Definition ~ gt::pct(30),
Type~ gt::pct(13),
Mandatory~ gt::pct(15)) %>%
gt::tab_style(
style = cell_text(size = px(15), weight = "bold"),
locations = cells_column_labels())