Skip to content

Align argument name for citation tibble across functions #190

@LukasWallrich

Description

@LukasWallrich

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions