Extract Space Group Number from CIF Content
extract_space_group_number.RdExtracts the International Tables space group number (e.g., from _space_group_IT_number).
Examples
cif_path <- system.file("extdata", "1590946.cif", package = "crystract")
if (file.exists(cif_path)) {
cif_content <- read_cif_files(cif_path)[[1]]
extract_space_group_number(cif_content)
}
#> [1] "62"