Description Usage Arguments Value
These functions allow to inspect the lookups done in fix_database_country_name and classify_material. This can be useful to understand which values are not covered in the in the thesaurus tables.
1 2 3 | inspect_lookup_country(x, thesaurus = c14bazAAR::country_thesaurus)
inspect_lookup_material(x, thesaurus = c14bazAAR::material_thesaurus)
|
x |
a c14_date_list with the columns country and country_thes or material and material_thes which went through either or both fix_database_country_name or classify_material |
thesaurus |
see fix_database_country_name or classify_material |
a data.frame with information about lookup decisions. Columns:
already_in_thesaurus: entry is already identical to the "correct" one in the thesaurus table
changed: entry was changed with fix_database_country_name or classify_material
changed_thesaurus: entry was changed with a lookup in the thesaurus
changed_not_thesaurus: entry was changed by lookup in another reference
not_changed_not_thesaurus: entry was not changed is not in the thesaurus
For material classification this last column indicates values that should be added to the thesaurus, because they are missing there. For countries it often means that the entries were found in codelist.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.