
ohdsi/capr
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
R에서 Cohort 정의 응용 프로그램 프로그래밍
개요
Capr의 목표는 식용 꽃과 같은 'kay-pr'를 발음 한 것은 R 코드에서 OHDSI 코호트 정의를 표현하는 언어를 제공하는 것입니다. OHDSI는 "한 번의 기간 동안 하나 이상의 포함 기준을 만족하는 사람의 집합"으로 코호트를 정의하고 (Circe) 정의에 대한 표준화 된 접근 방식을 제공합니다. Capr는 R의 프로그래밍 인터페이스를 통해 표준화 된 접근 방식을 노출하고, 빌드, 버전 및 재사용 코호트 정의를 쉽게 만들 수 있습니다. 특히 비슷한 코호트를 만들 때. Capr 코드는 OMOP Common Data Model에 직접 실행할 수 있는 동안 인간 읽기 가능하도록 설계되었습니다. OHDSI의 책의 코호트 챕터에서 코호트 건물에 대한 자세한 내용을 알아보십시오. 사용자는 GitHub에서 Capr의 현재 개발 버전을 설치할 수 있습니다. 문서는 패키지 웹 사이트에서 찾을 수 있습니다. 문서의 PDF 버전도 패키지 웹 사이트에서 사용할 수 있습니다.
개요(AI 번역)
Capr는 HADES의 일부입니다.
소개
Capr의 목표는 식용 꽃과 같은 'kay-pr’를 발음 한 것은 R 코드에서 OHDSI 코호트 정의를 표현하는 언어를 제공하는 것입니다. OHDSI는 "한 번의 기간 동안 하나 이상의 포함 기준을 만족하는 사람의 집합"으로 코호트를 정의하고 (Circe) 정의에 대한 표준화 된 접근 방식을 제공합니다. Capr는 R의 프로그래밍 인터페이스를 통해 표준화 된 접근 방식을 노출하고, 빌드, 버전 및 재사용 코호트 정의를 쉽게 만들 수 있습니다. 특히 비슷한 코호트를 만들 때. Capr 코드는 OMOP Common Data Model에 직접 실행할 수 있는 동안 인간 읽기 가능하도록 설계되었습니다.
OHDSI의 책의 코호트 챕터에서 코호트 건물에 대한 자세한 내용을 알아보십시오.
설치
사용자는 GitHub에서 Capr의 현재 개발 버전을 설치할 수 있습니다.
사용자 문서
문서는 패키지 웹 사이트에서 찾을 수 있습니다.
**여기 시작 ** 당신의 목표에 따라:
| 고알 | Vignette | |—||| | 모자를 사용하시는 분 | | 관내·규격·단체 | Capr 구성품 | | 컨셉 세트 작업 | 컨셉 세트 작업|
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Capr
Capr is part of HADES
Introduction
The goal of Capr, pronounced ‘kay-pr’ like the edible flower, is to provide a language for expressing OHDSI cohort definitions in R code. OHDSI defines a cohort as “a set of persons who satisfy one or more inclusion criteria for a duration of time” and provides a standardized approach for defining them (Circe). Capr exposes that standardized approach through a programmatic interface in R, making it easier to build, version, and reuse cohort definitions — particularly when creating a large number of similar cohorts. Capr code is designed to be human-readable while remaining directly executable against an OMOP Common Data Model.
Learn more about the OHDSI approach to cohort building in the cohorts chapter of the Book of OHDSI.
Installation
Users can install the current development version of Capr from GitHub with:
# install.packages("devtools")
devtools::install_github("ohdsi/Capr")
User Documentation
Documentation can be found on the package website.
Start here based on your goal:
| Goal | Vignette |
|---|---|
| Build your first cohort | Using Capr |
| Understand queries, criteria, and groups | Capr components |
| Work with concept sets | Working with Concept Sets |
| Convert Atlas JSON to Capr code | Decompiling Atlas JSON |
| Build many cohorts from a template | Capr for Templating |
| See clinical cohort examples | Cohort Definition Examples |
PDF versions of the documentation are also available on the package website.
Using Capr with LLM Coding Agents
Capr ships with a self-contained skill bundle for LLM coding agents (Claude Code, GitHub Copilot, Cursor, etc.) that generates validated cohort definitions from natural-language descriptions — no MCP servers, no network infrastructure, no database connection. The bundle
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add ohdsi/capr