# Endpoint Cohorts

### Details

Table is a transformation of table [finngen\_R13\_endpoint\_3.0.txt](/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/endpoint-and-endpoint-longitudinal-data.md) from wide to long format.

### Sandbox directory

Endpoint cohorts data is available as a separate file in the following Sandbox directory:

`/finngen/library-red/finngen_R13/endpoint_cohorts_v3.0/`

### Data files

This data is available in the following file:

`finngen_R{RELEASE]_endpoint_cohorts_3.0.csv.gz`

The file contains the following columns:

| Column              | Description                                                   |
| ------------------- | ------------------------------------------------------------- |
| FINNGENID           | Studyid                                                       |
| ENDPOINT            | Endpoint name                                                 |
| CONTROL\_CASE\_EXCL | Indicates if patient is control=1, case=1, excluded control=2 |
| AGE                 | If case, the age of the first event                           |
| YEAR                | If case, the year of the first event                          |
| NEVT                | If case, the number of events                                 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/endpoint-cohorts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
