classify_material: Apply material classification on a *c14_date_list*

Description Usage Arguments Value Examples

View source: R/c14_date_list_classify_material.R

Description

Add column material_thes with simplified and unified terms for material categories. The classification is manually curated and therefore maybe not up-to-date. It's stored in a material_thesaurus list, and downloaded directly from github with c14bazAAR::get_material_thesaurus(). With this setup you can also easily apply own thesaurus tables.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
classify_material(
  x,
  material_thesaurus = c14bazAAR::get_material_thesaurus(),
  quiet = FALSE
)

## Default S3 method:
classify_material(
  x,
  material_thesaurus = c14bazAAR::get_material_thesaurus(),
  quiet = FALSE
)

## S3 method for class 'c14_date_list'
classify_material(
  x,
  material_thesaurus = c14bazAAR::get_material_thesaurus(),
  quiet = FALSE
)

Arguments

x

an object of class c14_date_list

material_thesaurus

a thesaurus table

quiet

suppress decision log output

Value

an object of class c14_date_list with the additional column material_thes

Examples

1
2
3
4

c14bazAAR documentation built on March 26, 2020, 6:38 p.m.