Document code_search workflow in vignettes

オープン
#257 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
57/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
r
領域
backend

調査の方向性

Start by reading getCandidateCodes() and asCodelist(), then trace how the returned object’s class and columns are handled. Reproduce the example with CodelistGenerator 4.1.0 and check which column or class prevents conversion; done when asCodelist() returns a non-empty codelist for the example.

索引モデルが issue の本文から書いたものです。

説明

In the new version (4.1.0) of CodelistGenerator, the getCandidateCodes() function returns an object of an unexpected class.

Previously, the output had the following classes:
[1] "candidate_codes" "tbl_df" "tbl" "data.frame"

However, in version 4.1.0, the output has the following classes:
[1] "code search" "tbl_df" "tbl" "data.frame"

As a result, I cannot convert the output to a codelist using asCodelist().
However, creating a codelist using omopgenerics::newCodelist() still works.

As an example:
diabetes <- getCandidateCodes(
cdm = cdm,
keywords = "diabetes")
class(diabetes)
codelist <- asCodelist(diabetes)

I do not get an error, but in the console it shows:
! No column specifying T/F for the different codes is detected

and then I get an empty codelist:
── 0 codelists ───

主要言語
R
スター
18
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

darwin-eu/CodelistGenerator のほかの issue

darwin-eu/CodelistGenerator の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。