diff --git a/episodes/11-supp-read-write-csv.Rmd b/episodes/11-supp-read-write-csv.Rmd index 5588f4a87..31d720977 100644 --- a/episodes/11-supp-read-write-csv.Rmd +++ b/episodes/11-supp-read-write-csv.Rmd @@ -255,7 +255,8 @@ write.csv(carSpeeds, file = 'data/car-speeds-cleaned.csv') If you open the file, you'll see that it has header names, because the data had headers within R, but that there are numbers in the first column. -csv written without row.names argument +```{embed file = "data/car-speeds-cleaned.csv"} +``` ### The `row.names` Argument @@ -267,7 +268,8 @@ write.csv(carSpeeds, file = 'data/car-speeds-cleaned.csv', row.names = FALSE) Now we see: -csv written with row.names argument +```{embed file = "data/car-speeds-cleaned.csv"} +``` ::::::::::::::::::::::::::::::::::::::::: callout @@ -306,9 +308,8 @@ write.csv(carSpeeds, And we see: -csv written with -9999 as NA - - +```{embed file = "data/car-speeds-cleaned.csv"} +``` :::::::::::::::::::::::::::::::::::::::: keypoints diff --git a/episodes/fig/01-supp-csv-with-row-nums.png b/episodes/fig/01-supp-csv-with-row-nums.png deleted file mode 100644 index 9a513859e..000000000 Binary files a/episodes/fig/01-supp-csv-with-row-nums.png and /dev/null differ diff --git a/episodes/fig/01-supp-csv-with-special-NA.png b/episodes/fig/01-supp-csv-with-special-NA.png deleted file mode 100644 index ec68b4c0a..000000000 Binary files a/episodes/fig/01-supp-csv-with-special-NA.png and /dev/null differ diff --git a/episodes/fig/01-supp-csv-without-row-nums.png b/episodes/fig/01-supp-csv-without-row-nums.png deleted file mode 100644 index b1c5fa472..000000000 Binary files a/episodes/fig/01-supp-csv-without-row-nums.png and /dev/null differ