{"id":2079,"date":"2021-08-09T00:34:53","date_gmt":"2021-08-09T00:34:53","guid":{"rendered":"http:\/\/optimumsportsperformance.com\/blog\/?p=2079"},"modified":"2021-08-09T12:33:31","modified_gmt":"2021-08-09T12:33:31","slug":"tidyx-70-getting-started-with-sql-databases-in-r-dbplyr","status":"publish","type":"post","link":"https:\/\/optimumsportsperformance.com\/blog\/tidyx-70-getting-started-with-sql-databases-in-r-dbplyr\/","title":{"rendered":"TidyX 70: Getting Started with SQL Databases in R &#8212; dbplyr"},"content":{"rendered":"<p>This week, <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/ellis_hughes\">Ellis Hughes<\/a> <\/strong><\/span>and I kick off a new series discussing the use of SQL databases in R.<\/p>\n<p>In this episode we cover a simple way to use R, more specifically the <strong>dbplyr<\/strong> package, to build your own <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.sqlite.org\/index.html\">SQLite database<\/a><\/span><\/strong>, add tables to the database, and query the database using <strong>tidyverse<\/strong> instead of SQL syntax.<\/p>\n<p>To watch our screen cast, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.youtube.com\/watch?v=EfSwb_n9iWA\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n<p>To access our code, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/thebioengineer\/TidyX\/tree\/master\/TidyTuesday_Explained\/070-Databases_with_dbplyr\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, Ellis Hughes and I kick off a new series discussing the use of SQL databases in R. In this episode we cover a simple way to use R, more specifically the dbplyr package, to build your own SQLite database, add tables to the database, and query the database using tidyverse instead of SQL [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-2079","post","type-post","status-publish","format-standard","hentry","category-tidyx-screen-cast"],"_links":{"self":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/2079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/comments?post=2079"}],"version-history":[{"count":2,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/2079\/revisions"}],"predecessor-version":[{"id":2081,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/2079\/revisions\/2081"}],"wp:attachment":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/media?parent=2079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/categories?post=2079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/tags?post=2079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}