Suggestions for improving the OpenSafely documentation

未关闭
#1,592 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
技术栈
python, r, sql

调研方向

首先查看文档主页、ehrQL 教程和参考文档、测试操作指南以及分析工作流部分。将提议的速查表、练习、语言指南、完整教程和导航更改与当前结构进行比较。完成的标准是就一个更精简且可执行的范围达成一致,并确定需要更新的文档页面。

由索引模型根据 Issue 内容生成。

描述

The following are some suggestions for content that could be added to the OpenSafely documentation from the perspective of a new researcher. Feel free to disregard the suggestions if you feel that they would not be useful or would be difficult to implement. I would also be happy to try implementing any suggestions that would indeed be helpful.

Content

  • An ehrQL cheat sheet could provide users a quick view of the most common syntax rather than having to read long, text-heavy tutorials/references.
  • Exercises could enable more active learning of ehrQL, since programming tends to be more easily learned through activity rather than reading. This could be used in the future in the development of some sort of self-learning course. These could be simple, multiple-choice Qs to test understanding, or more extended coding tasks.
  • A section for 'coming from Python/R/SQL' could help users familiarize themselves with ehrQL more quickly by learning the similarities/differences of ehrQL and their own language, since many users know one of these languages and ehrQL has similarities with Python (classes, methods), R (libraries, functions), and SQL (schemas, queries). Having a link on the homepage might be useful for new researchers.
  • Testing ehrQL queries is currently in the how-to-guides in the ehrQL section. It may also be considered best practice for using OpenSafely, so an incoming link from that section could be helpful.
  • A complete tutorial from start to finish could help in clarifying what a complete analysis pipeline looks like (at a lower level than seen in the 'analysis workflow section').

Navigation

  • The homepage has a lot of text, which makes it difficult to quickly find useful links and sections. Using a more abstracted/simplified homepage section could enable faster navigation to important sections/links. This page could then have a link to an about/introduction page for people who are unfamiliar with OpenSafely (equivalent to the current homepage).
    • Navigation is already available via the sidebar; however, a navigation-oriented home page may still be useful because:
      • The first thing people will look at is the actual content of the homepage, rather than the sidebar. This may particularly help new researchers less familiar with the structure of the documentation.
      • Images can be used to make recognition of desired sections faster, which is not possible with the sidebar.
      • The sidebar automatically hides when the homepage is opened in a smaller window (e.g. split screen). Personally, this meant I did not see the ehrQL reference for a while.
主要语言
Python
星标
48
派生
10
平均合并
1 天 12 小时
30 天内合并 PR
11

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

opensafely/documentation 的其他 Issue

查看 opensafely/documentation 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。