Creating scalable and repeatable functions to augment historical research