-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdd_surv_act.R
606 lines (518 loc) · 24.9 KB
/
dd_surv_act.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
# @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ #
# Surveillance Activity Dictionary #
# @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ #
surv_activity<-
list(
# data.frame(
# Variable="Project Name",
# Label="Project Name",
# Definition="The name of the Project containing the Surveillance Activity",
# Type="Single selection",
# Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityID",
Label="Surveillance Activity Identifier",
Definition="System-provided Surveillance Activity identifier",
Type="Integer",
Mandatory="System-assigned"),
data.frame(
Variable="SurveillanceActivityCode",
Label="Surveillance Activity Code",
Definition="User-provided Surveillance Activity code",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityCrossReferenceID",
Label="Surveillance Activity Cross Identifier",
Definition="The identifier of the Surveillance Activity under another nomenclature system.
For example, in a different database or document where other identification
for the same Surveillance Activity is used",
Type="String",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityCrossReferenceIDOrigin",
Label="Surveillance Activity Cross Identifier Origin",
Definition="The location/database/document where other identification
for the same Surveillance Activity is used",
Type="String",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityType",
Label="Surveillance Activity Type",
Definition="The type of surveillance associated with the Surveillance Activity
(e.g., Targeted, Scanning, Outbreak Investigation, or Research). If two or more
surveillance types are involved, then two or more Surveillance Activities are needed
so each one receives a single type of surveillance",
Type="Multiple selection",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityGrantName",
Label="Surveillance Activity Grant Name",
Definition="The name of the grant funding the Surveillance Activity. If there is not a
grant involved, type 'N/A'",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityGrantNumber",
Label="Surveillance Activity Grant Number",
Definition="The number of the grant funding the Surveillance Activity",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityLeader",
Label="Surveillance Activity Leader",
Definition="The person leading the Surveillance Activity",
Type="Single selection",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityLeaderOrganization",
Label="Surveillance Activity Leader Organization",
Definition="The affiliation of the person leading the Surveillance Activity",
Type="Single selection",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityLeaderOrganizationROR",
Label="Surveillance Activity Leader Organization ROR",
Definition="The ROR of the affiliation of the person leading the Surveillance Activity",
Type="String",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityOtherIndividuals",
Label="Surveillance Activity Other Individuals",
Definition="Other Individuals relevant for the Surveillance Activity",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivitySectorsInvolved",
Label="Surveillance Activity Sectors Involved",
Definition="The environmental, animal, human, wildlife sectors involved in the
execution of the Surveillance Activity",
Type="Multiple selection",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityOrganizationsInvolved",
Label="Surveillance Activity Organizations Involved",
Definition="Organizations/partners/institutions involved in the execution of
the Surveillance Activity (e.g., Laboratories, NGOs, etc.)",
Type="Multiple selection",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityCountry",
Label="Country or Countries Included in the Surveillance Activity",
Definition="The countries where the Surveillance Activity takes place",
Type="Multiple selection",
Mandatory="Yes"),
# ------- Biological Hazard Types
data.frame(
Variable="SurveillanceActivityBiologicalHazard",
Label="Biological Hazards",
Definition="The type(s) of biological health hazard(s) of interest for the Surveillance Activity
(e.g., 'Virus', 'Bacteria', 'Protozoa', 'Insecta')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityVirusHazard",
Label="Virus",
Definition="The viruses of interest for the Surveillance Activity. It can be as specific as a clade/variant/etc of a species
or as general as 'Virus' (e.g., 'Virus', 'SARS-CoV-2 Omicron variant', 'H5N1 Highly Pathogenic Avian Influenza clade 2.3.3.4b')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityBacteriaHazard",
Label="Bacteria",
Definition="The bacteria of interest for the Project. It can be as specific as a strain/serovar/etc of a species
or as general as 'Bacteria' (e.g., 'Group-A Streptococcus', 'Mycobacterium bovis')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityProtozoaHazard",
Label="Protozoa",
Definition="The protozoa of interest for the Surveillance Activity. It can be as specific as a strain/serovar/etc of a species
or as general as 'Protozoa' (e.g., 'Plasmodium relictum', 'Toxoplasma gondii')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityFungiHazard",
Label="Fungi",
Definition="The fungi of interest for the Surveillance Activity. It can be as specific as a strain/serovar/etc of a species
or as general as 'Fungi' (e.g., 'Pseudogymnoascus destructans', 'Batrachochytrium dendrobatidis')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityPrionHazard",
Label="Prion",
Definition="The prion of interest for the Project. It can be as specific as the protein subtype
or as general as 'Prion' (e.g., 'Chronic-wasting disease', 'Scrapie', 'Mad cow disease)", # name of the protein not the disease. REplace
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityTransmissibleTumourHazard",
Label="Transmissible Tumour",
Definition="The transmissible tumour of interest for the Surveillance Activity (e.g., 'Devil facial tumor 1', 'Devil facial tumor 2')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityNematodaHazard",
Label="Nematode",
Definition="The nematode of interest for the Surveillance Activity. It can be as specific as a strain/serovar/etc of a species
or as general as 'Nematode' (e.g., 'Toxocara canis', '')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityPlatyhelminthHazard",
Label="Platyhelminth",
Definition="The platyhelminth of interest for the Surveillance Activity. It can be as specific as a subspecies
or as general as 'Platyhelminth' (e.g., 'Fasciola gigantica')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityArthropodHazard",
Label="Arthropod",
Definition="The arthropod of interest for the Surveillance Activity. It can be as specific as a subspecies
or as general as 'Arthropod' (e.g., 'Sarcoptes scabiei', 'Rhipicephalus sanguineus')",
Type="Multiple selection",
Mandatory="No"),
# ------- Chemical Hazard Types
data.frame(
Variable="SurveillanceActivityChemicalHazard",
Label="Chemical Hazards",
Definition="The type(s) of chemical health hazard(s) of interest for the Surveillance Activity
(e.g., 'Heavy Metal', 'Organochlorine Pesticides', 'Cholinesterase-inhibbiting Pesticide', 'Toxins')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityHeavyMetalHazard",
Label="Heavy Metal",
Definition="The heavy metal of interest for the Surveillance Activity. It can be as specific as a chemical form of the heavy metal
or as general as the common name of the metal (e.g., 'Lead', 'Methylmercury')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityOrganochlorinePesticidesHazard",
Label="Organochlorine Pesticides",
Definition="The organochlorine pesticides of interest for the Surveillance Activity. It can be as specific as a type of organochlorine pesticides
or as general as 'Organochlorine Pesticide' (e.g., 'DDT', 'Lindane')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityCholinesteraseInhibbitingPesticideHazard",
Label="Cholinesterase-inhibbiting Pesticide",
Definition="The cholinesterase-inhibbiting pesticide of interest for the Surveillance Activity. It can be as specific as a type of
cholinesterase-inhibbiting pesticide or as general as 'Cholinesterase-inhibbiting Pesticide'
(e.g., 'Diazinon', 'Malathion')",
Type="Multiple selection",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityToxinsHazard",
Label="Toxins",
Definition="The toxin of interest for the Surveillance Activity. It can be as specific as the protein subtype
or as general as 'Toxin' (e.g., 'Clostridium botulinum toxin type C', 'Tetanus toxin')", # name of the protein not the disease. REplace
Type="Multiple selection",
Mandatory="No"),
# -Physical Hazards
data.frame(
Variable="SurveillanceActivityPhysicalHazard",
Label="Physical Hazards",
Definition="The type(s) of physical health hazard(s) of interest for the Surveillance Activity
(e.g., 'Trap', 'Vehicle Collisions', 'Entanglement', 'Burning', 'Electrocution')",
Type="Multiple selection",
Mandatory="No"),
# -# -Biological Hazards
data.frame(
Variable="SurveillanceActivityPhysiologicalHazard",
Label="Physiological Hazards",
Definition="The type(s) of physiological health problems of interest for the Surveillance Activity
(e.g., 'Hypocalcemia', 'Hyperkalemia', 'Amyloid A amyloidosis')",
Type="Multiple selection",
Mandatory="No"),
# --------------------------------
data.frame(
Variable="SurveillanceActivityTaxaTargeted",
Label="Taxa Targeted",
Definition="Taxa of interest for the Surveillance Activity. It is possible
to select high taxonomy levels such as 'Mammalia', 'Chordata', 'Insecta', etc.
to indicate that no particular species is targeted. The answer applies to
previous Sources Records (Carcasses or Specimens from previous Surveillance
Activities) and new Sources if both are included in the Surveillance Activity",
Type="Multiple selection",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityPurpose",
Label="Surveillance Activity Purpose",
Definition="Description of the general objectives and goals of the Surveillance Activity",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityMethods",
Label="Surveillance Activity Methods",
Definition="Description of the methods used to complete the Surveillance Activity (e.g.,
transect, citizen reports, ranger patrols, animal health team putbreak investigation,
mosquito trapping, hunters reporting body condition, indigenous communities reporting
findings in processed carcasses, etc.)",
Type="Multiple selection",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityNewFieldVisits",
Label="Surveillance Activity New Field Visits",
Definition="Answer to the question: 'Does the Surveillance Activity involve new Field Visits?'",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityNewFieldVisitCodeStructure",
Label="Surveillance Activity New Field Visit Code Structure",
Definition="Description of the structure of the codes used to identify New Field Visits",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityNewFieldVisitOtherAttributes",
Label="Surveillance Activity New Field Visit Other Attributes",
Definition="Answer to the question: 'Does the Surveillance Activity involve tracking
other properties of New Field Activities not included in the default Field Visit properties of
the data model?'",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityNewFieldVisitListDefinitionOtherAtttributes",
Label="Surveillance Activity New Field Visit Definition Other Attributes",
Definition="Description of other Field Visit attributes of interest not included in the
data model. Provide a list with the name of the attributes and their definition",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityNewLocationsCodeStructure",
Label="Surveillance Activity Location Code Structure",
Definition="Description of the structure of the codes used to identify Location",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityLocationsNumber",
Label="Surveillance Activity Locations Number",
Definition="The number of Locations included in the Surveillance Activity",
Type="Integer",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityLocationSpatialPolygons",
Label="Surveillance Activity Location Spatial Polygons",
Definition="Answer to the question: 'Are the polygons of Locations entered in the database
as a external file containing spatial data?'",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityEventCodeStructure",
Label="Surveillance Activity Event Code Structure",
Definition="Description of the structure of the codes used to identify Events",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityActiveCollection",
Label="Surveillance Activity Active Collection",
Definition="Answer to the question:'Are Source Records obtained through an active collection
strategy (e.g., camera traps, mosquito traps, patrolling, transect, mist nets, observation
periods, land exploration, etc.)?'",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityCollectionCodeStructure",
Label="Surveillance Activity Collection Code Structure",
Definition="Description of the structure of the codes used to identify Collections",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityGroupSourcesIncluded",
Label="Surveillance Activity Includes Group Sources",
Definition="Answer to the question: 'Does the Surveillance Activity include
data of animals at a group-level (e.g., herd, pack, pen, animal in a cage, etc.)
to be collected or from previous Surveillance Activities?'",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityAnimalSourcesIncluded",
Label="Surveillance Activity Includes Animal Sources",
Definition="Answer to the question: 'Does the Surveillance Activity include
data of individual animals to be collected or from previous Surveillance Activities?'",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityEnvironmentalSourcesIncluded",
Label="Surveillance Activity includes Environmental Sources",
Definition="Answer to the question: 'Does the Surveillance Activity include
data of Environmental Sources (e.g., sites where water is collected)
to be collected or from previous Surveillance Activities?'",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityArthropodSourcesIncluded",
Label="Surveillance Activity Includes Arthropod Sources",
Definition="Answer to the question: 'Does the Surveillance Activity include
data of of Arthropod Sources (e.g., sites where CO2 traps can be placed to collect mosquitoes)
to be collected or from previous Surveillance Activities?'",
Type="Boolean",
Mandatory="Yes"),
# data.frame(
# Variable="SurveillanceActivitySourceCodeStructure",
# Label="Surveillance Activity Source Code Structure",
# Definition="Description of the structure of the codes used to identify Sources",
# Type="String",
# Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityPreviousSpecimensAnySourceType",
Label="Surveillance Activity Previous Specimens Any Source Type",
Definition="Answer to the question: 'Does the Surveillance Activity include the
use of Specimens of any type obtained under a previous Surveillance Activity?'",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityNewSpecimensAnySourceType",
Label="Surveillance Activity New Specimens Any Source Type",
Definition="Answer to the question: 'Does the Surveillance Activity include
obtaining new Specimens of any type?'",
Type="Boolean",
Mandatory="Yes"),
# data.frame(
# Variable="SurveillanceActivityNewSpecimenCodeStructure",
# Label="Surveillance Activity New Specimen Code Structure",
# Definition="Description of the structure of the codes used to identify newly obtained Specimens",
# Type="String",
# Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityNewPooledSpecimens",
Label="Surveillance Activity New Pooled Specimens",
Definition="Answer to the question: 'Does the Surveillance Activity involve the
creation of new Pooled Specimens?",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityNewPooledSpecimenCodeStructure",
Label="Surveillance Activity New Pooled Specimens Code Structure",
Definition="Description of the structure of the codes used to identify newly
created Pooled Specimens",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityNewDiagnostics",
Label="Surveillance Activity New Diagnostics",
Definition="Answer to the question: 'Does the Surveillance Activity
involve new Diagnostics?",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityNewDiagnosticsCodeStructure",
Label="Surveillance Activity New Diagnostics Code Structure",
Definition="Description of the structure of the codes used to identify new Diagnostics",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityNewDiagnosticProducts",
Label="Surveillance Activity New Diagnostic Products",
Definition="Answer to the question: 'Does the Surveillance Activity involve
the creation of new Diagnostic Products?",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityLaboratoriesIncluded",
Label="Surveillance Activity Laboratories Included",
Definition="Answer to the question: 'Are there any laboratories participating
somehow in the Surveillance Activity",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityLaboratories",
Label="Surveillance Activity Participating Laboratories",
Definition="The laboratories participating in any manner in the Surveillance Activity",
Type="Multiple selection",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityIACUCNeeded",
Label="Surveillance Activity IACUC Needed",
Definition="Answer to the question: 'Is an IACUC needed to conduct the Surveillance Activity?'",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityOrganizationProvidingIACUC",
Label="Surveillance Activity Organization Providing IACUC",
Definition="The organization providing the IACUC approving the methodology
of the Surveillance Activity",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityIACUCCode",
Label="Surveillance Activity IACUC Code",
Definition="The code of the IACUC approving the methodology of the Surveillance Activity",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityDataOwner",
Label="Surveillance Activity Data Owner",
Definition="The person or organization that owns the Surveillance Activity data",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityDataManager",
Label="Surveillance Activity Data Manager",
Definition="The person responsible of the Surveillance Activity data",
Type="Single selection",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityOtherSurveillanceActivityAssociated",
Label="Surveillance Activity Other Surveillance Activities or Datasets Associated",
Definition="Answer to the question: 'Are there other Surveillance Activities or other datasets
associated with the current Surveillance Activity ?'
(e.g., if the current Surveillance Activity uses Specimens collected as part of
other associated Surveillance Objective, or if the full set of events of a ranger
patrol (beyond health events) belong to the patrol XXXX of the protected
area Y')",
Type="Boolean",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityOtherSurveillanceActivityAssociatedCode",
Label="Surveillance Activity Associated Surveillance Activities Codes",
Definition="The Codes of other Surveillance Activities associated with the
current Surveillance Activity",
Type="Multiple selection",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityReasonOtherSurveillanceActivityAssociated",
Label="Reason other Surveillance Activities or Datasets Are Associated",
Definition="Describe why other Surveillance Activities are associated with the
current Surveillance Activity (e.g., the current Surveillance Activity uses
Specimens collected as part of Surveillance Activity X, or the health Events
are part of patrols conducted in protected Z')",
Type="String",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityRelevantUrl",
Label="Surveillance Activity URLs",
Definition="URLs of the Surveillance Activity, associated with the Surveillance
Activity, or organizations leading the Surveillance Activity",
Type="String",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityPublication",
Label="Surveillance Activity Publications",
Definition="Publication references associated with the Surveillance Activity",
Type="String",
Mandatory="No"),
data.frame(
Variable="SurveillanceActivityStartDate",
Label="Surveillance Activity Start Date",
Definition="The date the Surveillance Activity officially started" ,
Type="Date",
Mandatory="Yes"),
data.frame(
Variable="SurveillanceActivityEndDate",
Label="Surveillance Activity End Date",
Definition="The date the Surveillance Activity is projected to end or officially ended",
Type="Date",
Mandatory="No"))
surv_activity<-
surv_activity %>% 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())