{"id":957,"date":"2023-07-28T04:38:06","date_gmt":"2023-07-28T04:38:06","guid":{"rendered":"https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/"},"modified":"2023-07-28T04:38:06","modified_gmt":"2023-07-28T04:38:06","slug":"%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/","title":{"rendered":"Mutate() \u3068 case_when() \u3092\u4f7f\u7528\u3057\u3066 r \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\u591a\u304f\u306e\u5834\u5408\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u306b\u57fa\u3065\u3044\u3066 R \u306e\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306b\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5e78\u3044\u306a\u3053\u3068\u306b\u3001\u3053\u308c\u306f<a href=\"https:\/\/dplyr.tidyverse.org\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">dplyr<\/a>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e<strong>mutate()<\/strong>\u95a2\u6570\u3068<strong>case_when()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u7c21\u5358\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u6b21\u306e\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u3067\u3053\u308c\u3089\u306e\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u4f8b\u3092\u3044\u304f\u3064\u304b\u793a\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create data frame<\/span>\ndf &lt;- data.frame(player = c('a', 'b', 'c', 'd', 'e'),\n                 position = c('G', 'F', 'F', 'G', 'G'),\n                 points = c(12, 15, 19, 22, 32),\n                 rebounds = c(5, 7, 7, 12, 11))\n\n<span style=\"color: #008080;\">#view data frame\n<\/span>df\n\n  player position points rebounds\n1 to G 12 5\n2 b F 15 7\n3 c F 19 7\n4 d G 22 12\n5th G 32 11\n<\/strong><\/pre>\n<h3><strong>\u4f8b 1: \u65e2\u5b58\u306e\u5909\u6570\u306b\u57fa\u3065\u3044\u3066\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b<\/strong><\/h3>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001\u30dd\u30a4\u30f3\u30c8\u5217\u306e\u5024\u306b\u57fa\u3065\u3044\u3066\u300cscorer\u300d\u3068\u3044\u3046\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>library(dplyr)\n\n<span style=\"color: #008080;\">#define new variable 'scorer' using mutate() and case_when()\n<\/span>df %&gt;%\n  <span style=\"color: #3366ff;\">mutate<\/span> (scorer = <span style=\"color: #3366ff;\">case_when<\/span> (points &lt; 15 ~ ' <span style=\"color: #008000;\">low<\/span> ',\n                           points &lt; 25 ~ ' <span style=\"color: #008000;\">med<\/span> ',\n                           points &lt; 35 ~ ' <span style=\"color: #008000;\">high<\/span> '))\n\n  player position points rebounds scorer\n1 a G 12 5 low\n2 b F 15 7 med\n3 c F 19 7 med\n4 d G 22 12 med\n5th G 32 11 high<\/strong><\/pre>\n<h3><strong>\u4f8b 2: \u3044\u304f\u3064\u304b\u306e\u65e2\u5b58\u306e\u5909\u6570\u306b\u57fa\u3065\u3044\u3066\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b<\/strong><\/h3>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001\u30d7\u30ec\u30fc\u30e4\u30fc\u3068\u30dd\u30b8\u30b7\u30e7\u30f3\u5217\u306e\u5024\u306b\u57fa\u3065\u3044\u3066\u300ctype\u300d\u3068\u3044\u3046\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>library(dplyr)\n\n<span style=\"color: #008080;\">#define new variable 'type' using mutate() and case_when()\n<\/span>df %&gt;%\n  <span style=\"color: #3366ff;\">mutate<\/span> (type = <span style=\"color: #3366ff;\">case_when<\/span> (player == 'a' | player == 'b' ~ ' <span style=\"color: #008000;\">starter<\/span> ',\n                            player == 'c' | player == 'd' ~ ' <span style=\"color: #008000;\">backup<\/span> ',\n                            position == 'G' ~ ' <span style=\"color: #008000;\">reserve<\/span> '))\n\n  player position points rebounds type\n1 a G 12 5 starter\n2 b F 15 7 starter\n3 c F 19 7 backup\n4 d G 22 12 backup\n5th G 32 11 reserve<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001\u30dd\u30a4\u30f3\u30c8\u5217\u3068\u30ea\u30d0\u30a6\u30f3\u30c9\u5217\u306e\u5024\u306b\u57fa\u3065\u3044\u3066\u300cvalueAdded\u300d\u3068\u3044\u3046\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>library(dplyr)\n\n<span style=\"color: #008080;\">#define new variable 'valueAdded' using mutate() and case_when()\n<\/span>df %&gt;%\n  <span style=\"color: #3366ff;\">mutate<\/span> (valueAdded = <span style=\"color: #3366ff;\">case_when<\/span> (points &lt;= 15 &amp; rebounds &lt;=5 ~ 2,\n                                points &lt;=15 &amp; rebounds &gt; 5 ~ 4,\n                                points &lt; 25 &amp; rebounds &lt; 8 ~ 6,\n                                points &lt; 25 &amp; rebounds &gt; 8 ~ 7,\n                                points &gt;=25 ~ 9))\n\n  player position points rebounds valueAdded\n1 to G 12 5 2\n2 b F 15 7 4\n3c F 19 7 6\n4 d G 22 12 7\n5th G 32 11 9<\/strong><\/pre>\n<h3><span style=\"color: #000000;\"><strong>\u8ffd\u52a0\u30ea\u30bd\u30fc\u30b9<\/strong><\/span><\/h3>\n<p><a href=\"https:\/\/statorials.org\/ja\/-10\/\" target=\"_blank\" rel=\"noopener noreferrer\">R \u3067\u5217\u306e\u540d\u524d\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/r-\u306e\u5217\u3092\u524a\u9664\u3059\u308b\/\" target=\"_blank\" rel=\"noopener noreferrer\">R\u3067\u5217\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/\u884c\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30af\u3099\u3059\u308b-r\/\" target=\"_blank\" rel=\"noopener noreferrer\">R \u3067\u884c\u3092\u30d5\u30a3\u30eb\u30bf\u30fc\u3059\u308b\u65b9\u6cd5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u591a\u304f\u306e\u5834\u5408\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u306b\u57fa\u3065\u3044\u3066 R \u306e\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306b\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5e78\u3044\u306a\u3053\u3068\u306b\u3001\u3053\u308c\u306fdplyr\u30d1\u30c3\u30b1\u30fc\u30b8\u306emutate()\u95a2\u6570\u3068case_when()\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u7c21\u5358\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002 \u3053\u306e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-957","post","type-post","status-publish","format-standard","hentry","category-16"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>mutate() \u3068 case_when() \u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b<\/title>\n<meta name=\"description\" content=\"mutate() \u95a2\u6570\u3068 case_when() \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u7c21\u5358\u306a\u8aac\u660e\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/ja\/\u6761\u4ef6\u4ed8\u304d\u7a81\u7136\u5909\u7570r\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"mutate() \u3068 case_when() \u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\" \/>\n<meta property=\"og:description\" content=\"mutate() \u95a2\u6570\u3068 case_when() \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u7c21\u5358\u306a\u8aac\u660e\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ja\/\u6761\u4ef6\u4ed8\u304d\u7a81\u7136\u5909\u7570r\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-28T04:38:06+00:00\" \/>\n<meta name=\"author\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/\",\"url\":\"https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/\",\"name\":\"mutate() \u3068 case_when() \u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-28T04:38:06+00:00\",\"dateModified\":\"2023-07-28T04:38:06+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\"},\"description\":\"mutate() \u95a2\u6570\u3068 case_when() \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u7c21\u5358\u306a\u8aac\u660e\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mutate() \u3068 case_when() \u3092\u4f7f\u7528\u3057\u3066 r \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ja\/#website\",\"url\":\"https:\/\/statorials.org\/ja\/\",\"name\":\"Statorials\",\"description\":\"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\",\"name\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\"},\"description\":\"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b\",\"sameAs\":[\"http:\/\/statorials.org\/ja\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"mutate() \u3068 case_when() \u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b","description":"mutate() \u95a2\u6570\u3068 case_when() \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u7c21\u5358\u306a\u8aac\u660e\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/ja\/\u6761\u4ef6\u4ed8\u304d\u7a81\u7136\u5909\u7570r\/","og_locale":"ja_JP","og_type":"article","og_title":"mutate() \u3068 case_when() \u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b","og_description":"mutate() \u95a2\u6570\u3068 case_when() \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u7c21\u5358\u306a\u8aac\u660e\u3002","og_url":"https:\/\/statorials.org\/ja\/\u6761\u4ef6\u4ed8\u304d\u7a81\u7136\u5909\u7570r\/","og_site_name":"Statorials","article_published_time":"2023-07-28T04:38:06+00:00","author":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/","url":"https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/","name":"mutate() \u3068 case_when() \u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-28T04:38:06+00:00","dateModified":"2023-07-28T04:38:06+00:00","author":{"@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83"},"description":"mutate() \u95a2\u6570\u3068 case_when() \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066 R \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u7c21\u5358\u306a\u8aac\u660e\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/%e6%9d%a1%e4%bb%b6%e4%bb%98%e3%81%8d%e7%aa%81%e7%84%b6%e5%a4%89%e7%95%b0r\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"Mutate() \u3068 case_when() \u3092\u4f7f\u7528\u3057\u3066 r \u3067\u65b0\u3057\u3044\u5909\u6570\u3092\u4f5c\u6210\u3059\u308b"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ja\/#website","url":"https:\/\/statorials.org\/ja\/","name":"Statorials","description":"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83","name":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb"},"description":"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b","sameAs":["http:\/\/statorials.org\/ja"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/comments?post=957"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/957\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}