Last active
May 16, 2022 19:32
-
-
Save shawngraham/15048298a9f0552970fac98e75f26e87 to your computer and use it in GitHub Desktop.
demo for students of gist use
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
# demo for sharing a script | |
# in scripts, a hashtag (pound sign) = a comment (in markdown, it means a header) | |
# we create a variable called y, and give it a _string_ of text; in this case, the direct URL to a csv file | |
y <- "https://raw.githubusercontent.com/shawngraham/exercise/gh-pages/CND.csv" | |
# now we use the read.csv command to read the file address stored in 'y'; the results go into a dataframe called 'documents2' | |
documents2 <- read.csv(y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment