-
Notifications
You must be signed in to change notification settings - Fork 979
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
data.table homepage #3675
Comments
For cheatsheet: the one you link @epetrovski was brought up in #3374, we've just been trying to figure out the best way to incorporate it & how extensible it'd be. So yes, it's as good as official. |
It might be easier to work that out having PR already. One thing I need to note that we don't want to sacrifice drat repo for pkgdown page. I believe it shouldn't be problem to combine both. Drat is created after success CI using https:/Rdatatable/data.table/blob/master/deploy.sh that |
I can put up something concrete, but rough, in order to get feedback, but someone from the data.table community needs to contribute a new code example, and someone heavily involved in data.table development also needs to be involved so that they can continue to maintain it after my initial contribution. I don't foresee any problem integrating the pkgdown deployment into your existing script, although you'll need to do it by hand since your CI setup is rather different from our standard. |
yes that works |
Where can I find a high-resolution version of the data.table logo? |
I guess the svg? |
Looking at @hadley's pull request, I agree that this is definitely the way to go. I have discovered data.table only two weeks ago, coming from tidyverse. I love the data.table package, due to its minimal dependencies and proximity to both base R and sql syntax. Documentation is unfortunately not yet its strength:
|
@g3o2 Thanks for your warm comment. Please find draft of pkgdown website at https://jangorecki.gitlab.io/data.table/ more details in a PR addressing this issue: #3677
Agree, CRAN does not allow to order vignettes. On pkgdown draft website it is already sorted as necessary, also introduction vignette is linked directly from home page.
I re-opened #2181 so it is easier to track status of this single vignette, which is highly requested. You can subscribe there to get updates on progress.
To be fair, I don't think we should teach our users much about base R itself. Of course I get your point. Personally I don't even use |
I recently saw https://cran.r-project.org/web/packages/golem/index.html Problem is we only have partial ordering -- intro comes first, but the rest, not so fixed. |
(Context: I have offered to help data.table get set up with a basic pkgdown website and provide some advice on the homepage. Matt suggested that this was the best place to discuss the homepage)
Package websites in the tidyverse follow a pretty standard format, and I would suggest that data.table mimics this structure, unless there are any strong objections. We usually organise the page as follows:
Overview: 1-3 paragraph overview of what the package does, often linking to vignettes for more details about particular features. The goal is to help people quickly figure out if they are in the right place.
Installation: a couple of lines of code so that people can install the package by copying and pasting code (i.e. as easily as possible).
Cheatsheet: If a cheatsheet is available, high-resolution thumbnails linking to the cheatsheet. This provides some visual interest to the page, and provides a quick overview of the features.
Usage: 1-2 screens worth of runnable code showing the most important features of the package.
Links in the sidebar and navbar to get more details.
(Typically we also echo this material in the readme, so that it's available directly from GitHub.)
Are there any strong feelings about this overall structure?
Much of this content can be drawn from the existing data.table wiki, but there are a couple of pieces that where the data.table community needs to guide me:
I think the first paragraph could be a bit punchier, focussing more on the features of data.table, and providing a little less social proof. Perhaps some of the headline features could be bought up from the bottom of the page, and there could be a new second paragraph that focussed on the impact that data.table has had in the wider community?
I would suggest combining the basic syntax guide (i.e. the two large images) with links to a cheatsheet. Is there a data.table cheatsheet endorsed by the community? I see that we link to one from our cheatsheet page but I'm not sure if this is official.
To me, the code samples are a little long. The main goal of the homepage (in my opinion) is to get people interested in the package — the details can go else, but here you want to demonstrate the key features of the package. I think it's also quite important the output is shown (particularly since data.table enhances the print method) and I'd recommend using a dataset that at least evokes a possible analysis context.
The text was updated successfully, but these errors were encountered: