<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "http://dtd.nlm.nih.gov/publishing/2.0/journalpublishing.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="2.0">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JMIR</journal-id>
      <journal-id journal-id-type="nlm-ta">J Med Internet Res</journal-id>
      <journal-title>Journal of Medical Internet Research</journal-title>
      <issn pub-type="epub">1438-8871</issn>
      <publisher>
        <publisher-name>JMIR Publications</publisher-name>
        <publisher-loc>Toronto, Canada</publisher-loc>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="publisher-id">v28i1e91103</article-id>
      <article-id pub-id-type="pmid">42320033</article-id>
      <article-id pub-id-type="doi">10.2196/91103</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Original Paper</subject>
        </subj-group>
        <subj-group subj-group-type="article-type">
          <subject>Original Paper</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Methods for Detecting Suspicious Information From Individual Transactions of Pharmaceutical Products via Twitter (now X): Retrospective Observational Study</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Schwartz</surname>
            <given-names>Amy</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Patel</surname>
            <given-names>Birjukumar</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author">
          <name name-style="western">
            <surname>Zhang</surname>
            <given-names>Ruoyu</given-names>
          </name>
          <degrees>MSc</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0009-0009-6877-7004</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author">
          <name name-style="western">
            <surname>Kimura</surname>
            <given-names>Kazuko</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-3582-9882</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Yoshida</surname>
            <given-names>Naoko</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <xref rid="aff3" ref-type="aff">3</xref>
          <address>
            <institution/>
            <institution>Okayama University</institution>
            <addr-line>1-1-1 Tsushima-naka, Kita-ku</addr-line>
            <addr-line>Okayama, Okayama, 700-8530</addr-line>
            <country>Japan</country>
            <phone>81 86 251 7949</phone>
            <email>naoko.yoshida@okayama-u.ac.jp</email>
          </address>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-5359-0225</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>Kanazawa University</institution>
        <addr-line>Kanazawa, Ishikawa</addr-line>
        <country>Japan</country>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <institution>Society for Medicines Security Research</institution>
        <addr-line>Kanazawa, Ishikawa</addr-line>
        <country>Japan</country>
      </aff>
      <aff id="aff3">
        <label>3</label>
        <institution>Okayama University</institution>
        <addr-line>Okayama, Okayama</addr-line>
        <country>Japan</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: Naoko Yoshida <email>naoko.yoshida@okayama-u.ac.jp</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>19</day>
        <month>6</month>
        <year>2026</year>
      </pub-date>
      <volume>28</volume>
      <elocation-id>e91103</elocation-id>
      <history>
        <date date-type="received">
          <day>9</day>
          <month>1</month>
          <year>2026</year>
        </date>
        <date date-type="rev-request">
          <day>12</day>
          <month>2</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>28</day>
          <month>5</month>
          <year>2026</year>
        </date>
      </history>
      <copyright-statement>©Ruoyu Zhang, Kazuko Kimura, Naoko Yoshida. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 19.06.2026.</copyright-statement>
      <copyright-year>2026</copyright-year>
      <license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/">
        <p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research (ISSN 1438-8871), is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="https://www.jmir.org/2026/1/e91103" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>Individual transactions involving pharmaceutical products via social networking service (SNS) are considered an inappropriate distribution route and may serve as a guise for illicit business-to-consumer activities. In Japan, individual transactions of pharmaceutical products via the internet are recognized as inappropriate distribution routes, which not only lead to the inappropriate use of pharmaceutical products but also require more active monitoring and guidance from the viewpoint of pharmaceutical security and quality assurance.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>This study aimed to develop a method to accurately detect SNS tweets suspected of involving individual transactions of pharmaceutical products, using text data from Twitter (subsequently rebranded as X), the primary platform for such activities in Japan.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>We applied text mining to 1389 text tweets suspected of involving individual pharmaceutical transactions. Using the hashtag “#Okusuri mogumogu,” which was identified through manual searching and is commonly associated with trading psychotropic pharmaceuticals, we collected 7499 tweets posted in 2022 and 6461 tweets posted from January 1 to March 31, 2023, using our web crawler program. After manually categorizing whether each tweet was related to individual pharmaceutical transactions, we extracted words and summarized their occurrences and frequencies using the 2022 dataset. A decision tree model was then generated using the 2022 dataset and validated using the 2023 dataset to evaluate the reliability of detecting transaction-related tweets.</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>Using web crawling, the number of tweets identified using the hashtag “#Okusuri mogumogu” was 7499 in 2022 and 6461 in the first 3 months of 2023. The crawling results also showed that the number of detectable tweets increased closer to the crawl date, suggesting that SNS tweets may frequently be deleted. From 3228 extracted words in the 2022 dataset, 452 were significantly associated with tweets suspected of involving individual transactions. Highly indicative terms included “kyuu” (request), “yuzuri” (transfer), “DM” (direct message), and transaction-related hashtags. The chi-square automatic interaction detection model demonstrated stable discriminative performance (area under the receiver operating characteristic curve values: training 0.83 and 0.84; Gini coefficient: training 0.65 and test 0.68). The overall accuracy using the 2023 validation dataset was 82.31%, indicating reasonable generalizability despite linguistic fragmentation and the presence of partial word forms characteristic of Japanese text.</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>Using transaction-related tags, text mining, and machine learning, we identified key terms linked to individual pharmaceutical transactions and developed a predictive model. This approach may aid in preventing inappropriate online transactions of pharmaceutical products.</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>online pharmaceuticals</kwd>
        <kwd>social networking services</kwd>
        <kwd>text mining</kwd>
        <kwd>machine learning</kwd>
        <kwd>decision-tree analysis</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <p>Social media platforms, or social networking services (SNSs), are a medium for communicating with others through the internet and are widely used daily. The number of social media users worldwide is projected to increase from 4.59 billion in 2022 to 6.03 billion in 2028, and the number of social media users in Japan is projected to increase from 102 million in 2022 to 113 million in 2027 [<xref ref-type="bibr" rid="ref1">1</xref>]. Among the SNS platforms most widely used in Japan, the third most popular is Twitter (subsequently rebranded as X), with 66.58 million users [<xref ref-type="bibr" rid="ref2">2</xref>].</p>
      <p>SNS platforms can be used to send out information about oneself, obtain the latest or important information, and even purchase or obtain certain items. In recent years, pharmaceutical E-commerce platforms and online pharmacies have increased, new formats have emerged, and online sales of medicines have become increasingly dynamic. This means that there has been a gradual transfer of people’s acquisition of medicines from offline to online. Especially during the COVID-19 pandemic, some situations worldwide make it difficult to go to a health care facility in person to obtain long-term medicines, which has led to a rapid growth in online sales of medicines [<xref ref-type="bibr" rid="ref3">3</xref>-<xref ref-type="bibr" rid="ref5">5</xref>].</p>
      <p>However, not all patients have access to medicines on the internet through formal sources. In addition to some countries and regions lacking relevant laws and regulations that lead to the unregulated purchase of pharmaceuticals [<xref ref-type="bibr" rid="ref5">5</xref>], some people access online pharmaceutical products for improper purposes, such as overdosing. Some buyers wish to purchase medicines anonymously, deliberately avoiding formal sources of pharmaceutical products. Fraudulent sellers can take advantage of these situations. Because of its convenience, there is an overabundance of information on the internet that makes improper individual transactions difficult to regulate, and social networking sites have become a breeding ground for some inappropriate transactions. Although common sense should preclude engaging in illegal activities, some individuals prioritize profit and engage in activities that violate the law. There may also be cases where individuals violate the law without knowing that they are doing so. One such case is the unauthorized sale of pharmaceutical products, and we have confirmed that some psychotropic medications are being bought and sold on SNS platforms [<xref ref-type="bibr" rid="ref6">6</xref>,<xref ref-type="bibr" rid="ref7">7</xref>]. Such individual transactions represent inappropriate distribution channels that may conceal business-to-consumer activities and pose public health risks.</p>
      <p>In Japan, the sale of pharmaceutical products is regulated under the Pharmaceutical and Medical Device Act, which requires appropriate licensing for distribution. Unauthorized sales via SNS sites therefore constitute regulatory violations and present ongoing challenges for pharmaceutical governance and quality assurance.</p>
      <p>To address these regulatory challenges, regulatory authorities and platform operators often rely on manual surveillance, keyword-based searches, and user reporting systems to identify suspicious content. In academic research, automated detection methods based on natural language processing and machine learning have been increasingly applied to social media data to identify drug abuse–related discussions, counterfeit drug promotion, and illicit online pharmacy advertisements. Recent studies have further developed machine learning and deep learning–based frameworks for automated detection of relevant content on social media platforms, demonstrating the feasibility and improved performance of such approaches for analyzing health-related discussions and harms using large-scale social media datasets [<xref ref-type="bibr" rid="ref6">6</xref>,<xref ref-type="bibr" rid="ref7">7</xref>]. However, the focus of these studies has not been on individual-to-individual transactions of legally approved pharmaceutical products. A recent review also summarized applications, challenges, and methodological trends in pharmacovigilance using social media data [<xref ref-type="bibr" rid="ref8">8</xref>].</p>
      <p>Despite these advances, relatively limited research has specifically focused on unauthorized peer-to-peer transactions of legally manufactured pharmaceutical products within regulated markets such as Japan, representing an important research gap. Among past studies, several limitations remain. First, keyword-based monitoring is prone to both false positives and false negatives because users frequently use abbreviations, euphemisms, or coded language when referring to pharmaceutical products [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref10">10</xref>]. Second, previous studies have primarily focused on detecting discussions of drug misuse or illegal online pharmacy advertising; systematic investigation of individual-to-individual pharmaceutical transactions on SNS platforms is scarce. Furthermore, the generalizability and operational feasibility of these models for routine regulatory monitoring have not always been sufficiently evaluated.</p>
      <p>To help strengthen the monitoring of pharmaceutical transactions subject to control to help prevent health hazards to the public, we aimed to develop a method for accurately detecting SNS tweets that are suspected of involving individual transactions for pharmaceutical products using text data from X, the main SNS platform used for these transactions in Japan. In recent years, web crawling and text mining techniques have been increasingly applied to social media data to detect illegal or inappropriate activities. Web crawling is a method in which a web crawler program follows links on the internet to visit websites and duplicate and store information on web pages. This method is used in various fields to collect and use information that appears online. If the web crawler is archiving websites, it copies and saves information as it goes. The archives are usually stored in such a way that they can be viewed, read, and navigated as if they were live on the web, but they are preserved as “snapshots” [<xref ref-type="bibr" rid="ref11">11</xref>]. Text mining, text data mining, or text analytics is the process of deriving high-quality information from text [<xref ref-type="bibr" rid="ref12">12</xref>]. Additionally, the chi-square test is used in the analysis of contingency tables when the sample size is large. In simpler terms, this test is primarily used to examine whether two categorical variables (two dimensions of the contingency table) independently influence the test statistic (values within the table) [<xref ref-type="bibr" rid="ref13">13</xref>]. As the amount of health care megadata continues to grow, increasingly more researchers are using machine learning, which is capable of extracting important and relevant information hidden within massive amounts of data and making useful predictions based on this information [<xref ref-type="bibr" rid="ref14">14</xref>-<xref ref-type="bibr" rid="ref19">19</xref>]. A decision tree is a machine learning technique that identifies clusters of data in which certain features often appear and that generates classification rules for these clusters. In the present study, for holdout validation, all data were randomly divided into training data and test data to evaluate the generalization performance of the model. The analysis method used was chi-square automatic interaction detection (CHAID), which is a type of decision tree analysis used to build a decision tree model based on the chi-square test and <italic>F</italic> test. In the field of pharmacy, decision trees can be used to identify and predict adverse drug reactions [<xref ref-type="bibr" rid="ref20">20</xref>], medication adherence [<xref ref-type="bibr" rid="ref21">21</xref>], drug abuse [<xref ref-type="bibr" rid="ref22">22</xref>], and pharmacy services [<xref ref-type="bibr" rid="ref23">23</xref>], among others.</p>
      <p>Building upon these analytical frameworks, in this study, we aimed to develop a surveillance method for accurately detecting SNS tweets suspected of involving individual pharmaceutical transactions using text data from Twitter.</p>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Web Crawling and Data Defined</title>
        <p>This study was conducted after receiving approval for academic research access to the Twitter application programming interface (API; admission date: November 29, 2022). The keywords used in our search included the hashtag “#Okusuri mogumogu,” which is often used for trading in psychotropic pharmaceuticals. We analyzed tweets during 2012-2022 related to the trading of pharmaceuticals between individuals and, through manual searching, identified the hashtag “#Okusuri mogumogu” as a keyword for data collection. We developed a web crawler program (IBM Japan, Tokyo, Japan) for this study and collected information on tweets made and not deleted between January 1, 2022, at 0:00 AM JST and March 31, 2023, at 23:59 PM JST. Tweet data collected via web crawling on Twitter were divided into 2 datasets, one in 2022 and a second in 2023. Each tweet was manually reviewed and classified according to its content and account characteristics to determine whether it was suspected of involving an individual pharmaceutical transaction. The manual classification was based on predefined rule-based criteria developed prior to analysis to ensure systematic and reproducible identification of suspicious tweets. Given the contextual and evolving nature of language used in online pharmaceutical transactions, classification required interpretative assessment beyond the presence of isolated keywords. Accordingly, classification was conducted using a structured framework incorporating multiple indicators of transactional intent. These indicators included: (1) the presence of transaction- related expressions commonly used in Japanese SNS contexts, such as “seeking” (求), indicating a request to obtain pharmaceuticals, or “offering” (譲), indicating willingness to provide these; (2) the mention of pharmaceutical-related terms, including formal drug names, abbreviations, slang expressions, emojis, or drug-related images; (3) indications of contact transfer, such as requests to move to direct messaging or other external platforms; and (4) account-level characteristics suggesting repeated similar tweets or explicit transactional intent in the profile description. The predefined indicators served as structured guidance for classification; however, final determinations were made based on a holistic evaluation of the tweet content and contextual account information rather than reliance on any single indicator. The classification procedure is illustrated schematically in <xref rid="figure1" ref-type="fig">Figure 1</xref>.</p>
        <p>In accordance with the annotation framework illustrated in <xref rid="figure1" ref-type="fig">Figure 1</xref>, 2 reviewers (NY and KK) with expertise in pharmaceutical regulation independently conducted an initial pilot annotation using a randomly selected subset of tweets to refine the classification criteria and ensure consistent interpretation. Interreviewer agreement was assessed to confirm sufficient consistency prior to full-scale annotation. After the agreement was deemed acceptable, the remaining tweets were annotated by one reviewer (ZR) based on the finalized criteria. Ambiguous cases were discussed as needed to maintain consistency. The manually assigned classification (1=suspected transaction; 0=non-transactional) was included in the dataset. Additionally, statistically significant keywords identified in prior text mining analysis were coded as binary variables, indicating the presence “1” or absence “0” of each keyword within a tweet.</p>
        <p>All data collection procedures were conducted under approved academic API access, and the study protocol received ethics committee approval, as described below.</p>
        <fig id="figure1" position="float">
          <label>Figure 1</label>
          <caption>
            <p>Structured decision framework for manual classification of tweets suspected of involving pharmaceutical transaction tweets.</p>
          </caption>
          <graphic xlink:href="jmir_v28i1e91103_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Keyword Extraction: Text Mining</title>
        <p>Individual word cloud extraction was performed using MATLAB Text Analytics Toolbox (MathWorks Inc). We did not include words appearing fewer than four times so as to eliminate words with a low frequency. This process allowed us to obtain all words in the collected tweets that could be related to individual pharmaceutical transactions, as well as the number of occurrences of each word.</p>
        <p>In the course of our investigation, we noted that a number of terms used in SNS tweets (including words that could not be successfully extracted but that appeared in the text of tweets) were created in response to searches by SNS officials like those from Twitter as well as relevant monitoring services, conducted to determine whether users are engaged in individual transactions that may be in violation of the law, such as using emojis or Kanji characters to represent pharmaceutical products being sold. In fact, our text mining program successfully extracted emojis that were used to refer to pharmaceutical products being bought or sold, or words used in these transactions after processing the emojis in a way that allowed them to be recognized.</p>
      </sec>
      <sec>
        <title>Analysis: Word Feature Extraction</title>
        <p>To obtain more definitive information on keywords suspected of being related to individual pharmaceutical transactions, an appropriate analysis method is needed. We therefore used our two datasets to conduct the following analyses.</p>
      </sec>
      <sec>
        <title>Statistical Analysis</title>
        <p>In this research, we used SPSS (version 19.0.0; SPSS Inc) to statistically analyze associations between the frequencies of each word and tweets suspected of involving individual pharmaceutical transactions. We considered <italic>P</italic> values of &#60;.05 to indicate statistically significant probability. To account for multiple comparisons across all tested words, the Benjamini-Hochberg false discovery rate correction was applied. Only words with <italic>P</italic> values of &#60;.01 after this correction are presented in Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p>
      </sec>
      <sec>
        <title>Feature Prediction: Machine Learning</title>
        <p>To extract feature words as well, we used the decision tree approach to extract keywords that have correlations with individual transactions involving pharmaceutical products to help guide future surveillance efforts. Decision tree analysis was performed using data mining software (IBM SPSS Modeler version 18.3; IBM Japan). All word-level binary variables derived from the 2022 dataset were entered into the CHAID algorithm without prior manual feature selection. Variable selection occurred internally during tree construction based on chi-square–based node splitting.</p>
        <p>In this study, the 2022 dataset was randomly partitioned prior to model construction. For internal evaluation, training:test ratios of 7:3 and training:test:validation ratios of 6:2:2 were applied to assess model stability and performance. Tweets were assigned to partitions without overlap. The final ensemble model, comprising 10 component CHAID trees, was trained exclusively on the 2022 dataset. To prevent overfitting, the maximum tree depth was limited to five levels, and the minimum number of cases required for parent and child nodes was set to 2% and 1% of the total sample size, respectively. Tree growth was terminated when no further statistically significant splits were identified, using a significance level of 0.05 with Bonferroni adjustment. Predictions from the ensemble were generated by aggregating the outputs of the individual component models.</p>
        <p>Model validation was then performed using a temporally independent dataset from 2023. Tweets were assigned to datasets strictly based on the posting date to ensure no overlap with the training data. The 2023 dataset was not involved in feature selection, parameter tuning, model training, or ensemble optimization, and was reserved solely for post hoc evaluation. This approach ensured that the validation process was independent and that information from the training set could not influence the assessment of model performance.</p>
      </sec>
      <sec>
        <title>Ethical Considerations</title>
        <p>This study was conducted using publicly available social media data collected via academic access to the Twitter API, which was formally approved for academic research (approval date: November 29, 2022). The study protocol was reviewed and approved by the Medical Ethics Committee of Kanazawa University (approval number 2025-466 115205). All analyses were performed using publicly available data, and no attempts were made to identify individual users. The study adhered to Twitter’s terms of service and API usage policies. Ethical considerations related to surveillance monitoring and data privacy were incorporated throughout the research process.</p>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Web Crawling and Data Defined</title>
        <p>We conducted a manual search of the 2 datasets using the keywords anabolic steroids, testosterone, oxymetholone, and methandienone [<xref ref-type="bibr" rid="ref9">9</xref>]. We did not find any tweets on Twitter related to individual transactions for these pharmaceuticals. Therefore, we examined whether tweets involving these types of transactions used specific pharmaceutical product names (including commercial product names); we found it important to target certain keywords to detect correlated tweets. The number of tweets identified using the hashtag “#Okusuri mogumogu” in the year 2022 was 7499; this number in the first 3 months of 2023 was 6461. Analysis showed that the number of tweets that could be identified, as well as tweets identified that were related to individual transactions, both tended to increase closer to the time of our data collection (<xref rid="figure2" ref-type="fig">Figure 2</xref>).</p>
        <p>We found that the closer our search was to the web crawler run date, the more tweets were identified, suggesting that it may be difficult to collect information from SNS tweets because these can be deleted at any time.</p>
        <fig id="figure2" position="float">
          <label>Figure 2</label>
          <caption>
            <p>Monthly total of tweets. X-axis represents month/year, and Y-axis represents the number of tweets.</p>
          </caption>
          <graphic xlink:href="jmir_v28i1e91103_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Separation of Transactions and Word Counts</title>
        <p>We defined each tweet according to whether its content was suspected of being related to individual transactions involving pharmaceuticals. In 2023, 1625 (25.15%) tweets were classified as suspected individual transaction tweets, and 4836 (74.85%) tweets were not related to individual transactions. The total number of words extracted from the collected tweets was 3228 in 2022 and 2866 in 2023. A cross-tabulation of the 3228 words extracted from 2022 tweets revealed 452 words that were significantly associated with the presence or absence of individual transactions involving pharmaceutical products in each tweet, as well as the occurrence of each word (<xref ref-type="table" rid="table1">Table 1</xref>).</p>
        <p>Black squares are accounts and information that cannot be disclosed.</p>
        <p>In the translation process, we used Hiragana, Katakana, Kanji, and English case correspondences. Because all three expressions are recognized as different characters in Japanese and therefore recognized as different keywords by the text mining program used, the same word appears several times in the table, for case differentiation only.</p>
        <p>Kanji characters are uppercase first, Katakana characters are all uppercase, Hiragana characters are lowercase, and English characters are extracted as is.</p>
        <p>Each word was ranked according to the proportion of tweets in which it was used in relation to such individual transactions. The most frequently appearing term in tweets potentially related to individual pharmaceutical transactions was #1 “kyuu” (the word for “request” in Japanese), and 81 of 83 (97.59%) tweets in which “kyuu” was used were related to individual transactions for pharmaceutical products. The second most common word was #2 “yuzuri” (the word for “give” or “transfer” in Japanese). Of 103 tweets in which this word was used, 100 (97.09%) were related to individual transactions for pharmaceutical products. The next most frequently extracted words were: #3 “pushcart,” #4 receive,” #5 “profile,” #6 “yuzutt” (like “givin” in English), #7 “list,” #8 “customary,” #9 “enlightenment,” and #10 “requestion,” all of which were closely related to pharmaceutical transactions. The hashtag “#Okusuri mogumogu” was ranked 293rd by our web crawler. Of the total 6682 tweets in which this word was used, 1641 (24.56%) tweets involved individual transactions for pharmaceuticals.</p>
        <table-wrap position="float" id="table1">
          <label>Table 1</label>
          <caption>
            <p>Top 10 rankings of extracted and statistically significant words from the 2022 collected tweets list.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="150"/>
            <col width="250"/>
            <col width="200"/>
            <col width="200"/>
            <col width="200"/>
            <thead>
              <tr valign="top">
                <td>Ranking numbers</td>
                <td>Extracted words (Japanese)</td>
                <td>Total number of tweets in which the word appears (α)<sup>a</sup></td>
                <td>Total number of tweets in which the word appears among tweets with suspected transactions (β)</td>
                <td>Percentage of β/α</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>1</td>
                <td>Kyuu (求)</td>
                <td>83</td>
                <td>81</td>
                <td>97.59%</td>
              </tr>
              <tr valign="top">
                <td>2</td>
                <td>Yuzuri (譲り)</td>
                <td>103</td>
                <td>100</td>
                <td>97.09%</td>
              </tr>
              <tr valign="top">
                <td>3</td>
                <td>Pushcart (取引)</td>
                <td>28</td>
                <td>27</td>
                <td>96.43%</td>
              </tr>
              <tr valign="top">
                <td>4</td>
                <td>receive (頂ける)</td>
                <td>25</td>
                <td>24</td>
                <td>96%</td>
              </tr>
              <tr valign="top">
                <td>5</td>
                <td>profile (プロファイル)</td>
                <td>23</td>
                <td>22</td>
                <td>95.65%</td>
              </tr>
              <tr valign="top">
                <td>6</td>
                <td>yuzutt (譲っ)</td>
                <td>131</td>
                <td>125</td>
                <td>95.42%</td>
              </tr>
              <tr valign="top">
                <td>7</td>
                <td>List (リスト)</td>
                <td>42</td>
                <td>40</td>
                <td>95.24%</td>
              </tr>
              <tr valign="top">
                <td>8</td>
                <td>customary (恒例)</td>
                <td>21</td>
                <td>20</td>
                <td>95.24%</td>
              </tr>
              <tr valign="top">
                <td>9</td>
                <td>enlightenment (啓蒙)</td>
                <td>20</td>
                <td>19</td>
                <td>95%</td>
              </tr>
              <tr valign="top">
                <td>10</td>
                <td>requestion (依頼)</td>
                <td>19</td>
                <td>18</td>
                <td>94.74%</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table1fn1">
              <p><sup>a</sup>Total of 452 words, sorted according to the total number of tweets in which the word appears among tweets with suspected transactions=β/ Total number of tweets in which the word appears =α, in descending order; <italic>P</italic>&#60;.01 for all words.</p>
            </fn>
            <fn id="table1fn2">
              <p>We have added the split English words where the Japanese characters are split, and we have added the original words that may have been split in the (*) sections as an annotation reference.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
      </sec>
      <sec>
        <title>Classification and Forecasting Models: Word Extraction</title>
        <p>All 7499 tweets in 2022 were manually classified as suspected of being individual transactions involving pharmaceutical products, or “1” (n=1709), or not suspected of being individual transactions involving pharmaceutical products, or “0” (n=5790), as the objective variables. The ratio of training: testing data were adjusted to create a CHAID-based model to predict and classify tweets. As a result, word combinations that characterized tweets related to individual transactions in pharmaceuticals were extracted.</p>
        <p>In the testing stage, we found that using ratios of 7:3 and 6:2:2 each for results involving correct and incorrect model decisions and evaluations were not very different, and the 7:3 model was observed to be cleaner. Therefore, considering that there was not much content in the data, using the part that was divided out for verification was not as effective as using this part for learning and testing. Eventually, we chose the 7:3 ratio to develop the model. The following terms were extracted as predictor variables, in order of importance: “KUSURI” (drugs in Japanese; can also be extracted from Okusuri mogumogu), “DM” (direct message), “#Menhera Girl,” “RT” (retweet), “#YAMIAKASANTOTSUNAGARITAI” (*I Want To Connect With Sick Account Users in Japanese), “Mental,” “#Okusuri moguru,” and “Link” (<xref rid="figure3" ref-type="fig">Figure 3</xref>).</p>
        <p>The term “DM” was extracted in the first level of the tree as one of the words characteristically used in tweets related to individual transactions for pharmaceutical products (<xref rid="figure3" ref-type="fig">Figure 3</xref>). We noted a pattern in the characteristics of words used in tweets suspected of being pharmaceutical transactions: inclusion of the term “DM” had a significantly higher rate of involving individual transactions for pharmaceutical products (1208/5231, 23.10%; <italic>P</italic>&#60;.001, chi-square test). This was denoted as “1” according to our definition for such tweets (as opposed to “0,” meaning not involving individual transactions for pharmaceutical products). The accuracy of the model was checked; the accuracy rate was 80.41% for the training data and 82.32% for the test data, with 4206 correctly categorized tweets and 1025 miscategorized tweets (19.59%). As for test data, the model reached an accuracy rate of 82.32% with 1867 correctly categorized tweets and 401 miss tweets (17.68%).</p>
        <p>The generalization performance of the model was evaluated as follows: the area under the receiver operating characteristic (ROC) curve (AUC) was 0.83 for the training data and 0.84 for the test data. The Gini coefficient for purity of value was 0.65 for the training data and 0.68 for the test data, showing a good performance (<xref rid="figure4" ref-type="fig">Figure 4</xref>).</p>
        <p>The ROC curve of the created model was generated using the 2022 dataset.</p>
        <p>The AUC, which was used as the evaluation index of the model, was close to 1, indicating that the predictive model discriminated accurately. This model is considered useful for discriminating tweets involving individual pharmaceutical transactions.</p>
        <fig id="figure3" position="float">
          <label>Figure 3</label>
          <caption>
            <p>Decision tree model generated from the collection of submissions for the year 2022 (training:testing=7:3)
(0): tweets and the percentage in which the word appears in tweets not related to transactions
(1): number and percentage of tweets in which the word appears among tweets with suspected transactions.</p>
          </caption>
          <graphic xlink:href="jmir_v28i1e91103_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure4" position="float">
          <label>Figure 4</label>
          <caption>
            <p>Receiver operating characteristic curve of the created model using the 2022 dataset (7499 cases). Blue line: ROC curve created using the model. FPR: false positive rate; TPR: true positive rate.</p>
          </caption>
          <graphic xlink:href="jmir_v28i1e91103_fig4.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Evaluating the Model’s Discriminative Ability</title>
        <p>To confirm that the developed model was able to correctly distinguish tweets that may involve individual pharmaceutical product transactions, we used the 2023 dataset to validate the prediction model. The final ensemble model was trained exclusively on the 2022 dataset and was directly applied to the 2023 dataset without retraining, recalibration, or parameter modification. A confusion matrix was constructed using manual annotations of the 2023 dataset as the reference standard (<xref ref-type="table" rid="table2">Table 2</xref>).</p>
        <p>Among 6461 tweets, the model identified 640 true positives and 4678 true negatives, with 158 false positives and 985 false negatives. The overall accuracy was 82.31%. Sensitivity was 39.4%, specificity was 96.73%, the positive predictive value was 80.20%, and the negative predictive value was 82.61%. The relatively high specificity indicates that the model effectively identified tweets not related to individual pharmaceutical transactions, whereas the lower sensitivity suggests that some transaction-related tweets were not detected.</p>
        <p>The model trained on 2022 data was validated using temporally independent 2023 data. The AUC was 0.83 and the Gini coefficient was 0.65, indicating stable discriminative ability. <xref rid="figure5" ref-type="fig">Figure 5</xref> shows the ROC curve for this temporal validation.</p>
        <table-wrap position="float" id="table2">
          <label>Table 2</label>
          <caption>
            <p>Confusion matrix for model performance on the temporally independent 2023 dataset.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="310"/>
            <col width="240"/>
            <col width="310"/>
            <col width="140"/>
            <thead>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Predicted suspicious</td>
                <td>Predicted nonsuspicious</td>
                <td>Total</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Manual suspicious</td>
                <td>640</td>
                <td>985</td>
                <td>1625</td>
              </tr>
              <tr valign="top">
                <td>Manual nonsuspicious</td>
                <td>158</td>
                <td>4678</td>
                <td>4836</td>
              </tr>
              <tr valign="top">
                <td>Total</td>
                <td>798</td>
                <td>5663</td>
                <td>6461</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <fig id="figure5" position="float">
          <label>Figure 5</label>
          <caption>
            <p>Receiver operating characteristic curve for temporal validation using the 2023 dataset. FPR: false positive rate; TPR: true positive rate.</p>
          </caption>
          <graphic xlink:href="jmir_v28i1e91103_fig5.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Overview</title>
        <p>This study demonstrated the feasibility and effectiveness of using machine learning to detect potential individual pharmaceutical transactions on social media. We successfully extracted and ranked keywords appearing frequently in transaction-related tweets and developed a CHAID decision-tree classifier that achieved high accuracy.</p>
      </sec>
      <sec>
        <title>Principal Findings and Keyword Extraction</title>
        <p>As a widely used platform for individual pharmaceutical transactions, searches using transaction-related terms always retrieve a large amount of potentially relevant tweets in Twitter, making it difficult to accurately extract associated keywords [<xref ref-type="bibr" rid="ref25">25</xref>,<xref ref-type="bibr" rid="ref26">26</xref>]. By leveraging machine learning techniques, we successfully extracted representative keywords from large-scale data to characterize tweets potentially related to individual pharmaceutical transactions. Past studies [<xref ref-type="bibr" rid="ref27">27</xref>,<xref ref-type="bibr" rid="ref28">28</xref>] have relied on manual searches and statistical analysis conducted within limited time frames to determine whether content was associated with such activities on Japanese social media platforms [<xref ref-type="bibr" rid="ref10">10</xref>]. Additionally, one previous study summarized different approaches for social media data collection and sampling [<xref ref-type="bibr" rid="ref26">26</xref>], such as the development of automated collection and coding platforms [<xref ref-type="bibr" rid="ref29">29</xref>] and random sampling [<xref ref-type="bibr" rid="ref30">30</xref>]. However, these approaches often require substantial human resources. Moreover, manual sampling always has a limited duration and scalability of surveillance, and random sampling is limited in terms of general applicability [<xref ref-type="bibr" rid="ref25">25</xref>,<xref ref-type="bibr" rid="ref27">27</xref>,<xref ref-type="bibr" rid="ref30">30</xref>]. Consequently, when the volume of content to be investigated is large, manual searches may be too slow and may fail to capture such activities, because transaction-related tweets can quickly disappear owing to deletion, depletion of available stock, or platform policies. We also found that the closer our search was to the web crawler run date, the more tweets were identified (<xref rid="figure2" ref-type="fig">Figure 2</xref>), suggesting that it may be difficult to collect information from SNS tweets because these can be deleted at any time. To detect tweets suspected of involving pharmaceutical transactions between individuals, recent data should be collected on a regular basis to obtain a more accurate picture of the actual situation and extract keywords for use in conducting searches with greater precision. Compared with earlier approaches, our use of a web crawler allowed us to capture traces of tweets existing for only a short period at specific time points. The application of machine learning not only simplifies operations and reduces the need for human resources but also enables fast and accurate extraction of relevant information. This substantially improves detection efficiency and lowers the risk of missing relevant tweets that may be rapidly removed after publication. Integrating web crawlers with keyword-driven classification models thereby facilitates fast, scalable, and automated monitoring of pharmaceutical-related activity on social media platforms.</p>
        <p>Notably, unlike English, Japanese text comprises a combination of Hiragana, Katakana, and Kanji, which complicates keyword extraction. Keywords derived from Japanese text segments via text mining do not always form complete words. Therefore, important grammatical or semantic information may be lost. Many extracted keywords, such as #6 “yuzutt,” #27 “Dayviko (*Dayvigo)” (Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>), are mere fragments of words. Nevertheless, these exhibited statistically significant associations with tweets suspected of being pharmaceutical transactions. This observation explains the presence of numerous fragmented or incomplete terms (<xref ref-type="table" rid="table1">Table 1</xref> and Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>), which may appear to lack standalone meaning. This also highlights the unique challenges and potential value of text mining in Japanese-language social media, where important linguistic features are often embedded in partial or colloquial expressions. Despite this limitation, we identified numerous keywords significantly associated with tweets suspected of being individual pharmaceutical transactions. By leveraging these extracted terms, we were able to detect relevant tweets and identify recurring linguistic patterns linked to such activities. Initially, the keyword set was extremely large, making manual searches a cumbersome process. Therefore, we refined the list by focusing on terms with the strongest statistical associations with suspected pharmaceutical transactions. Words such as “DM” (direct message), “kyuu” (request), “yuzuri” (give or transfer), and hashtags like “#Menhera Girl” and “<italic>#Okusuri mogumogu</italic>” were strongly correlated with suspected tweets. The fact that “DM” appeared at the root node of the decision tree underscores the role of private messaging as a key indicator of covert transactional behaviorP (<xref rid="figure2" ref-type="fig">Figure 2</xref>).</p>
      </sec>
      <sec>
        <title>Model Performance</title>
        <p>The ROC curves for the training dataset (2022) presented in <xref rid="figure4" ref-type="fig">Figure 4</xref> and the temporally independent validation dataset (2023) demonstrated strong discriminative performance, with AUC values of 0.83 for training and 0.84 for testing. The ROC curve for the temporally independent 2023 validation dataset is shown in <xref rid="figure5" ref-type="fig">Figure 5</xref>, with an AUC of 0.83 and a Gini coefficient of 0.65, indicating stable predictive performance across temporally separated datasets without evident overfitting. This stability suggests that the modeling framework was able to capture relevant linguistic patterns in the training data. Compared with prior studies using similar datasets or methods, the performance achieved in our study is competitive, thereby supporting the validity of the proposed modeling approach. Additionally, the Gini coefficient of 0.65 for training and 0.68 for testing indicates a clear separation between target classes, reinforcing the model’s practical applicability in real-world scenarios.</p>
        <p>In the evaluation of the generated model using the 2023 dataset in this study, 985 (15.25%) tweets related to individual pharmaceutical transactions were incorrectly predicted to be nontransactional (false negatives), and 158 (2.45%) tweets were incorrectly predicted to be suspicious (false positives), as shown in the confusion matrix (<xref ref-type="table" rid="table2">Table 2</xref>). The ROC curve (<xref rid="figure5" ref-type="fig">Figure 5</xref>) also indicated a stable discriminative ability of the model, as evidenced by the curve lying well above the diagonal reference line. These findings suggest that the classifier was able to distinguish between positive and negative classes, although sensitivity was lower than specificity. The overall shape of the curve and its proximity to the top-left corner further support the stability of the model.</p>
        <p>These results indicate that although the model achieved satisfactory overall accuracy and the relatively stable AUC values suggest a stable discriminative ability, the relatively low sensitivity indicates that a substantial proportion of transaction-related tweets were not detected, which might be due to the temporal drift between the 2022 and 2023 datasets. Additional evaluation metrics calculated for the temporally independent validation dataset showed an <italic>F</italic><sub>1</sub>-score of 0.53 and a balanced accuracy of 0.68, suggesting that although the model maintained relatively high specificity and discriminative performance, the lower sensitivity reduced the overall balance of classification performance under moderately imbalanced class distributions. Moreover, the model achieved satisfactory overall accuracy; further improvement is needed, particularly to enhance sensitivity. The fact that our model also extracted words that are not typically included in such tweets suggests that web crawling using an appropriate combination of these keywords may enable more accurate detection of tweets that may be related to individual transactions for pharmaceutical products. Consequently, despite the low sensitivity, the stable AUC value of the model indicates that the model may serve as a prioritization tool for identifying suspicious tweets prior to manual surveillance or platform supervision instead of using a standalone screening tool.</p>
      </sec>
      <sec>
        <title>Cross-Domain Applications and Feasibility of the Multistage Method</title>
        <p>Herein, we proposed a multistage method combining web crawling, text mining, and machine learning to detect suspicious information from individual transactions of pharmaceutical products via Twitter. The method features a clear structure and streamlines this process, demonstrating strong applicability for the current research task. Notably, the methods used here have also been widely applied in various research fields and practical settings. Owing to its ability to efficiently capture large volumes of real-time data within a short time frame, web crawling has been applied in finance [<xref ref-type="bibr" rid="ref31">31</xref>], marketing [<xref ref-type="bibr" rid="ref32">32</xref>,<xref ref-type="bibr" rid="ref33">33</xref>], health care [<xref ref-type="bibr" rid="ref34">34</xref>-<xref ref-type="bibr" rid="ref36">36</xref>], and medication abuse monitoring [<xref ref-type="bibr" rid="ref37">37</xref>,<xref ref-type="bibr" rid="ref38">38</xref>], among others. Leveraging this strength, we could rapidly collect a large dataset of tweets containing information on individual pharmaceutical transactions, from which keywords were extracted for subsequent analysis.</p>
        <p>Compared with traditional cross-sectional or prospective surveys, the integration of data mining and machine learning offers several important advantages. These include the capacity to process vast amounts of real-time data, uncover complex patterns without predefined hypotheses, and generate predictive insights. The rapid collection of a large number of tweets substantially reduced the manual workload while providing sufficient data to enhance the accuracy of the machine learning model and support descriptive statistical analyses. Although we primarily used Twitter as the data source, the proposed method is broadly applicable to diverse social networking platforms across different countries, regions, and languages [<xref ref-type="bibr" rid="ref39">39</xref>]. This not only reflects the technical maturity of the approach, but also reinforces its feasibility and potential for further expansion.</p>
      </sec>
      <sec>
        <title>Limitations</title>
        <p>We successfully extracted keywords, as well as emojis, related to individual transactions involving pharmaceutical products. However, our study has several important limitations. First, the analysis focused solely on textual data, excluding visual content such as drug images, quantities, or transaction methods, which often accompany suspected tweets. Consequently, tweets relying primarily on images could not be detected. Second, Twitter’s rebranding to X and the subsequent API changes affected the continuity of data collection in the later stages of the study. Third, owing to platform restrictions and frequent deletion of tweets, the number of recent tweets we were able to collect was limited, affecting the robustness of model validation. Although external validation using data from other social media platforms was not conducted, the model was validated using temporally independent data collected in the subsequent year. Given that language patterns and transaction-related expressions evolve over time, this temporal validation offers preliminary evidence of model robustness within the target platform. Future studies should examine cross-platform applicability to further assess generalizability.</p>
        <p>Another limitation is that the web crawler collected tweets using only the hashtag #Okusuri mogumogu. This introduces selection bias, as users engaging in pharmaceutical transactions may deliberately avoid commonly monitored hashtags, meaning that the dataset likely represents only a subset of actual activity. However, during observation and organization of the data collected in this study, we noted that sellers aiming for greater exposure often use multiple hashtags. Continuous monitoring permits timely and effective capture of these transactions as hashtags and keywords are updated. Other hashtags have been documented in previous research, and our approach could be extended to include these; however, in this study, we focused on the single hashtag above to demonstrate the feasibility of the surveillance method. Consequently, the model’s applicability to tweets lacking the monitored hashtag remains untested; future work should explore generalization across additional keywords and platforms. Importantly, the predictive model did not include the monitored hashtag itself as a feature but was trained on linguistic patterns and statistically significant keywords derived from text mining. Therefore, the classification was based on transactional language characteristics rather than the presence of a specific hashtag.</p>
        <p>It should be noted that the current model primarily emphasized specificity, and a limited exploration of classification threshold adjustment may have contributed to low sensitivity during observation.</p>
        <p>Despite these limitations, the model’s consistent performance across datasets underscores its practical potential in digital surveillance. This approach may provide a useful methodological foundation for future regulatory frameworks aimed at identifying and intervening in illegal pharmaceutical transactions on social networking platforms. Additionally, studies incorporating multiple hashtags and keyword-based crawling approaches may further improve the robustness and practical applicability of the proposed model in the future.</p>
      </sec>
      <sec>
        <title>Conclusions</title>
        <p>By identifying transaction search tags and using manual searches to supplement web crawling and text mining, together with machine learning, we were able to identify keywords related to individual transactions involving pharmaceutical products and extract characteristic words to successfully create a prediction model. This method of identifying keywords from tweets involving pharmaceuticals suspected of being privately trafficked could help to prevent individual transactions involving pharmaceutical products.</p>
      </sec>
    </sec>
  </body>
  <back>
    <app-group>
      <supplementary-material id="app1">
        <label>Multimedia Appendix 1</label>
        <p>List of extracted and statistically significant words from the 2022 collected postings.</p>
        <media xlink:href="jmir_v28i1e91103_app1.docx" xlink:title="DOCX File , 72 KB"/>
      </supplementary-material>
    </app-group>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">API</term>
          <def>
            <p>application programming interface</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">AUC</term>
          <def>
            <p>area under the curve</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">CHAID</term>
          <def>
            <p>chi-square automatic interaction detection</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">ROC</term>
          <def>
            <p>receiver operating characteristic</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">SNS</term>
          <def>
            <p>social networking service</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>The authors acknowledge the Counterfeit and Illegal Drugs Information Center for their assistance in tweet collection; Ms Misa Taguchi and Mr Tokuhisa Kato from MathWorks Japan for providing the text mining program; and Mr Shouhei Yamaguchi and Ms Michie Yamaguchi from IBM Japan for supporting us with the crawling program.</p>
      <p>No generative artificial intelligence tools were used in the preparation of this manuscript.</p>
    </ack>
    <notes>
      <sec>
        <title>Funding</title>
        <p>This work was supported by JST SPRING [Grant Number JPMJSP2135] and by the Ministry of Health, Labor and Welfare of Japan through the Pharmaceuticals and Medical Devices Regulatory Science Policy Research Program [Grant numbers JPMJSP2135, JPMHLW21KC1007].</p>
      </sec>
    </notes>
    <notes>
      <sec>
        <title>Data Availability</title>
        <p>The datasets are not publicly available owing to the Ministry of Health, Labor and Welfare. Requests can be made to the corresponding author for academic purposes.</p>
      </sec>
    </notes>
    <fn-group>
      <fn fn-type="con">
        <p>Conceptualization: RZ, NY, KK</p>
        <p>Methodology: RZ, NY</p>
        <p>Data curation: RZ</p>
        <p>Formal analysis: NY, KK</p>
        <p>Investigation: RZ, NY, KK</p>
        <p>Visualization: RZ</p>
        <p>Writing – original draft: RZ</p>
        <p>Writing – review and editing: RZ, NY, KK</p>
        <p>Supervision: NY</p>
        <p>Funding acquisition: RZ, NY</p>
      </fn>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="web">
          <article-title>2023 State of the information and telecommunications report summary [Web page in Japanese]</article-title>
          <source>Ministry of Internal Affairs and Communications</source>
          <year>2023</year>
          <access-date>2024-07-10</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.soumu.go.jp/johotsusintokei/whitepaper/ja/r05/html/nd247100.html">https://www.soumu.go.jp/johotsusintokei/whitepaper/ja/r05/html/nd247100.html</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref2">
        <label>2</label>
        <nlm-citation citation-type="web">
          <article-title>Summary of Japan and global SNS user rankings! Includes explanations of successful marketing case studies for each SNS platform [Web page in Japanese]</article-title>
          <source>Hottolink</source>
          <year>2024</year>
          <access-date>2024-07-10</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.hottolink.co.jp/column/20240214_114872/">https://www.hottolink.co.jp/column/20240214_114872/</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref3">
        <label>3</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Mineva</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>McCool</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Rogers</surname>
              <given-names>B</given-names>
            </name>
          </person-group>
          <article-title>Access to general practice during the COVID-19 pandemic - a cross-sectional view of the opinions of adults who use social media</article-title>
          <source>RRH</source>
          <year>2023</year>
          <fpage>8087</fpage>
          <pub-id pub-id-type="doi">10.22605/rrh8087</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref4">
        <label>4</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Fittler</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Ambrus</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Serefko</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Smejkalová</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Kijewska</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Szopa</surname>
              <given-names>A</given-names>
            </name>
            <collab>et al</collab>
          </person-group>
          <article-title>Attitudes and behaviors regarding online pharmacies in the aftermath of COVID-19 pandemic: at the tipping point towards the new normal</article-title>
          <source>Front Pharmacol</source>
          <year>2022</year>
          <volume>13</volume>
          <fpage>1070473</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/36642991"/>
          </comment>
          <pub-id pub-id-type="doi">10.3389/fphar.2022.1070473</pub-id>
          <pub-id pub-id-type="medline">36642991</pub-id>
          <pub-id pub-id-type="pii">1070473</pub-id>
          <pub-id pub-id-type="pmcid">PMC9833114</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref5">
        <label>5</label>
        <nlm-citation citation-type="web">
          <article-title>Global ePharmacy market to reach US$244.0 Billion by 2027</article-title>
          <source>Coherent Market Insights</source>
          <year>2024</year>
          <access-date>2024-07-10</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.coherentmarketinsights.com/press-release/e-pharmacy-market-to-surpass-us-1245-bn-threshold-by-2025-849">https://www.coherentmarketinsights.com/press-release/e-pharmacy-market-to-surpass-us-1245-bn-threshold-by-2025-849</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref6">
        <label>6</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Fisher</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Young</surname>
              <given-names>MM</given-names>
            </name>
            <name name-style="western">
              <surname>Payer</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Pacheco</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Dubeau</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Mago</surname>
              <given-names>V</given-names>
            </name>
          </person-group>
          <article-title>Automating detection of drug-related harms on social media: machine learning framework</article-title>
          <source>J Med Internet Res</source>
          <year>2023</year>
          <volume>25</volume>
          <fpage>e43630</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.jmir.org/2023//e43630/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/43630</pub-id>
          <pub-id pub-id-type="medline">37725410</pub-id>
          <pub-id pub-id-type="pii">v25i1e43630</pub-id>
          <pub-id pub-id-type="pmcid">PMC10548323</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref7">
        <label>7</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Sidorov</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Ahmad</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Basile</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Waqas</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Orji</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Batyrshin</surname>
              <given-names>I</given-names>
            </name>
          </person-group>
          <article-title>Monitoring opioid-related social media chatter using natural language processing and large language models: temporal analysis</article-title>
          <source>JMIR Infodemiology</source>
          <year>2025</year>
          <volume>5</volume>
          <fpage>e77279</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://infodemiology.jmir.org/2025//e77279/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/77279</pub-id>
          <pub-id pub-id-type="medline">41187282</pub-id>
          <pub-id pub-id-type="pii">v5i1e77279</pub-id>
          <pub-id pub-id-type="pmcid">PMC12585000</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref8">
        <label>8</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Shruti</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Manoj</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Aman</surname>
              <given-names>U</given-names>
            </name>
            <name name-style="western">
              <surname>Chandrashekhar</surname>
              <given-names>U</given-names>
            </name>
          </person-group>
          <article-title>Pharmacovigilance in the digital age</article-title>
          <source>Int J Pharm Sci</source>
          <year>2024</year>
          <volume>2</volume>
          <issue>4</issue>
          <fpage>691</fpage>
          <lpage>711</lpage>
          <pub-id pub-id-type="doi">10.5281/zenodo.10980625</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref9">
        <label>9</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Yoshida</surname>
              <given-names>N</given-names>
            </name>
          </person-group>
          <article-title>Distribution survey of individual transactions for pharmaceutical products via X (formerly Twitter)</article-title>
          <source>Biol Pharm Bull</source>
          <year>2025</year>
          <volume>48</volume>
          <issue>7</issue>
          <fpage>1049</fpage>
          <lpage>1055</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1248/bpb.b25-00119"/>
          </comment>
          <pub-id pub-id-type="doi">10.1248/bpb.b25-00119</pub-id>
          <pub-id pub-id-type="medline">40691070</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref10">
        <label>10</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hakariya</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Yokoyama</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Hakariya</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Ikejiri</surname>
              <given-names>T</given-names>
            </name>
          </person-group>
          <article-title>Illicit trade of prescription medications through X (formerly Twitter) in Japan: cross-sectional study</article-title>
          <source>JMIR Form Res</source>
          <year>2024</year>
          <volume>8</volume>
          <fpage>e54023</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://formative.jmir.org/2024//e54023/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/54023</pub-id>
          <pub-id pub-id-type="medline">38805262</pub-id>
          <pub-id pub-id-type="pii">v8i1e54023</pub-id>
          <pub-id pub-id-type="pmcid">PMC11167319</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref11">
        <label>11</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Masanès</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <source>Web Archiving</source>
          <year>2007</year>
          <publisher-loc>Berlin</publisher-loc>
          <publisher-name>Springer</publisher-name>
        </nlm-citation>
      </ref>
      <ref id="ref12">
        <label>12</label>
        <nlm-citation citation-type="web">
          <article-title>What is text mining?</article-title>
          <source>IBM</source>
          <year>2024</year>
          <access-date>2024-07-10</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.ibm.com/topics/text-mining">https://www.ibm.com/topics/text-mining</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref13">
        <label>13</label>
        <nlm-citation citation-type="web">
          <article-title>The chi-square test for independence</article-title>
          <source>University of Utah</source>
          <year>2024</year>
          <access-date>2024-07-10</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://soc.utah.edu/sociology3112/chi-square.php">https://soc.utah.edu/sociology3112/chi-square.php</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref14">
        <label>14</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Liao</surname>
              <given-names>SH</given-names>
            </name>
            <name name-style="western">
              <surname>Chu</surname>
              <given-names>PH</given-names>
            </name>
            <name name-style="western">
              <surname>Hsiao</surname>
              <given-names>PY</given-names>
            </name>
          </person-group>
          <article-title>Data mining techniques and applications – a decade review from 2000 to 2011</article-title>
          <source>Expert Systems with Applications</source>
          <year>2012</year>
          <volume>39</volume>
          <issue>12</issue>
          <fpage>11303</fpage>
          <lpage>11311</lpage>
          <pub-id pub-id-type="doi">10.1016/j.eswa.2012.02.063</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref15">
        <label>15</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Koppad</surname>
              <given-names>SH</given-names>
            </name>
            <name name-style="western">
              <surname>Kumar</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Application of big data analytics in healthcare system to predict COPD</article-title>
          <year>2016</year>
          <conf-name>Proceedings of the  International Conference on Circuit, Power and Computing Technologies (ICCPCT)</conf-name>
          <conf-date>March 18-19, 2016</conf-date>
          <conf-loc>Nagercoil, India</conf-loc>
          <fpage>1</fpage>
          <lpage>5</lpage>
          <pub-id pub-id-type="doi">10.1109/iccpct.2016.7530248</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref16">
        <label>16</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Kourou</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Exarchos</surname>
              <given-names>TP</given-names>
            </name>
            <name name-style="western">
              <surname>Exarchos</surname>
              <given-names>KP</given-names>
            </name>
            <name name-style="western">
              <surname>Karamouzis</surname>
              <given-names>MV</given-names>
            </name>
            <name name-style="western">
              <surname>Fotiadis</surname>
              <given-names>DI</given-names>
            </name>
          </person-group>
          <article-title>Machine learning applications in cancer prognosis and prediction</article-title>
          <source>Comput Struct Biotechnol J</source>
          <year>2015</year>
          <volume>13</volume>
          <fpage>8</fpage>
          <lpage>17</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S2001-0370(14)00046-4"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.csbj.2014.11.005</pub-id>
          <pub-id pub-id-type="medline">25750696</pub-id>
          <pub-id pub-id-type="pii">S2001-0370(14)00046-4</pub-id>
          <pub-id pub-id-type="pmcid">PMC4348437</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref17">
        <label>17</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Dara</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Dhamercherla</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Jadav</surname>
              <given-names>SS</given-names>
            </name>
            <name name-style="western">
              <surname>Babu</surname>
              <given-names>CM</given-names>
            </name>
            <name name-style="western">
              <surname>Ahsan</surname>
              <given-names>MJ</given-names>
            </name>
          </person-group>
          <article-title>Machine learning in drug discovery: a review</article-title>
          <source>Artif Intell Rev</source>
          <year>2022</year>
          <volume>55</volume>
          <issue>3</issue>
          <fpage>1947</fpage>
          <lpage>1999</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/34393317"/>
          </comment>
          <pub-id pub-id-type="doi">10.1007/s10462-021-10058-4</pub-id>
          <pub-id pub-id-type="medline">34393317</pub-id>
          <pub-id pub-id-type="pii">10058</pub-id>
          <pub-id pub-id-type="pmcid">PMC8356896</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Mei</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>A machine learning framework for predicting drug-drug interactions</article-title>
          <source>Sci Rep</source>
          <year>2021</year>
          <volume>11</volume>
          <issue>1</issue>
          <fpage>17619</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1038/s41598-021-97193-8"/>
          </comment>
          <pub-id pub-id-type="doi">10.1038/s41598-021-97193-8</pub-id>
          <pub-id pub-id-type="medline">34475500</pub-id>
          <pub-id pub-id-type="pii">10.1038/s41598-021-97193-8</pub-id>
          <pub-id pub-id-type="pmcid">PMC8413337</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref19">
        <label>19</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Badwan</surname>
              <given-names>BA</given-names>
            </name>
            <name name-style="western">
              <surname>Liaropoulos</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Kyrodimos</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Skaltsas</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Tsirigos</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Gorgoulis</surname>
              <given-names>VG</given-names>
            </name>
          </person-group>
          <article-title>Machine learning approaches to predict drug efficacy and toxicity in oncology</article-title>
          <source>Cell Reports Methods</source>
          <year>2023</year>
          <volume>3</volume>
          <issue>2</issue>
          <fpage>100413</fpage>
          <pub-id pub-id-type="doi">10.1016/j.crmeth.2023.100413</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref20">
        <label>20</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hammann</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Gutmann</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Vogt</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Helma</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Drewe</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Prediction of adverse drug reactions using decision tree modeling</article-title>
          <source>Clin Pharmacol Ther</source>
          <year>2010</year>
          <volume>88</volume>
          <issue>1</issue>
          <fpage>52</fpage>
          <lpage>59</lpage>
          <pub-id pub-id-type="doi">10.1038/clpt.2009.248</pub-id>
          <pub-id pub-id-type="medline">20220749</pub-id>
          <pub-id pub-id-type="pii">clpt2009248</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref21">
        <label>21</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bohlmann</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Mostafa</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Kumar</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Machine learning and medication adherence: scoping review</article-title>
          <source>JMIRx Med</source>
          <year>2021</year>
          <volume>2</volume>
          <issue>4</issue>
          <fpage>e26993</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://xmed.jmir.org/2021/4/e26993/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/26993</pub-id>
          <pub-id pub-id-type="medline">37725549</pub-id>
          <pub-id pub-id-type="pii">v2i4e26993</pub-id>
          <pub-id pub-id-type="pmcid">PMC10414315</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref22">
        <label>22</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Qiao</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Chai</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>Q</given-names>
            </name>
          </person-group>
          <article-title>Predicting potential drug abusers using machine learning techniques</article-title>
          <year>2019</year>
          <conf-name>Proceedings of the  International Conference on Intelligent Informatics and Biomedical Sciences (ICIIBMS)</conf-name>
          <conf-date>November 21-24, 2019</conf-date>
          <conf-loc>Shanghai, China</conf-loc>
          <fpage>283</fpage>
          <lpage>286</lpage>
          <pub-id pub-id-type="doi">10.1109/iciibms46890.2019.8991550</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Ranchon</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Chanoine</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Lambert-Lacroix</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Bosson</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Moreau-Gaudry</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Bedouch</surname>
              <given-names>P</given-names>
            </name>
          </person-group>
          <article-title>Development of artificial intelligence powered apps and tools for clinical pharmacy services: a systematic review</article-title>
          <source>Int J Med Inform</source>
          <year>2023</year>
          <volume>172</volume>
          <fpage>104983</fpage>
          <pub-id pub-id-type="doi">10.1016/j.ijmedinf.2022.104983</pub-id>
          <pub-id pub-id-type="medline">36724730</pub-id>
          <pub-id pub-id-type="pii">S1386-5056(22)00297-0</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref25">
        <label>25</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Cavazos-Rehg</surname>
              <given-names>PA</given-names>
            </name>
            <name name-style="western">
              <surname>Krauss</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Fisher</surname>
              <given-names>SL</given-names>
            </name>
            <name name-style="western">
              <surname>Salyer</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Grucza</surname>
              <given-names>RA</given-names>
            </name>
            <name name-style="western">
              <surname>Bierut</surname>
              <given-names>LJ</given-names>
            </name>
          </person-group>
          <article-title>Twitter chatter about marijuana</article-title>
          <source>J Adolesc Health</source>
          <year>2015</year>
          <volume>56</volume>
          <issue>2</issue>
          <fpage>139</fpage>
          <lpage>145</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/25620299"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.jadohealth.2014.10.270</pub-id>
          <pub-id pub-id-type="medline">25620299</pub-id>
          <pub-id pub-id-type="pii">S1054-139X(14)00703-4</pub-id>
          <pub-id pub-id-type="pmcid">PMC4306811</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Kazemi</surname>
              <given-names>DM</given-names>
            </name>
            <name name-style="western">
              <surname>Borsari</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Levine</surname>
              <given-names>MJ</given-names>
            </name>
            <name name-style="western">
              <surname>Dooley</surname>
              <given-names>B</given-names>
            </name>
          </person-group>
          <article-title>Systematic review of surveillance by social media platforms for illicit drug use</article-title>
          <source>J Public Health (Oxf)</source>
          <year>2017</year>
          <volume>39</volume>
          <issue>4</issue>
          <fpage>763</fpage>
          <lpage>776</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/28334848"/>
          </comment>
          <pub-id pub-id-type="doi">10.1093/pubmed/fdx020</pub-id>
          <pub-id pub-id-type="medline">28334848</pub-id>
          <pub-id pub-id-type="pii">3058979</pub-id>
          <pub-id pub-id-type="pmcid">PMC6092878</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Chan</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Lopez</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Sarkar</surname>
              <given-names>U</given-names>
            </name>
          </person-group>
          <article-title>The canary in the coal mine tweets: social media reveals public perceptions of non-medical use of opioids</article-title>
          <source>PLoS One</source>
          <year>2015</year>
          <volume>10</volume>
          <issue>8</issue>
          <fpage>e0135072</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://dx.plos.org/10.1371/journal.pone.0135072"/>
          </comment>
          <pub-id pub-id-type="doi">10.1371/journal.pone.0135072</pub-id>
          <pub-id pub-id-type="medline">26252774</pub-id>
          <pub-id pub-id-type="pii">PONE-D-14-56862</pub-id>
          <pub-id pub-id-type="pmcid">PMC4529203</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref28">
        <label>28</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Myslín</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Zhu</surname>
              <given-names>SH</given-names>
            </name>
            <name name-style="western">
              <surname>Chapman</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Conway</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Using Twitter to examine smoking behavior and perceptions of emerging tobacco products</article-title>
          <source>J Med Internet Res</source>
          <year>2013</year>
          <volume>15</volume>
          <issue>8</issue>
          <fpage>e174</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.jmir.org/2013/8/e174/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/jmir.2534</pub-id>
          <pub-id pub-id-type="medline">23989137</pub-id>
          <pub-id pub-id-type="pii">v15i8e174</pub-id>
          <pub-id pub-id-type="pmcid">PMC3758063</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref29">
        <label>29</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Cameron</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Smith</surname>
              <given-names>GA</given-names>
            </name>
            <name name-style="western">
              <surname>Daniulaityte</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Sheth</surname>
              <given-names>AP</given-names>
            </name>
            <name name-style="western">
              <surname>Dave</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Chen</surname>
              <given-names>L</given-names>
            </name>
            <collab>et al</collab>
          </person-group>
          <article-title>PREDOSE: a semantic web platform for drug abuse epidemiology using social media</article-title>
          <source>J Biomed Inform</source>
          <year>2013</year>
          <volume>46</volume>
          <issue>6</issue>
          <fpage>985</fpage>
          <lpage>997</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S1532-0464(13)00108-1"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.jbi.2013.07.007</pub-id>
          <pub-id pub-id-type="medline">23892295</pub-id>
          <pub-id pub-id-type="pii">S1532-0464(13)00108-1</pub-id>
          <pub-id pub-id-type="pmcid">PMC3844051</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref30">
        <label>30</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Moreno</surname>
              <given-names>MA</given-names>
            </name>
            <name name-style="western">
              <surname>Briner</surname>
              <given-names>LR</given-names>
            </name>
            <name name-style="western">
              <surname>Williams</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Brockman</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Walker</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Christakis</surname>
              <given-names>DA</given-names>
            </name>
          </person-group>
          <article-title>A content analysis of displayed alcohol references on a social networking web site</article-title>
          <source>J Adolesc Health</source>
          <year>2010</year>
          <volume>47</volume>
          <issue>2</issue>
          <fpage>168</fpage>
          <lpage>175</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/20638009"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.jadohealth.2010.01.001</pub-id>
          <pub-id pub-id-type="medline">20638009</pub-id>
          <pub-id pub-id-type="pii">S1054-139X(10)00020-0</pub-id>
          <pub-id pub-id-type="pmcid">PMC2907358</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref31">
        <label>31</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Fuehres</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Gloor</surname>
              <given-names>PA</given-names>
            </name>
          </person-group>
          <article-title>Predicting stock market indicators through Twitter “I hope it is not as bad as I fear”</article-title>
          <source>Procedia Soc Behav Sci</source>
          <year>2011</year>
          <volume>26</volume>
          <fpage>55</fpage>
          <lpage>62</lpage>
          <pub-id pub-id-type="doi">10.1016/j.sbspro.2011.10.562</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref32">
        <label>32</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Corallo</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Fortunato</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Spennato</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Errico</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Pedone</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Predicting the consumer's purchase intention of food products</article-title>
          <year>2020</year>
          <conf-name>Proceedings of the 9th International Conference on Industrial Technology and Management (ICITM). 2020</conf-name>
          <conf-date>February 11-13, 2020</conf-date>
          <conf-loc>Oxford, UK</conf-loc>
          <fpage>181</fpage>
          <lpage>185</lpage>
          <pub-id pub-id-type="doi">10.1109/icitm48982.2020.9080404</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref33">
        <label>33</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Jorge</surname>
              <given-names>O</given-names>
            </name>
            <name name-style="western">
              <surname>Pons</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Rius</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Vintró</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Mateo</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Vilaplana</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Increasing online shop revenues with web scraping: a case study for the wine sector</article-title>
          <source>Br Food J</source>
          <year>2020</year>
          <volume>122</volume>
          <issue>11</issue>
          <fpage>3383</fpage>
          <lpage>3401</lpage>
          <pub-id pub-id-type="doi">10.1108/bfj-07-2019-0522</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref34">
        <label>34</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Milinovich</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Xu</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Bambrick</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Mengersen</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Tong</surname>
              <given-names>S</given-names>
            </name>
            <collab>et al</collab>
          </person-group>
          <article-title>Monitoring pertussis infections using internet search queries</article-title>
          <source>Sci Rep</source>
          <year>2017</year>
          <volume>7</volume>
          <issue>1</issue>
          <fpage>10437</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1038/s41598-017-11195-z"/>
          </comment>
          <pub-id pub-id-type="doi">10.1038/s41598-017-11195-z</pub-id>
          <pub-id pub-id-type="medline">28874880</pub-id>
          <pub-id pub-id-type="pii">10.1038/s41598-017-11195-z</pub-id>
          <pub-id pub-id-type="pmcid">PMC5585203</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref35">
        <label>35</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Kung</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Byrd</surname>
              <given-names>TA</given-names>
            </name>
          </person-group>
          <article-title>Big data analytics: understanding its capabilities and potential benefits for healthcare organizations</article-title>
          <source>Technol Forecast Soc Change</source>
          <year>2018</year>
          <volume>126</volume>
          <fpage>3</fpage>
          <lpage>13</lpage>
          <pub-id pub-id-type="doi">10.1016/j.techfore.2015.12.019</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref36">
        <label>36</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Niketha</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Shreyah</surname>
              <given-names>JN</given-names>
            </name>
            <name name-style="western">
              <surname>Pranauv</surname>
              <given-names>AJ</given-names>
            </name>
          </person-group>
          <article-title>Medical ministrations through web scraping</article-title>
          <source>arXiv</source>
          <year>2023</year>
          <month>06</month>
          <day>21</day>
          <pub-id pub-id-type="doi">10.48550/arxiv.2306.12310</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref37">
        <label>37</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Sarker</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>O'Connor</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Ginn</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Scotch</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Smith</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Malone</surname>
              <given-names>D</given-names>
            </name>
            <collab>et al</collab>
          </person-group>
          <article-title>Social media mining for toxicovigilance: automatic monitoring of prescription medication abuse from Twitter</article-title>
          <source>Drug Saf</source>
          <year>2016</year>
          <volume>39</volume>
          <issue>3</issue>
          <fpage>231</fpage>
          <lpage>240</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/26748505"/>
          </comment>
          <pub-id pub-id-type="doi">10.1007/s40264-015-0379-4</pub-id>
          <pub-id pub-id-type="medline">26748505</pub-id>
          <pub-id pub-id-type="pii">10.1007/s40264-015-0379-4</pub-id>
          <pub-id pub-id-type="pmcid">PMC4749656</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref38">
        <label>38</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Sarker</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>DeRoos</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Perrone</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Mining social media for prescription medication abuse monitoring: a review and proposal for a data-centric framework</article-title>
          <source>J Am Med Inform Assoc</source>
          <year>2020</year>
          <volume>27</volume>
          <issue>2</issue>
          <fpage>315</fpage>
          <lpage>329</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/31584645"/>
          </comment>
          <pub-id pub-id-type="doi">10.1093/jamia/ocz162</pub-id>
          <pub-id pub-id-type="medline">31584645</pub-id>
          <pub-id pub-id-type="pii">5581276</pub-id>
          <pub-id pub-id-type="pmcid">PMC7025330</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref39">
        <label>39</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Noh</surname>
              <given-names>EB</given-names>
            </name>
            <name name-style="western">
              <surname>Park</surname>
              <given-names>SJ</given-names>
            </name>
            <name name-style="western">
              <surname>Nam</surname>
              <given-names>HK</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>TH</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>GR</given-names>
            </name>
            <collab>et al</collab>
          </person-group>
          <article-title>COVID-19 Vaccine perception in South Korea: web crawling approach</article-title>
          <source>JMIR Public Health Surveill</source>
          <year>2021</year>
          <volume>7</volume>
          <issue>9</issue>
          <fpage>e31409</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://publichealth.jmir.org/2021/9/e31409/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/31409</pub-id>
          <pub-id pub-id-type="medline">34348890</pub-id>
          <pub-id pub-id-type="pii">v7i9e31409</pub-id>
          <pub-id pub-id-type="pmcid">PMC8428376</pub-id>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
