This document covers how to set up a MySQL database on your local desktop using the terminal and MySQL workbench.
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
2-RDBMS connections in RStudio | |
================ | |
Martin Frigaard | |
2018-09-13 | |
# Motivation | |
This document will walk through how to setup and query a relational | |
database from RStudio with MySQL and SQLite. |
I am working on this portion of the MySQL tutorial for loading data from a .TSV file.
I have this data file:
[pet_file][1]
name owner species sex birth death
Fluffy Harold cat f 1993-02-04
Claws Gwen cat m 1994-03-17
Buffy Harold dog f 1989-05-13
https://stackoverflow.com/q/44550649/4926446?sem=2
I need to create a dummy variable (binary) from a character (string) variable The data that I have look like this:
dat <- tribble(
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder