Suggestions for improving the OpenSafely documentation

Abierto
#1,592 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Documentación
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python, r, sql

Línea de trabajo

Comienza revisando la página de inicio de la documentación, los tutoriales y la referencia de ehrQL, las guías prácticas de testing y la sección del flujo de trabajo de análisis. Compara la cheat sheet propuesta, los ejercicios, la guía del lenguaje, el tutorial completo y los cambios de navegación con la estructura actual. Se considerará completado cuando se acuerde un alcance más reducido y accionable, y se identifiquen las páginas de documentación que deben actualizarse.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Python
Estrellas
48
Forks
10
Merge medio
1 d 12 h
PR fusionados (30 d)
11

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de opensafely/documentation

Todos los issues de opensafely/documentation

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.