-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Currently, in some functions, the argument taking the citations tibble is called unique_citations
(e.g., compare_sources()
) while is is simply named citations
in others (e.g., citation_summary_table()
). In order to have a clean user interface, we should probably align this.
Given that the entire package works on deduplicated citations, I would personally suggest to call it citations
(and document that the argument refers to deduplicated citations) - but happy to call it unique_citations
as well. Usually, it won't be named, so it does not make a huge difference - but should still be cleaned up before release as changes to argument names can break existing code if users name the arguments ...
@TNRiley (and anyone else) - which argument name would you prefer? Also, do we have other recurring arguments across functions with different names? I currently don't think so, but that may also be worth checking.