Exercise 5 - How to extract classifiers from names of specimens.
Well-organised morphometricians will have a consistent naming system for their specimens, such that information about the species and ID are included in the image name, and perhaps other information such as locality, sex, side (for asymmetry studies), replicate etc. (this in fact is recommended for new users of morphometrics. See this blog post for more details on starting up your morphometrics study). Although beware that the maximum length of path names for files on Windows machines is 260 characters.
Here, the name of the specimen is the binomial species name, followed by it's ID, the sex of the specimen and then the locality.
Here is a simply workflow for converting this information into a table so that these classifiers can be used in geomorph functions.