Extract Structure Type from CIF Content
extract_structure_type.RdExtracts the structure type name (e.g., from _chemical_name_structure_type).
Examples
cif_path <- system.file("extdata", "1590946.cif", package = "crystract")
if (file.exists(cif_path)) {
cif_content <- read_cif_files(cif_path)[[1]]
extract_structure_type(cif_content)
}
#> [1] NA