OpenSAFELY ehrQL documentation
Tutorial
Initializing search
    GitHub
    GitHub
    • ehrQL
    • Tutorial
      • Setting up
      • Working with tables
      • Writing a dataset definition
      • Generating a dummy dataset
      • Committing the dataset definition
      • Writing a more complex dataset definition
      • Pushing the commits to GitHub
      • Tidying up
    • How-to guides
      • Using ehrQL to answer specific questions
      • Resolving ehrQL errors
      • How to use dummy data in an ehrQL dataset definition
      • How to use dummy data in an ehrQL measures definition
      • How to assign multiple columns to a dataset programmatically
      • How to work with codelists
      • How to test your dataset definition
    • Reference
      • Language reference
      • Language features
      • Backends
      • Table schemas
      • Command line interface
      • Upgrading ehrQL from v0 to v1
    • Explanation
      • ehrQL backend tables
      • ehrQL output formats
      • Using ehrQL in OpenSAFELY projects
      • Running ehrQL
      • Using the measures framework
      • Selecting populations for study

    Tutorial

    The tutorial provides practical steps for studying ehrQL.

    • Setting up
    • Working with tables
    • Writing a dataset definition
    • Generating a dummy dataset
    • Committing the dataset definition
    • Writing a more complex dataset definition
    • Pushing the commits to GitHub
    • Tidying up
    Previous
    ehrQL
    Next
    Setting up
    Made with Material for MkDocs