{ "cells": [ { "cell_type": "code", "execution_count": 22, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "from OpenAITools.JRCTTools import fetch_clinical_trials, extract_jrct_links, create_dataframe_from_urls, reorder_columns" ] }, { "cell_type": "code", "execution_count": 23, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "検索ボタンがクリックできないため、JavaScriptでクリックします。\n", "1 ページ目を処理しました。\n", "2 ページ目を処理しました。\n", "3 ページ目を処理しました。\n", "4 ページ目を処理しました。\n", "5 ページ目を処理しました。\n", "次のページはありません。全ての結果を取得しました。\n" ] } ], "source": [ "# fetch_clinical_trialsを使って検索結果を取得\n", "results = fetch_clinical_trials(disease_name=\"がん 神経膠腫 骨髄腫 黒色腫\", freeword=\"\")" ] }, { "cell_type": "code", "execution_count": 26, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "['がん患者の疼痛',\n", " '卵巣がん',\n", " '膵嚢胞、慢性膵炎、家族性膵がん及び遺伝性膵がん家族歴を有する症例、糖尿病症例(新規発症・急性増悪...',\n", " '肺がん',\n", " '固形がん',\n", " '末期がん',\n", " '進行固形がん',\n", " 'H3 K27M 変異を有する初発びまん性神経膠腫',\n", " 'がん',\n", " '難治性がん(希少がん、AYAがん、原発不明がんを含める)',\n", " '頭頸部がんと血液がんを除く固形癌',\n", " '転移性固形がん\\n進行性固形がん\\n非小細胞肺がん\\nSMARCA4欠損がん',\n", " '進行性非小細胞肺癌(NSCLC)及びその他の固形がん',\n", " '悪性神経膠腫',\n", " '転移性非小細胞肺がん',\n", " '固形がん',\n", " '肺がん',\n", " '悪性リンパ腫, がん治療関連心機能障害, 心不全',\n", " '進行固形がん',\n", " 'S状結腸癌または直腸がん',\n", " '肺がん検診を受ける患者、及び1次スクリーニングで要検査(経過観察の対象)となった患者',\n", " '進行固形がん',\n", " '非小細胞性肺がん',\n", " '進行非小細胞肺がん',\n", " '神経膠腫',\n", " '子宮頸癌\\n胃/胃食道接合部腺癌\\nマイクロサテライト安定性結腸直腸癌\\n非小細胞肺癌\\n頭頸部扁平上皮癌...',\n", " 'がん悪液質、がん治療中に生じる諸症状',\n", " 'がん疼痛',\n", " '多発性骨髄腫',\n", " '標準治療がない、または標準治療に不応もしくは不耐の根治切除不能な進行・再発固形がん患者',\n", " '悪性腫瘍(肺がん等)、炎症性腸疾患、、関節リウマチ、自己免疫疾患',\n", " '多発性骨髄腫、慢性骨髄性白血病',\n", " '進行肺がん',\n", " '消化器がん',\n", " '乳がん',\n", " '大腸がん',\n", " '非小細胞肺がん',\n", " '標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん',\n", " '悪性神経膠腫',\n", " '転移性固形がん\\n再発性固形がん\\n進行性固形がん',\n", " '進行がん',\n", " '膵がん',\n", " '子宮体がん',\n", " '切除可能な非小細胞肺がん',\n", " '卵巣癌・固形がん',\n", " '卵巣がん・卵管癌・腹膜癌',\n", " '頭頸部がん',\n", " '肺がん、食道がん、胃癌等の固形がん',\n", " '子宮内膜癌、頭頸部扁平上皮癌、膵管腺癌、大腸癌、肝細胞癌、食道腺癌/食道胃接合部腺癌/胃腺癌、尿...',\n", " '多発性骨髄腫',\n", " '再発又は難治性の多発性骨髄腫',\n", " '進行固形がん',\n", " 'がん疼痛',\n", " '悪性黒色腫',\n", " '進行NSCLC 及びその他の固形がん',\n", " '扁平上皮非小細胞肺がん',\n", " '非小細胞肺がん',\n", " '進行性又は転移性の固形がん',\n", " '多発性骨髄腫',\n", " '固形がん',\n", " 'CIでM1のないPSMA-PETによるオリゴ転移性前立腺がん(OMPC)',\n", " '非小細胞肺がん\\n食道がん\\n胃がん',\n", " '再発または難治性多発性骨髄腫',\n", " 'MTAP 欠損固形がん患者',\n", " '乳がんに伴う軽度から中等度の抑うつ状態',\n", " '固形がん',\n", " '多発性骨髄腫',\n", " '手術不能かつ既存治療不応の進行・再発固形がん',\n", " '切除不能・再発固形がん',\n", " '早期又は進行/転移性の固形がん',\n", " '潜在的にSEZ6を発現する進行固形がん',\n", " '胃がん疑い及び他疾患で上部消化管内視鏡検査を受ける予定の者',\n", " '再発又は難治性の多発性骨髄腫(RRMM)',\n", " '手術治療を予定する低肺機能合併肺がん患者',\n", " '多発性骨髄腫',\n", " '未治療多発性骨髄腫',\n", " 'がん(胃、大腸、喉頭、乳、子宮、肺、膀胱、悪性リンパ腫)',\n", " 'がん',\n", " '直腸がん',\n", " '乳がん、早期乳がん',\n", " '遠隔転移を有する膵がん',\n", " '進行性又は転移性がん',\n", " '大腸がん検診における大腸内視鏡受診者',\n", " '再発及び難治性の多発性骨髄腫',\n", " '進行性又は転移性の固形がん、進行性又は転移性の食道癌、進行性又は転移性の頭頸部扁平上皮癌',\n", " '黒色腫',\n", " '固形がん(Arm 1)、非小細胞肺癌(Arm 2及びArm 3)',\n", " '胃腺がん, 胃食道接合部(GEJ)腺がん',\n", " '子宮頸がん',\n", " '臨床的に遠隔転移のない膵がん',\n", " '標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん',\n", " '血液がん',\n", " '非小細胞肺がん',\n", " '神経膠腫',\n", " '局所進行又は転移性固形がん',\n", " '多発性骨髄腫',\n", " '多発性骨髄腫',\n", " 'がん化学療法',\n", " 'HER2陰性切除不能・進行再発胃がん',\n", " '膀胱がん\\n転移性腫瘍\\n尿管癌',\n", " '再発・難治性の局所進行性・転移性乳がん及びトリプルネガティブ乳がん',\n", " '乳がん、早期乳がん',\n", " '進行性の切除不能又は転移性MSIhi 又はdMMR固形がん,結腸直腸がん(CRC)',\n", " '多発性骨髄腫',\n", " 'IDH野生型神経膠腫(グレードⅢ)(退形成性星細胞腫)',\n", " 'トリプルネガティブ乳がん',\n", " 'MSI-HまたはdMMRを有する進行大腸がん',\n", " '白血病、悪性リンパ腫、多発性骨髄腫、再生不良性貧血、骨髄異形成症候群',\n", " '多発性骨髄腫',\n", " '低悪性度神経膠腫、膵癌',\n", " '頭頚部がん',\n", " '乳がん',\n", " '固形がん',\n", " '乳がん',\n", " '頭頸部がん',\n", " '進行又は転移性固形がん',\n", " '食道がん、胃がん',\n", " '固形がん',\n", " '再発又は難治性多発性骨髄腫',\n", " 'がん悪液質',\n", " 'がんによる神経障害性疼痛',\n", " '乳がん(非浸潤性乳管癌、浸潤性乳管癌)',\n", " '多発性骨髄腫',\n", " '卵巣がん、子宮内膜がん、子宮頸がん',\n", " '非小細胞肺がん',\n", " '消化器がん',\n", " '用量漸増コホート:固形がん\\n拡大コホート1:結腸・直腸がん\\n拡大コホート2:TMEM180陽性の結腸・直腸...',\n", " '初発の多発性骨髄腫',\n", " '炎症性腸疾患、乾癬、掌蹠膿疱症、悪性腫瘍(悪性黒色腫等)、関節リウマチ、自己免疫疾患',\n", " '頭頸部がんのがん治療に伴う口腔粘膜炎の疼痛 ',\n", " '口腔がん',\n", " '多発性骨髄腫',\n", " 'がん悪液質、がん治療の副作用',\n", " '固形がん',\n", " '進行非小細胞肺がん',\n", " '乳がん',\n", " '良性・悪性乳腺腫瘍、遺伝性乳がん卵巣がん症候群',\n", " '進行非小細胞肺がん\\nEGFR変異\\nHER2変異',\n", " 'がん',\n", " '卵巣がん',\n", " '多発性骨髄腫',\n", " '固形がん',\n", " 'がん',\n", " '高度がん疼痛',\n", " '治癒切除不能または再発の病変を有する下記臓器原発の腫瘍。 ① 消化器(食道、胃、大腸、胆道、膵) ② ...',\n", " '統合失調症(統合失調感情障害を含む)、がん',\n", " 'がん',\n", " '移植後の初発多発性骨髄腫',\n", " '標準治療後の再発悪性神経膠腫',\n", " '食道がん',\n", " '再発又は難治性の多発性骨髄腫であり,承認された添付文書に基づきide-celの投与に適格である成人被験者。',\n", " '小児がんおよびAYAがん患者',\n", " '全てのがん患者',\n", " '非小細胞肺がん',\n", " '膵がん、良性膵疾患、他の消化器領域がん',\n", " '進行がんおよび再発がん患者の抑うつ症状',\n", " 'がん',\n", " '1) 消化器がん(食道がん,胃がん,大腸がん) 2) 心疾患(狭心症,心臓弁膜症) 3) 肺がん\\u30004)\\u3000運動...',\n", " '多発性骨髄腫',\n", " '多発性骨髄腫',\n", " 'BRAF V600E 遺伝子変異陽性大腸がん',\n", " '進行性又は転移性の固形がん',\n", " '固形がん',\n", " '悪性神経膠腫',\n", " '腎細胞がん',\n", " '局所進行又は転移性固形がん',\n", " '転移性又は切除不能の悪性黒色腫, 転移性又は切除不能の肝細胞癌, 転移性又は切除不能の大腸癌',\n", " '乳がん',\n", " '多発性骨髄腫',\n", " 'がん',\n", " '乳がん',\n", " '多発性骨髄腫',\n", " 'MAGE A4陽性かつHLA-A*02:01陽性の切除不能進行・再発を有する固形がん',\n", " '乳がん',\n", " '食道扁平上皮がん',\n", " '再発悪性神経膠腫',\n", " '膵臓がん',\n", " '上皮性卵巣がん(原発性腹膜がん及び卵管がんを含む)',\n", " '【コホートA】BRCA変異陽性の子宮平滑筋肉腫:募集中\\n【コホートB】BRCA変異陰性・HRD陽性の子宮平滑筋...',\n", " '未治療の治癒切除不能な膵がん患者( 遠隔転移例・切除不能局所進行膵がん)を対象とし、術後の再発症例...',\n", " '高齢者進行非小細胞肺がん及び膵がん',\n", " '乳がん',\n", " '多発性骨髄腫',\n", " '進行固形がん',\n", " '尿路上皮がん',\n", " '再発又は難治性の多発性骨髄腫(RRMM)',\n", " '手術不能又は再発PD-L1陽性トリプルネガティブ乳がん',\n", " '乳がん術後リンパ浮腫',\n", " '筋層非浸潤性膀胱がん',\n", " '固形がん及び血液がん(AML, MDS, DLBCL)',\n", " '結腸がん・直腸がん',\n", " '前立腺がん',\n", " '膵がん、胆道がん',\n", " '前立腺がん',\n", " '胃癌、食道がん',\n", " '直腸がん',\n", " '多発性骨髄腫',\n", " '多発性骨髄腫',\n", " '膵がん',\n", " '膵臓がん',\n", " '固形がん',\n", " '頭頸部扁平上皮がん',\n", " '原発性肺がん、転移性肺がん',\n", " '乳がん',\n", " '胆道がん',\n", " '子宮がん',\n", " '非扁平上皮非小細胞肺がん',\n", " '子宮頸がん、子宮体がん、卵巣がん',\n", " '粘膜黒色腫',\n", " '局所進行性又は転移性の頭頚部癌、胃癌、食道癌、非小細胞肺癌、又は悪性黒色腫',\n", " '肝細胞がん',\n", " '汎がん(約20種類の悪性腫瘍)',\n", " '大腸がん',\n", " '悪性リンパ腫,\\u3000固形がん',\n", " '非小細胞肺がん',\n", " '膵臓がん',\n", " '悪性黒色腫',\n", " '肝細胞癌,固形がん,大腸癌,子宮体癌',\n", " '乳がん',\n", " 'WHO (World Health Organization)分類2016のグレードⅢ~Ⅳに分類される悪性神経膠腫',\n", " '進行性悪性黒色腫',\n", " '固形がん',\n", " '再発脊髄悪性神経膠腫',\n", " '胃がん',\n", " '胃がん',\n", " '初発悪性神経膠腫',\n", " '膵がん',\n", " '悪性神経膠腫',\n", " '進行性悪性黒色腫',\n", " '食道胃接合部がん(西の分類)',\n", " '食道がん',\n", " '進行性悪性黒色腫',\n", " '乳がん',\n", " 'ALK遺伝子異常を有する希少がん',\n", " 'Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん',\n", " '下腹部消化器がん ']" ] }, "execution_count": 26, "metadata": {}, "output_type": "execute_result" } ], "source": [ "[result[2] for result in results]" ] }, { "cell_type": "code", "execution_count": 28, "metadata": {}, "outputs": [], "source": [ "targetDf = pd.DataFrame({'JRCT ID':[result[0] for result in results],\n", " 'Target':[result[2] for result in results]})" ] }, { "cell_type": "code", "execution_count": 29, "metadata": {}, "outputs": [], "source": [ "targetDf.to_csv('./20241128Target.csv')" ] }, { "cell_type": "code", "execution_count": 14, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240511\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240506\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240125\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240186\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240477\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240433\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240381\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240141\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050240136\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040240090\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071240060\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240129\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240335\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240121\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061240051\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240313\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061240049\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240297\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240279\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240073\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240277\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240272\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240261\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240248\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240239\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240229\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051240096\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031240220\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041240056\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240210\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1011240022\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021240013\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021240010\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240152\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2052240059\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240153\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061240019\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240137\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240090\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240083\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240029\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240023\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240065\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240063\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240057\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032240033\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240008\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033240023\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240016\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240014\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041240003\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230747\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040230173\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041230169\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230693\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230688\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230682\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011230059\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230660\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230637\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230608\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230606\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021230055\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230577\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032230540\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230532\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230084\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230531\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230529\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230147\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230510\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032230493\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071230097\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs042230112\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071230095\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011230049\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1020230039\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041230106\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2072230089\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230074\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230429\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230410\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032230396\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230108\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230372\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230360\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230356\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230319\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230315\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230311\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033230299\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230249\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230246\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230069\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230234\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230223\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230065\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230130\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230127\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230098\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230090\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230096\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230088\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230087\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2032230060\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230009\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230018\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1070230005\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230009\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230007\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220746\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061220113\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220738\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs052220194\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220157\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220675\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051220176\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220618\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041220125\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220581\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031220569\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032220561\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021220036\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220526\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220102\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220495\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220477\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2063220071\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1011220023\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220421\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220065\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021220022\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051220093\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220311\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220278\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220276\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220240\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220233\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040220043\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220203\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033220220\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041220034\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220126\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051220045\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050220041\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1060220026\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220021\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220060\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051220019\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040220010\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2053220006\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050220005\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220014\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031210706\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051210205\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210687\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210672\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021210075\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210635\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210607\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051210152\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210530\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210499\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210469\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210108\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210426\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210405\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1010210046\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071210084\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210390\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050210104\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071210074\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2043210077\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2052210099\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031210300\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210299\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032210292\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210278\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210264\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041210056\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210053\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061210028\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011210025\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011210020\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210041\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051210043\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021210010\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs042210018\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2043210017\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210072\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041200113\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs062200061\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030200410\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031200384\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031200386\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051200121\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031200320\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033200278\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1041200082\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051200105\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1062200037\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071200060\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs062200029\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052210105\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052200051\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071200026\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031200088\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031200069\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051200028\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080225196\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTc030190263\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1020190017\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031190186\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030190169\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031190126\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031190131\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033190086\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080224780\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031190049\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071190010\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051190009\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051190006\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021180010\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180096\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180095\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180085\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180074\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180170\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1091220410\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180114\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180115\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080224549\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180046\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2091220364\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080223823\n", "Waiting for 30 seconds before the next request...\n", "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1090220224\n", "Waiting for 30 seconds before the next request...\n" ] } ], "source": [ " # jRCT詳細リンクを作成\n", "jrct_links = extract_jrct_links(results)\n", "\n", " # 詳細リンクからデータフレームを作成\n", "df = create_dataframe_from_urls(jrct_links,delay=30)" ] }, { "cell_type": "code", "execution_count": 15, "metadata": {}, "outputs": [], "source": [ "# 整列後の DataFrame を作成\n", "sorted_df = reorder_columns(df)" ] }, { "cell_type": "code", "execution_count": 16, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/var/folders/xj/t9whz9_x5g309fn84ql50wrm0000gn/T/ipykernel_82712/2325933109.py:1: SettingWithCopyWarning: \n", "A value is trying to be set on a copy of a slice from a DataFrame.\n", "Try using .loc[row_indexer,col_indexer] = value instead\n", "\n", "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", " sorted_df['JRCT ID'] = [result[0] for result in results]\n", "/var/folders/xj/t9whz9_x5g309fn84ql50wrm0000gn/T/ipykernel_82712/2325933109.py:2: SettingWithCopyWarning: \n", "A value is trying to be set on a copy of a slice from a DataFrame.\n", "Try using .loc[row_indexer,col_indexer] = value instead\n", "\n", "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", " sorted_df['Title'] = [result[1] for result in results]\n" ] } ], "source": [ "sorted_df['JRCT ID'] = [result[0] for result in results]\n", "sorted_df['Title'] = [result[1] for result in results]" ] }, { "cell_type": "code", "execution_count": 17, "metadata": {}, "outputs": [], "source": [ "new_order = [\"JRCT ID\", \"Title\"] + [col for col in sorted_df.columns if col not in [\"JRCT ID\", \"Title\"]]" ] }, { "cell_type": "code", "execution_count": 18, "metadata": {}, "outputs": [], "source": [ "sorted_df = sorted_df[new_order]" ] }, { "cell_type": "code", "execution_count": 19, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
JRCT IDTitle研究・治験の目的試験の種類無作為化盲検化対照割付け研究目的主たる選択基準...assignmentpurposeInclusion CriteriaExclusion CriteriaAge MinimumAge MaximumGenderDiscontinuation CriteriaKeywordIntervention(s)
0jRCT1032240511進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時...介入研究単一群非盲検非対照単群比較その他1.\\t同意取得日の年齢が18歳以上 である<br>\\r\\n2.\\t一般病棟/緩和ケア病棟に......single assignmentother1. Age 18 years or older on the day of consent...1. There is a skin disorder in the painful are...18age old overNo limitBothNaNFour pads of the alternating magnetic field th...
1jRCT1032240506卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す...介入研究無作為化比較単盲検実薬(治療)対照並行群間比較治療千葉大学医学部附属病院で卵巣がん手術をうける患者...parallel assignmenttreatment purposePatients undergoing ovarian cancer surgery at ...1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie...18age old over100age old notFemaleNaNLow-pressure ventilation and low venous pressu...
2jRCT1042240125Liquid Biopsyによる膵がん早期診断法の開発本研究では、膵がん高危険群である膵のう胞性病変等を対象にサーベイランスプログラムを立ち上げ、...観察研究単一群非盲検非対照単群比較診断①\\t藤田医科大学病院を受診した膵がんハイリスク群と診断される症例<br>\\r\\n具体的には......single assignmentdiagnostic purpose1. Cases diagnosed as high-risk group for panc...1. Post-Pancreatic Surgery Cases\\n\\r\\n2. Cases...20age old overNo limitBothNaN
3jRCT1052240186トリモーダルプレハビリテーションが周術期の睡眠に及ぼす影響の検討:ランダム化比較試験術前の介入により、介入群の方が対照群に比べて入院直後の睡眠効率が良いかどうかを検討すること介入研究無作為化比較非盲検無治療対照/標準治療対照単群比較予防・20歳以上<br>\\r\\n・肺がん患者\\n\\r\\n・胸腔鏡補助下で根治術を受ける患者\\n\\......single assignmentprevention purpose1) Patients aged 20 and over \\n\\r\\n2) Lung can...1) Patients who do not agree \\n\\r\\n2) Patients...20age old overNo limitBothNaNMalignancyIntervention for the Experimental Group:\\n\\r\\n...
4jRCT1030240477プレシジョンオンコロジーを加速するためのスコアリングシステムを開発する研究本研究の目的は、がん遺伝子パネル検査後、国立がん研究センター中央病院を受診した患者のデータを...観察研究その他1) がん遺伝子パネル検査を実施した医師<br>\\r\\n2) 遺伝子異常にマッチした治験目的......other1. Physicians who performed cancer gene panel ...Physicians deemed inappropriate by the Princip...No limitNo limitBothNaNGenotype-matched trial
..................................................................
231jRCT2080224549進行性悪性黒色腫患者を対象としたGEN0101の皮内投与と、ペムブロリズマブ(抗PD-1抗体...NaN介入研究NaNNaNNaNNaNNaNNaN...NaNNaNNaNNaNNaNNaN<p>Both</p>NaNinvestigational material(s)<br>\\nGeneric name ...
232jRCTs051180046造影CT及び造影MRIを用いた乳がんセンチネルリンパ節転移診断による腋窩手術回避に関する研究原発乳がん患者に対して、造影CTとMRIを用いた転移診断により、転移陰性例に腋窩手術を安全に...介入研究単一群非盲検ヒストリカルコントロール単群比較治療1.手術予定の原発T1-2乳がん症例。<br>\\r\\n2.臨床的腋窩リンパ節転移陰性症例。\\......single assignmenttreatment purpose1.T1-2 primary breast cancer\\n\\r\\n2.Clinically...1.Contraindication of contrast agents\\n\\r\\n2.P...18age old overNo limitBothNaNBreast cancerIdentify the sentinel node by contrast-enhance...
233jRCT2091220364ALK遺伝子異常を有する希少がんに対するアレクチニブの医師主導治験NaNNaNNaN非盲検無対照NaNNaN...NaNNaNNaNAge 7Month Week Day Hour overAge Month Week Day Hour No limitBothNaNIntervention type:DRUG\\n\\nName of intervention...
234jRCT2080223823固形がん患者を対象としたE7130 の臨床第1相試験NaN介入研究NaNNaNNaNNaNNaNNaN...NaNNaNNaNNaNNaNNaN<p>Both</p>NaNinvestigational material(s)<br>\\nGeneric name ...
235jRCT1090220224体幹部神経ブロック後のレボブピバカインの血中濃度の変化NaNNaNNaN非盲検無対照NaNNaN...NaNNaNNaN20Age Month Week Day Hour overAge Month Week Day Hour No limitBothNaNIntervention type:\\n\\nName of intervention:\\n\\...
\n", "

236 rows × 32 columns

\n", "
" ], "text/plain": [ " JRCT ID Title \\\n", "0 jRCT1032240511 進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究 \n", "1 jRCT1032240506 卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験 \n", "2 jRCT1042240125 Liquid Biopsyによる膵がん早期診断法の開発 \n", "3 jRCT1052240186 トリモーダルプレハビリテーションが周術期の睡眠に及ぼす影響の検討:ランダム化比較試験 \n", "4 jRCT1030240477 プレシジョンオンコロジーを加速するためのスコアリングシステムを開発する研究 \n", ".. ... ... \n", "231 jRCT2080224549 進行性悪性黒色腫患者を対象としたGEN0101の皮内投与と、ペムブロリズマブ(抗PD-1抗体... \n", "232 jRCTs051180046 造影CT及び造影MRIを用いた乳がんセンチネルリンパ節転移診断による腋窩手術回避に関する研究 \n", "233 jRCT2091220364 ALK遺伝子異常を有する希少がんに対するアレクチニブの医師主導治験 \n", "234 jRCT2080223823 固形がん患者を対象としたE7130 の臨床第1相試験 \n", "235 jRCT1090220224 体幹部神経ブロック後のレボブピバカインの血中濃度の変化 \n", "\n", " 研究・治験の目的 試験の種類 無作為化 盲検化 \\\n", "0 交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時... 介入研究 単一群 非盲検 \n", "1 卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す... 介入研究 無作為化比較 単盲検 \n", "2 本研究では、膵がん高危険群である膵のう胞性病変等を対象にサーベイランスプログラムを立ち上げ、... 観察研究 単一群 非盲検 \n", "3 術前の介入により、介入群の方が対照群に比べて入院直後の睡眠効率が良いかどうかを検討すること 介入研究 無作為化比較 非盲検 \n", "4 本研究の目的は、がん遺伝子パネル検査後、国立がん研究センター中央病院を受診した患者のデータを... 観察研究 \n", ".. ... ... ... ... \n", "231 NaN 介入研究 NaN NaN \n", "232 原発乳がん患者に対して、造影CTとMRIを用いた転移診断により、転移陰性例に腋窩手術を安全に... 介入研究 単一群 非盲検 \n", "233 NaN NaN NaN 非盲検 \n", "234 NaN 介入研究 NaN NaN \n", "235 NaN NaN NaN 非盲検 \n", "\n", " 対照 割付け 研究目的 \\\n", "0 非対照 単群比較 その他 \n", "1 実薬(治療)対照 並行群間比較 治療 \n", "2 非対照 単群比較 診断 \n", "3 無治療対照/標準治療対照 単群比較 予防 \n", "4 その他 \n", ".. ... ... ... \n", "231 NaN NaN NaN \n", "232 ヒストリカルコントロール 単群比較 治療 \n", "233 無対照 NaN \n", "234 NaN NaN NaN \n", "235 無対照 NaN \n", "\n", " 主たる選択基準 ... \\\n", "0 1.\\t同意取得日の年齢が18歳以上 である
\\r\\n2.\\t一般病棟/緩和ケア病棟に... ... \n", "1 千葉大学医学部附属病院で卵巣がん手術をうける患者 ... \n", "2 ①\\t藤田医科大学病院を受診した膵がんハイリスク群と診断される症例
\\r\\n具体的には... ... \n", "3 ・20歳以上
\\r\\n・肺がん患者\\n\\r\\n・胸腔鏡補助下で根治術を受ける患者\\n\\... ... \n", "4 1) がん遺伝子パネル検査を実施した医師
\\r\\n2) 遺伝子異常にマッチした治験目的... ... \n", ".. ... ... \n", "231 NaN ... \n", "232 1.手術予定の原発T1-2乳がん症例。
\\r\\n2.臨床的腋窩リンパ節転移陰性症例。\\... ... \n", "233 NaN ... \n", "234 NaN ... \n", "235 NaN ... \n", "\n", " assignment purpose \\\n", "0 single assignment other \n", "1 parallel assignment treatment purpose \n", "2 single assignment diagnostic purpose \n", "3 single assignment prevention purpose \n", "4 other \n", ".. ... ... \n", "231 NaN NaN \n", "232 single assignment treatment purpose \n", "233 NaN \n", "234 NaN NaN \n", "235 NaN \n", "\n", " Inclusion Criteria \\\n", "0 1. Age 18 years or older on the day of consent... \n", "1 Patients undergoing ovarian cancer surgery at ... \n", "2 1. Cases diagnosed as high-risk group for panc... \n", "3 1) Patients aged 20 and over \\n\\r\\n2) Lung can... \n", "4 1. Physicians who performed cancer gene panel ... \n", ".. ... \n", "231 NaN \n", "232 1.T1-2 primary breast cancer\\n\\r\\n2.Clinically... \n", "233 NaN \n", "234 NaN \n", "235 NaN \n", "\n", " Exclusion Criteria \\\n", "0 1. There is a skin disorder in the painful are... \n", "1 1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie... \n", "2 1. Post-Pancreatic Surgery Cases\\n\\r\\n2. Cases... \n", "3 1) Patients who do not agree \\n\\r\\n2) Patients... \n", "4 Physicians deemed inappropriate by the Princip... \n", ".. ... \n", "231 NaN \n", "232 1.Contraindication of contrast agents\\n\\r\\n2.P... \n", "233 NaN \n", "234 NaN \n", "235 NaN \n", "\n", " Age Minimum Age Maximum \\\n", "0 18age old over No limit \n", "1 18age old over 100age old not \n", "2 20age old over No limit \n", "3 20age old over No limit \n", "4 No limit No limit \n", ".. ... ... \n", "231 NaN NaN \n", "232 18age old over No limit \n", "233 Age 7Month Week Day Hour over Age Month Week Day Hour No limit \n", "234 NaN NaN \n", "235 20Age Month Week Day Hour over Age Month Week Day Hour No limit \n", "\n", " Gender Discontinuation Criteria Keyword \\\n", "0 Both NaN \n", "1 Female NaN \n", "2 Both NaN \n", "3 Both NaN Malignancy \n", "4 Both NaN Genotype-matched trial \n", ".. ... ... ... \n", "231

Both

NaN \n", "232 Both NaN Breast cancer \n", "233 Both NaN \n", "234

Both

NaN \n", "235 Both NaN \n", "\n", " Intervention(s) \n", "0 Four pads of the alternating magnetic field th... \n", "1 Low-pressure ventilation and low venous pressu... \n", "2 \n", "3 Intervention for the Experimental Group:\\n\\r\\n... \n", "4 \n", ".. ... \n", "231 investigational material(s)
\\nGeneric name ... \n", "232 Identify the sentinel node by contrast-enhance... \n", "233 Intervention type:DRUG\\n\\nName of intervention... \n", "234 investigational material(s)
\\nGeneric name ... \n", "235 Intervention type:\\n\\nName of intervention:\\n\\... \n", "\n", "[236 rows x 32 columns]" ] }, "execution_count": 19, "metadata": {}, "output_type": "execute_result" } ], "source": [ "sorted_df" ] }, { "cell_type": "code", "execution_count": 21, "metadata": {}, "outputs": [], "source": [ "sorted_df.to_csv('../JRCT20241128Cancer.csv')" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "gradio", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.3" } }, "nbformat": 4, "nbformat_minor": 2 }