Skip to content

Create standard categories and assign @concept and @keyword tags for automatic indexing  #151

Closed

Description

@GegznaV

A list of objects (functions, datasets, other topics) grouped by topic (similarly as in this table in appendix 1 of hyperSpec vignette) could be created by pkgdown. This list could be automatically populated based on the documentation topics and contents of roxygen tags @concept and @keyword.

So I suggest standardizing function names, where possible (as documentation topic usually = function name), and adding either @concept or @keyword or both tags to documentation. This process should be standardized, so:

  • we should decide on conventions, which keywords/concepts should be used in certain situations.
  • include this information in the guidelines for contributors.

The full list of available keywords with explanation:

browseURL(file.path(R.home("doc"), "KEYWORDS"), browser = "Rstudio")

or just keywords

gtools::keywords()

Related links:

Related issues: #78, #96

Activity

  1. added
    Topic: documentation 📘
    on Jun 11, 2020
  2. changed the title [-]Standardize documantation for automatic indexing (@concept and @keyword tags)[/-] [+]Standardize documentation for automatic indexing (@concept and @keyword tags)[/+] on Jun 11, 2020
  3. added
    Type: proposal 💡
    on Jun 11, 2020
  4. GegznaV commented on Jun 11, 2020

    @GegznaV
    CollaboratorAuthor

    I see that most of the functions in hyperSpec have keywords 👍

  5. GegznaV commented on Jun 11, 2020

    @GegznaV
    CollaboratorAuthor

    Update: I moved this message to a new issue (#166)


    The following topics/functions potentially have missing keywords (mark as image when fixed): [...]

  6. bryanhanson commented on Jun 15, 2020

    @bryanhanson
    Collaborator

    gtools::keywords() for the official list.

  7. changed the title [-]Standardize documentation for automatic indexing (@concept and @keyword tags)[/-] [+]Create standard categories and assign @concept and @keyword tags for automatic indexing [/+] on Jun 17, 2020
  8. GegznaV commented on Jul 24, 2020

    @GegznaV
    CollaboratorAuthor

    This task will be less time-consuming (and should be done) after functions are moved to appropriate hySpe.* packages.

  9. GegznaV commented on Jul 30, 2020

    @GegznaV
    CollaboratorAuthor

    I found out that @concepts work better than keywords as there is functionality to list all functions/objects, that do have certain concepts.

    I did the classification of functions with @concepts in #225. We will see, it works. And if it does, I could describe which concepts should be used.

    For now, I close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority: 3-lowTopic: documentation 📘Type: proposal 💡

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions