{"id":781,"date":"2020-03-29T12:12:20","date_gmt":"2020-03-29T12:12:20","guid":{"rendered":"https:\/\/www.step3.net\/?p=781"},"modified":"2026-07-25T07:23:31","modified_gmt":"2026-07-25T07:23:31","slug":"%e6%88%91%e3%81%8c%e8%bc%a9%e3%81%af%e3%80%81fitbit%e3%81%a7r%e3%81%9d%e3%81%ae%ef%bc%91%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.step3.net\/?p=781","title":{"rendered":"\u6211\u304c\u8f29\u306f\u3001FitBit\u3067R(\u305d\u306e\uff11\uff09"},"content":{"rendered":"<p><a href=\"https:\/\/www.step3.net\/wp-content\/uploads\/2026\/07\/dsc_0770.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" alt=\"Dsc_0770\" title=\"Dsc_0770\" style=\"margin: 3px;\" src=\"https:\/\/www.step3.net\/wp-content\/uploads\/2026\/07\/dsc_0770.jpg\" width=\"300\" height=\"453\"><\/a><br \/>\n\u6211\u304c\u8f29\u306f\u3001FitBit\u3067R\u3002\u540d\u524d\u306f\u307e\u3060\u306a\u3044\u3002<br \/>\n\u4eca\u65e5\u306f\u3001\u96ea\u304c\u964d\u308a\u7a4d\u3082\u308a\u7d9a\u3044\u3066\u3044\u307e\u3059\u3002\u65b0\u578b\u30b3\u30ed\u30ca\u30a6\u30a4\u30eb\u30b9\u5bfe\u7b56\u3068\u3057\u3066\u3001\u6771\u4eac\u90fd\u3001\u96a3\u63a5\uff14\u770c\u304b\u3089\u306f\u5916\u51fa\u81ea\u7c9b\u8981\u8acb\u304c\u3067\u307e\u3057\u305f\u3002<br \/>\n\u305d\u3093\u306a\u65e5\u306b\u3001Oreilly\u304b\u3089\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9\u5411\u3051\u306e\u30cb\u30e5\u30fc\u30b9\u30ec\u30bf\u30fc\u304c\u5c4a\u304d\u307e\u3057\u305f\u3002<\/p>\n<blockquote><p>Can your watch improve your life?<br \/>\nWearable devices generate gigabytes of data every minute. Fitbit reports that it has over 150 billion hours of heart rate recorded, and over 6 billion recorded nights of human sleep. But what&#8217;s all that data actually doing for you? <a href=\"https:\/\/opendatascience.com\/data-science-applied-to-wearables\/?utm_medium=email&#038;utm_source=topic+optin&#038;utm_campaign=awareness&#038;utm_content=20200325+data+nl&#038;mkt_tok=eyJpIjoiWkdGalkyVmlNelV4WXpneiIsInQiOiJFdkp5QVI5ejFQazZwSnltczZnNFVTVitSWlhOdmpEMlJYNXVJUmdBcmlZXC9vd2ZhZVdUOE9FcFkrekZZc1lVUFZvUWhjRGxEeVwvQngxT25IWFJHN1ZCR01JNENQRXlXWkFGU2pCNFpTVnRrUUVJMnVMUU5pS0lHY1hURVRzSzFsIn0%3D\" target=\"_blank\">Here&#8217;s how to download and play with your own Fitbit data.<br \/>\n<\/a><\/p><\/blockquote>\n<p>\u3069\u308c\u3069\u308c\u3001\u3068\u8aad\u307f\u59cb\u3081\u305f\u306e\u304c\u3001\u305d\u308c\u304b\u3089\u6570\u65e5\u3001\u306f\u307e\u3063\u305f\u4e8b\u306e\u59cb\u307e\u308a\u3067\u3057\u305f\u3002\u3053\u306e\u30cb\u30e5\u30fc\u30b9\u30ec\u30bf\u30fc\u3067\u306f\u3001fitbit\u304c\u8a08\u6e2c\u3057\u3066\u3044\u308blifelog\u30c7\u30fc\u30bf\u3001\u6d3b\u52d5\u91cf\u3001\u5fc3\u62cd\u6570\u306a\u3069\u3092\u5229\u7528\u3057\u3066\u3001\u5065\u5eb7\u72b6\u6cc1\u3092\u5206\u6790\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u4e8b\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n<a href=\"http:\/\/www.okadajp.org\/RWiki\/\" target=\"_blank\">\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30c6\u30a3\u30b9\u30c8\u5fa1\u7528\u9054\u306e\u30c7\u30fc\u30bf\u5206\u6790\u74b0\u5883\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u300cR\u300d<\/a>\u3001\u3054\u305e\u3093\u3058\u3067\u3059\u304b\uff1f<br \/>\n<a href=\"https:\/\/business.nikkei.com\/atcl\/report\/16\/122700258\/010900004\/\" target=\"_blank\">\u203b\u3054\u53c2\u8003\uff1a\u7d71\u8a08\u8a00\u8a9e \u300cR\u300d\u306e\u795e\u306f\u306a\u305c\u7121\u511f\u3067\u8ca2\u732e\u3057\u305f\u306e\u304b<\/a><br \/>\n<a href=\"https:\/\/github.com\/teramonagi\/fitbitr\" target=\"_blank\">R\u306efitbitr\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3057\u305f<\/a>\u3002fitbitr\u3092github\u304b\u3089\u53d6\u5f97\uff06\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u3001fitbit\u30c7\u30fc\u30bf\u3092\u53d6\u51fa\u3001\u5206\u6790\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3002\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u7d20\u76f4\u306b\u4fe1\u3058\u3001\u305d\u306e\u901a\u308a\u306e\u624b\u9806\u3092\u30d5\u30a9\u30ed\u30fc\u3057\u3088\u3046\u3068\u3057\u305f\u306e\u304c\u3001\u4f5c\u6226\u30df\u30b9\u304b\u3082\u3002\u3068\u306f\u3044\u3048\u3001R\u306e\u74b0\u5883\u306f\u3001\u77e5\u3089\u306a\u3044\u571f\u5730\u3067\u3059\u3002\u77e5\u3089\u306a\u3044\u571f\u5730\u3067\u306f\u9053\u6848\u5185\u3092\u4fe1\u7528\u3059\u308b\u3057\u304b\u306a\u3044\u3067\u3059\u3088\u306d\u3002\u305d\u306e\u9053\u6848\u5185\u304c\u4fe1\u7528\u3067\u304d\u308b\u4eba\u304b\u3069\u3046\u304b\u3001\u898b\u5b9a\u3081\u308b\u80fd\u529b\u304c\u5fc5\u8981\u3060\u3068\u3057\u3066\u3082\u3002<br \/>\nfitbitr\u3092github\u304b\u3089\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u3057\u3066devtools\u304c\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u304c\u3001<\/p>\n<blockquote><p>install.packages(&#8220;devtools&#8221;)<\/p><\/blockquote>\n<p>\u304c\u5931\u6557\u3002<br \/>\n\u3053\u308c\u304c\u3001\u304b\u306a\u308a\u306e\u66f2\u8005\u3002\u4ed6\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3078\u306e\u4f9d\u5b58\u6027\u304c\u534a\u7aef\u306a\u3044\u306e\u3067\u3059\u3002<br \/>\n\u3053\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u3053\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3001\u305d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u3042\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3068\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u7121\u9650\u5730\u7344\u3002\u6700\u7d42\u7684\u306b\u306fR\u672c\u4f53\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306aC\u8a00\u8a9e\u3068FORTRAN\u306e\u30b3\u30f3\u30d1\u30a4\u30e9\u30fc\u304c\u5fc5\u8981\u3002\u3057\u304b\u3082\u3001R\u306e\u958b\u767a\u74b0\u5883\u306f\u3001OSX\u306eclang\u6700\u65b0\u74b0\u5883\u306b\u304a\u3044\u3064\u3044\u3066\u304a\u3089\u305a\u3001\u65e7\u7248\u306e\u3082\u306e\u3092\u4f7f\u308f\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\u3059\u3002\u65e7\u7248clang\u3092\u635c\u3057\u3066\u304f\u308b\u306e\u3082\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u306e\u3082\u4e00\u82e6\u52b4\u3002\u30a2\u30d7\u30ea\u3068OS\u306e\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u306e\u901f\u5ea6\u306e\u9055\u3044\u3092\u4e45\u3057\u3076\u308a\u306b\u898b\u307e\u3057\u305f\u3002<br \/>\nclang,FORTRAN\u74b0\u5883\u3092\u6e96\u5099\u3057\u3066\u3082R\u3092\u30bd\u30fc\u30b9\u304b\u3089\u69cb\u7bc9\u3059\u308b\u4f5c\u696d\u304c\u6210\u529f\u305b\u305a\u3001\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u3002\u305d\u3046\u3044\u3048\u3070\u3001R\u306fR\u5358\u4f53GUI\u3068Rstudio\u3067\u5229\u7528\u3059\u308b\u306e\u3068\u3001\uff12\u901a\u308a\u306e\u5229\u7528\u304c\u3067\u304d\u308b\u4e8b\u3092\u601d\u3044\u51fa\u3057\u3001Rstudio\u7d4c\u7531\u3067devtools\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u81ea\u4f53\u306f\u898b\u4e8b\u6210\u529f\u3057\u305f\u3082\u306e\u306e\u3001\u52d5\u4f5c\u306f\u4e0d\u826f\u3002<br \/>\n\u3084\u308a\u305f\u3044\u3053\u3068\u306f\u3001github\u304b\u3089R\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3002\u3068\u3001\u898b\u5b9a\u3081\u76f4\u3057\u3001google\u691c\u7d22\u3057\u3066\u307f\u305f\u3089\u3001devtools\u3092\u4f7f\u308f\u306a\u304f\u3068\u3082\u3001\u305d\u3093\u306a\u3053\u3068\u3067\u304d\u308b\u3088\u3001\u3068\u6559\u3048\u3066\u304f\u308c\u308b\u30da\u30fc\u30b8<a href=\"https:\/\/blog.atusy.net\/2019\/02\/07\/stand-alone-remotes-install-github\/\" target=\"_blank\">\u300c\u5c02\u7528\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u305b\u305a GitHub \u4e0a\u306e R \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u300d<\/a>\u3092\u307f\u3064\u3051\u307e\u3057\u305f\u3002\u611f\u8b1d\u3067\u3059\u3002devtools\u3067\u306f\u306a\u304fremotes\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u4e8b\u8db3\u308a\u307e\u3057\u305f\u3002<\/p>\n<blockquote><p>install.packages(remotes)<br \/>\nremotes::install_github(&#8220;teramonagi\/fitbitr&#8221;)<\/p><\/blockquote>\n<p>\u3067\u3001\u7121\u4e8bfitbir\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002<br \/>\nfitbitr\u304c\u547c\u3073\u51fa\u3057\u3066\u3044\u308bFITBIT API\u306f\u3001WebAPI\u306e\u30bf\u30a4\u30d7\u3002\u3068\u306a\u308b\u3068\u304a\u624b\u306e\u7269\u3002token\u3092FITBIT\u306e\u30b5\u30a4\u30c8\u304b\u3089\u53d6\u5f97\u3057\u3001\u547c\u3073\u51fa\u3059\u307e\u3048\u306b\u8a2d\u5b9a\u3057\u3001API\u3092\u547c\u3073\u51fa\u3059\u3002\u3053\u308c\u306f\u3001\u3082\u3046\u3001\u738b\u9053\u306a\u306e\u3067\u3001\u8ff7\u3046\u3053\u3068\u306a\u304f\u3001\u4e00\u767aOK\u3002<br \/>\n\u3055\u3066\u3001Fitbit\u304b\u3089\u81ea\u5206\u306efitbit\u7aef\u672b\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u6b21\u306f\u3001\u3053\u306e\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u306e\u5206\u6790\u306b\u3088\u308a\u304b\u304b\u304b\u308a\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/www.step3.net\/wp-content\/uploads\/2026\/07\/rplot3_20200329225701.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" alt=\"Rplot3_20200329225701\" title=\"Rplot3_20200329225701\" style=\"margin: 3px;\" src=\"https:\/\/www.step3.net\/wp-content\/uploads\/2026\/07\/rplot3_20200329225701.jpg\" width=\"300\" height=\"152\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u304c\u8f29\u306f\u3001FitBit\u3067R\u3002\u540d\u524d\u306f\u307e\u3060\u306a\u3044\u3002 \u4eca\u65e5\u306f\u3001\u96ea\u304c\u964d\u308a\u7a4d\u3082\u308a\u7d9a\u3044\u3066\u3044\u307e\u3059\u3002\u65b0\u578b\u30b3\u30ed\u30ca\u30a6\u30a4\u30eb\u30b9\u5bfe\u7b56\u3068\u3057\u3066\u3001\u6771\u4eac\u90fd\u3001\u96a3\u63a5\uff14\u770c\u304b\u3089\u306f\u5916\u51fa\u81ea\u7c9b\u8981\u8acb\u304c\u3067\u307e\u3057\u305f\u3002 \u305d\u3093\u306a\u65e5\u306b\u3001Oreilly\u304b\u3089\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9\u5411\u3051\u306e\u30cb\u30e5\u30fc\u30b9 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-781","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.step3.net\/index.php?rest_route=\/wp\/v2\/posts\/781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.step3.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.step3.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.step3.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.step3.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=781"}],"version-history":[{"count":1,"href":"https:\/\/www.step3.net\/index.php?rest_route=\/wp\/v2\/posts\/781\/revisions"}],"predecessor-version":[{"id":1808,"href":"https:\/\/www.step3.net\/index.php?rest_route=\/wp\/v2\/posts\/781\/revisions\/1808"}],"wp:attachment":[{"href":"https:\/\/www.step3.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.step3.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.step3.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}