Skip to content
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

Discussion: Which pkgdown function categories do we want to have? #481

Closed
nikosbosse opened this issue Nov 19, 2023 · 1 comment · Fixed by #886
Closed

Discussion: Which pkgdown function categories do we want to have? #481

nikosbosse opened this issue Nov 19, 2023 · 1 comment · Fixed by #886

Comments

@nikosbosse
Copy link
Contributor

nikosbosse commented Nov 19, 2023

https://epiforecasts.io/scoringutils/reference/index.html has a nice overview of all functions. All functions are tagged with a keyword and then get a category with a certain heading.

image

What should the headings / categories be?

What we have at the moment

(from _pkgdown.yaml)

title: Package documentation
          contents:
                - scoringutils
        - title: Functions to check and analyse inputs
          contents:
                - has_keyword("check-forecasts")
        - title: Functions for convenient forecast evaluation
          contents:
                - score
                - has_keyword("scoring")
                - starts_with("score_")
        - title: Lower-level scoring functions
          contents:
                - has_keyword("metric")
        - title: Data wrangling helpers
          contents:
                - has_keyword("data-handling")
        - title: Functions for plotting and data visualisation
          contents:
                - starts_with("plot_")
                - has_keyword("plotting")
        - title: Internal functions
          contents:
                - has_keyword("internal")
        - title: Example data and information
          contents:
                - has_keyword("datasets")
                - has_keyword("info")

Questions

  • We definitely need to make small updates to the keywords, e.g. starts_with("score_") needs to go
  • The current setup doesn't quite reflect functions such as
    • add_coverage()
    • I'm also a bit unsure what add_pairwise_comparison() would be...
    • or the get_ functions that provide more information
    • run_safely()
  • Adding subtitles would be also nice to structure the internal functions a bit, e.g. input checks, other internal functions etc. Also distinguishing test functions from check functions etc. would be nice.
@seabbs
Copy link
Contributor

seabbs commented Apr 12, 2024

We should organise this based on your workflow figures? With the main functions all together?

nikosbosse added a commit that referenced this issue Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants