-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
project: | ||
type: website | ||
|
||
website: | ||
title: "integrating SQL into R analytical workflows using duckDB & dbplyr" | ||
|
||
navbar: | ||
left: | ||
- href: index.qmd | ||
text: Home | ||
- href: about.qmd | ||
text: "About RDS" | ||
tools: | ||
- icon: github | ||
menu: | ||
- text: Website Code | ||
url: https://github.com/brunj7/intro-database-r | ||
- text: Report an issue | ||
url: https://github.com/brunj7/intro-database-r/issues | ||
|
||
|
||
format: | ||
html: | ||
theme: | ||
- spacelab | ||
- rdsstyles.scss | ||
css: styles.css | ||
toc: true | ||
include-after-body: footer.html | ||
|
||
execute: | ||
freeze: auto | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: "About RDS" | ||
--- | ||
|
||
[Research Data Services (RDS)](https://www.library.ucsb.edu/research-data-services) helps UCSB researchers manage and preserve their research data through: | ||
|
||
- Consultations | ||
- Long-term engagements | ||
- Instructional workshops. | ||
|
||
Our team offers support across the research data lifecycle, from pre-project planning to post-project archival, connecting researchers with both locally- and externally-provided curation services. Our goal is to ensure that all research data is well-described, FAIR (Findable, Accessible, Interoperable, Reusable), and sustainably preservable, and that researchers receive scholarly credit for sharing and publishing data. | ||
|
||
Contact us if you have any questions: [rds\@library.ucsb.edu](mailto:[email protected]){.email} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div> | ||
<p><hr /></p> | ||
<p align="center"><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a></p> | ||
<p align="center"><a href="https://www.library.ucsb.edu/research-data-services"><img alt="UCSB logo" style="border-width:0" src="img/ucsb-primary-wordmark.png" width="250px" align="center" /></a></p> | ||
</div> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
title: "Integrating SQL into R analytical workflows using duckDB & dbplyr" | ||
--- | ||
|
||
## Slides | ||
|
||
- Why consider a database | ||
- Example of the birds dataset with multiple csv files and relationships | ||
- Pros & Cons of databases | ||
- Server vs personal database | ||
- dbplyr to connect to the R world | ||
|
||
## Hands-on | ||
|
||
- How to connect to a database from `R` | ||
- How to query a database using `dbplyr` | ||
- How to see the SQL code behind a tidyverse workflow | ||
- How to directly use SQL from R | ||
|
||
Wrap-up | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Version: 1.0 | ||
|
||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
AlwaysSaveHistory: Default | ||
|
||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
|
||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/*-- scss:defaults --*/ | ||
|
||
// Colors | ||
$navy: #003660; | ||
$gold: #FEBC11; | ||
$gray: #111517; | ||
$light-gray: #DCE1E5; | ||
$white: #FFFFFF; | ||
$sea-green: #09847A; | ||
$coral: #EF5645; | ||
$sandstone: #C9BF9D; | ||
$clay: #faf8f4; | ||
$mist: #9CBEBE; | ||
|
||
// Base document colors | ||
$navbar-bg: $sea-green; // navbar | ||
$navbar-fg: $white; // navbar foreground elements | ||
$navbar-hl: $gold; // highlight color when hovering over navbar links | ||
$sidebar-bg: $clay; // navbar | ||
$body-bg: $clay; // page background | ||
$body-color: $gray; // page text | ||
$footer-bg: $navy; // footer | ||
$link-color: $coral; // hyperlinks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* css styles */ |