Description Usage Arguments Details Functions
Manage the translation of plate type codes during building a screen object.
1 2 3 4 5 6 7 |
x |
a screen object |
key |
a data frame with all character columns |
During building a screen object build_screen
calls the internal function
plate.type.converter
to read the plate type
encoded in field 4 of the plate name and create the columns
plate_type
and replica
accordingly.
This is done according to a dictionary file stored in the package directory.
plate.type.converter
: Takes a screen object and returns one in which columns "plate_type" and "replica" are altered.
show_conversion_key
: Reads and prints the conversion key as a data frame with all character columns
edit_conversion_key
: The new key will replace the file in the package directory.
When this function is run, it creates a backup copy of the original key.
The key can be recovered with recover_conversion_key
.
recover_conversion_key
: When the file that contains the key for plate type conversion is modified
by edit_conversion_key
, a backup copy is created in the package directory.
This function will remove the current key file and restore the original.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.