-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tool to display chronological intervals using R #2
Comments
Great, @dirkseidensticker! I think this is a nice project idea for the unconference setting. A geom would be a perfect solution for this purpose in my opinion and I could very well imagine an R package just to solve this plotting challenge in a good and way. Beyond the plotting I would be very interested to understand the relation of Interval Algebra and the Aoristic method as it is implemented in our aoristAAR package. I guess I have to take a look at the paper. |
Very cool, super idea! Can be implemented as a graphical representation certainly in feasible time, and offers possibilities for flexible extension, plus is a problem area that exists almost universally for all archaeological applications. Currently my absolute favorite for a hackathlon task! |
It is a great idea! In Wilmershaven Chiara talked about ChronochRt, an R-package developed to build chronology tables: http://ag-caa.de/workshop2019/programm/ |
Wow - that sounds super interesting, @SCSchmidt. I just pinged Chiara (does she have an account on github?). Let's see if she wants to join the discussion. |
Chiara forwarded me @nevrome's ping. Please find below the output of our test data set and a screenshot of an input file (manual input directly in R will also be available). Each column is separately calculated and displayed (geom_facet). Within each column two chronological systems (e. g. early and late chronologies) are supported. More would be easily possible technically, but for the sake of comprehensibility we think in this case one should use seaprate columns. Of course it can handle subunits and I hope our algorithm is already capable to calculate them regardless of the number of subunits and complexities in the chronology. At the moment we are finalising the labeling. We would be very interested in collaboration. As said it seems that the aim of the suggested project goes in a different direction. I can well imagine that both will complement each other nicely. |
Thank you for the fast reply, @archaeothommy! That's excellent work! As I already discussed this project idea with @dirkseidensticker in the past, I'm fairly confident, that plotting for sure is a major part of this project idea. Your work partly anticipates what we had in mind - which is a wonderful thing! IMHO the best solution to implement an own plotting geometry in R is by extending ggplot2. Is this code already structured as an own I'm dreaming of an R package like ggalt, ggExtra or ggthemes specifically for archaeology that adds valuable geoms, scales and themes relevant for our subject. A |
@archaeothommy hey, indeed a really, really great package you have there. Indeed the latter part of my initial comment was going a bit further to my personal moonshot 🌕🚀 But the visualization part, without the need to fiddle around with We thought that outlining/building a ggplot2-extension would be feasible for the hackathon. And concerning Allen's Interval Algebra: I think it could solve some issues I have with the (largely non existent) chronologies schema's for Central Africa, where connections between pottery styles are sometimes articulated (aka "style A must have started while B was still around" and much like that). For the EAA presentation we relied on Correspondance Analysis and the Aligator method developed by @florianthiery Nonetheless I guess in which way (manual or some sort of still to be developed code relying on Allen) one produces the input (name, from, to) depends on the use case as well. An R-package that can help here would be already something. |
We thought that - aside from the programming aspect - a diagonal line implies a lot of things, which might not necessarily be intended. To me, a diagonal line is more like "in some parts it starts this early, whereas in others it does not" and not a "it starts somewhere between then and then". Furthermore, if regions are plotted that diagonal line might even be indicating North-South gradients etc. rather dating uncertainty Originally we thought that a 2.0 version could be a shiny app, useable for those, who do not possess any R programming skills. We thought about how it could be visualised by using geoms but did not really get anywhere, so it sure would be nice to have this as another option! |
I agree with your feeling on a diagonal line, @cgirotto. Maybe two dotted lines "in between here the change happens" might be a way to sow the uncertainty? Or did you mean this already, not just one line as I understood? I'm not sure, whether I'll be in Oxford, but I'd love a package that'll create visualisations of chronlogies! So thumbs up for this project at the hackaton! ;-) |
@SCSchmidt : that's exactly the plan (two dotted lines) "but did not really get anywhere" Well, to be honest, at least I have no clue how to make an own geom and had not the time yet to make myself acqainted with. But I am open to it and interested, also in the idea of a "archaeological graphics" package @nevrome (and no, no spontaneous ideas about any geoms). As @cgirotto said, it will be a good addition/enhancement. |
Within the currently available geom's
ggplot()
is offering, a proper illustration of (dating) intervals is hardly possible. Usuallygeom_rect()
orgeom_segment()
are used to display data -- e.g. chronological phases -- with a given start and end date.Within last years presentation during the EAA (Barcelona; see RDF based modeling of relative and absolute chronological data ) we were unable to propperly display intervals using R/ggplot.
Within that same framework I would suggest trying to implement Allen's Interval Algebra (doi:10.1016/B978-1-4832-1447-4.50033-X) within an R package. While it seems to be interesting, especially within archaeological research, it seems to be hardly known by anybody as there are no tools available to model and display these relationships effectively. And as chronology is at the basis of most archaeological reasoning I would propose it as a project for the unconference.
The text was updated successfully, but these errors were encountered: