Skip to content

Commit cbe4248

Browse files
proof reading
1 parent d1904f6 commit cbe4248

File tree

7 files changed

+76
-58
lines changed

7 files changed

+76
-58
lines changed

individual_modules/working_with_data_in_R/combining_datasets.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -640,13 +640,13 @@
640640
{
641641
"data": {
642642
"text/html": [
643-
"<div id=\"oaDUvKfOzObl\" data-shufflequestions=\"False\"\n",
643+
"<div id=\"KOuRONxdPHIi\" data-shufflequestions=\"False\"\n",
644644
" data-shuffleanswers=\"True\"\n",
645645
" data-preserveresponses=\"false\"\n",
646646
" data-numquestions=\"1000000\"\n",
647647
" data-maxwidth=\"600\"\n",
648648
" style=\"border-radius: 10px; text-align: left\"> <style>\n",
649-
"#oaDUvKfOzObl {\n",
649+
"#KOuRONxdPHIi {\n",
650650
" --jq-multiple-choice-bg: #6f78ffff;\n",
651651
" --jq-mc-button-bg: #fafafa;\n",
652652
" --jq-mc-button-border: #e0e0e0e0;\n",
@@ -828,7 +828,7 @@
828828
{
829829
"data": {
830830
"application/javascript": [
831-
"var questionsoaDUvKfOzObl=[\n",
831+
"var questionsKOuRONxdPHIi=[\n",
832832
" {\n",
833833
" \"question\": \"What is the primary purpose of joining datasets?\",\n",
834834
" \"type\": \"many_choice\",\n",
@@ -856,7 +856,7 @@
856856
" ]\n",
857857
" },\n",
858858
" {\n",
859-
" \"question\": \"In a left join, what happens to the rows in the elft dataframe that do not have matching values in the right dataframe?\",\n",
859+
" \"question\": \"In a left join, what happens to the rows in the left dataframe that do not have matching values in the right dataframe?\",\n",
860860
" \"type\": \"many_choice\",\n",
861861
" \"answers\": [\n",
862862
" {\n",
@@ -865,7 +865,7 @@
865865
" \"feedback\": \"Incorrect\"\n",
866866
" },\n",
867867
" {\n",
868-
" \"answer\": \"They are retained with `NA` values fo the column from the right dataframe\",\n",
868+
" \"answer\": \"They are retained with `NA` values for the column from the right dataframe\",\n",
869869
" \"correct\": true,\n",
870870
" \"feedback\": \"Correct\"\n",
871871
" },\n",
@@ -886,7 +886,7 @@
886886
" \"type\": \"many_choice\",\n",
887887
" \"answers\": [\n",
888888
" {\n",
889-
" \"answer\": \"They results in faster joins\",\n",
889+
" \"answer\": \"They result in faster joins\",\n",
890890
" \"correct\": false,\n",
891891
" \"feedback\": \"Incorrect\"\n",
892892
" },\n",
@@ -1656,8 +1656,8 @@
16561656
" Someone more knowledgeable could make this better ;-) */\n",
16571657
"\n",
16581658
" function try_show() {\n",
1659-
" if(document.getElementById(\"oaDUvKfOzObl\")) {\n",
1660-
" show_questions(questionsoaDUvKfOzObl, oaDUvKfOzObl); \n",
1659+
" if(document.getElementById(\"KOuRONxdPHIi\")) {\n",
1660+
" show_questions(questionsKOuRONxdPHIi, KOuRONxdPHIi); \n",
16611661
" } else {\n",
16621662
" setTimeout(try_show, 200);\n",
16631663
" }\n",
@@ -1666,8 +1666,8 @@
16661666
" {\n",
16671667
" // console.log(element);\n",
16681668
"\n",
1669-
" //console.log(\"oaDUvKfOzObl\");\n",
1670-
" // console.log(document.getElementById(\"oaDUvKfOzObl\"));\n",
1669+
" //console.log(\"KOuRONxdPHIi\");\n",
1670+
" // console.log(document.getElementById(\"KOuRONxdPHIi\"));\n",
16711671
"\n",
16721672
" try_show();\n",
16731673
" }\n",

individual_modules/working_with_data_in_R/introducing_tidyverse.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -253,13 +253,13 @@
253253
{
254254
"data": {
255255
"text/html": [
256-
"<div id=\"flhqtZbRlWfs\" data-shufflequestions=\"False\"\n",
256+
"<div id=\"dkpwXxKWjrjN\" data-shufflequestions=\"False\"\n",
257257
" data-shuffleanswers=\"True\"\n",
258258
" data-preserveresponses=\"false\"\n",
259259
" data-numquestions=\"1000000\"\n",
260260
" data-maxwidth=\"600\"\n",
261261
" style=\"border-radius: 10px; text-align: left\"> <style>\n",
262-
"#flhqtZbRlWfs {\n",
262+
"#dkpwXxKWjrjN {\n",
263263
" --jq-multiple-choice-bg: #6f78ffff;\n",
264264
" --jq-mc-button-bg: #fafafa;\n",
265265
" --jq-mc-button-border: #e0e0e0e0;\n",
@@ -441,7 +441,7 @@
441441
{
442442
"data": {
443443
"application/javascript": [
444-
"var questionsflhqtZbRlWfs=[\n",
444+
"var questionsdkpwXxKWjrjN=[\n",
445445
" {\n",
446446
" \"question\": \"What is the Tidyverse?\",\n",
447447
" \"type\": \"many_choice\",\n",
@@ -1269,8 +1269,8 @@
12691269
" Someone more knowledgeable could make this better ;-) */\n",
12701270
"\n",
12711271
" function try_show() {\n",
1272-
" if(document.getElementById(\"flhqtZbRlWfs\")) {\n",
1273-
" show_questions(questionsflhqtZbRlWfs, flhqtZbRlWfs); \n",
1272+
" if(document.getElementById(\"dkpwXxKWjrjN\")) {\n",
1273+
" show_questions(questionsdkpwXxKWjrjN, dkpwXxKWjrjN); \n",
12741274
" } else {\n",
12751275
" setTimeout(try_show, 200);\n",
12761276
" }\n",
@@ -1279,8 +1279,8 @@
12791279
" {\n",
12801280
" // console.log(element);\n",
12811281
"\n",
1282-
" //console.log(\"flhqtZbRlWfs\");\n",
1283-
" // console.log(document.getElementById(\"flhqtZbRlWfs\"));\n",
1282+
" //console.log(\"dkpwXxKWjrjN\");\n",
1283+
" // console.log(document.getElementById(\"dkpwXxKWjrjN\"));\n",
12841284
"\n",
12851285
" try_show();\n",
12861286
" }\n",

individual_modules/working_with_data_in_R/loading_data.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -325,13 +325,13 @@
325325
{
326326
"data": {
327327
"text/html": [
328-
"<div id=\"UtTrWxiwZZwZ\" data-shufflequestions=\"False\"\n",
328+
"<div id=\"dWNwzaQGtXvW\" data-shufflequestions=\"False\"\n",
329329
" data-shuffleanswers=\"True\"\n",
330330
" data-preserveresponses=\"false\"\n",
331331
" data-numquestions=\"1000000\"\n",
332332
" data-maxwidth=\"600\"\n",
333333
" style=\"border-radius: 10px; text-align: left\"> <style>\n",
334-
"#UtTrWxiwZZwZ {\n",
334+
"#dWNwzaQGtXvW {\n",
335335
" --jq-multiple-choice-bg: #6f78ffff;\n",
336336
" --jq-mc-button-bg: #fafafa;\n",
337337
" --jq-mc-button-border: #e0e0e0e0;\n",
@@ -513,7 +513,7 @@
513513
{
514514
"data": {
515515
"application/javascript": [
516-
"var questionsUtTrWxiwZZwZ=[\n",
516+
"var questionsdWNwzaQGtXvW=[\n",
517517
" {\n",
518518
" \"question\": \"Which function is used to read CSV files into R using the `readr` package?\",\n",
519519
" \"type\": \"many_choice\",\n",
@@ -555,7 +555,7 @@
555555
" \"feedback\": \"Correct\"\n",
556556
" },\n",
557557
" {\n",
558-
" \"answer\": \"It does not require specifying data types\",\n",
558+
" \"answer\": \"It does not require users to specify data types\",\n",
559559
" \"correct\": false,\n",
560560
" \"feedback\": \"Incorrect\"\n",
561561
" },\n",
@@ -567,7 +567,7 @@
567567
" ]\n",
568568
" },\n",
569569
" {\n",
570-
" \"question\": \"Which arguement in the `read_csv` function is used to specify the data types of column explicitly?\",\n",
570+
" \"question\": \"Which argument in the `read_csv` function is used to specify the data types of column explicitly?\",\n",
571571
" \"type\": \"many_choice\",\n",
572572
" \"answers\": [\n",
573573
" {\n",
@@ -1341,8 +1341,8 @@
13411341
" Someone more knowledgeable could make this better ;-) */\n",
13421342
"\n",
13431343
" function try_show() {\n",
1344-
" if(document.getElementById(\"UtTrWxiwZZwZ\")) {\n",
1345-
" show_questions(questionsUtTrWxiwZZwZ, UtTrWxiwZZwZ); \n",
1344+
" if(document.getElementById(\"dWNwzaQGtXvW\")) {\n",
1345+
" show_questions(questionsdWNwzaQGtXvW, dWNwzaQGtXvW); \n",
13461346
" } else {\n",
13471347
" setTimeout(try_show, 200);\n",
13481348
" }\n",
@@ -1351,8 +1351,8 @@
13511351
" {\n",
13521352
" // console.log(element);\n",
13531353
"\n",
1354-
" //console.log(\"UtTrWxiwZZwZ\");\n",
1355-
" // console.log(document.getElementById(\"UtTrWxiwZZwZ\"));\n",
1354+
" //console.log(\"dWNwzaQGtXvW\");\n",
1355+
" // console.log(document.getElementById(\"dWNwzaQGtXvW\"));\n",
13561356
"\n",
13571357
" try_show();\n",
13581358
" }\n",

individual_modules/working_with_data_in_R/manipulating_a_dataframe.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,13 +1366,13 @@
13661366
{
13671367
"data": {
13681368
"text/html": [
1369-
"<div id=\"zWJUohMXcigr\" data-shufflequestions=\"False\"\n",
1369+
"<div id=\"IQclLGbGymBf\" data-shufflequestions=\"False\"\n",
13701370
" data-shuffleanswers=\"True\"\n",
13711371
" data-preserveresponses=\"false\"\n",
13721372
" data-numquestions=\"1000000\"\n",
13731373
" data-maxwidth=\"600\"\n",
13741374
" style=\"border-radius: 10px; text-align: left\"> <style>\n",
1375-
"#zWJUohMXcigr {\n",
1375+
"#IQclLGbGymBf {\n",
13761376
" --jq-multiple-choice-bg: #6f78ffff;\n",
13771377
" --jq-mc-button-bg: #fafafa;\n",
13781378
" --jq-mc-button-border: #e0e0e0e0;\n",
@@ -1554,7 +1554,7 @@
15541554
{
15551555
"data": {
15561556
"application/javascript": [
1557-
"var questionszWJUohMXcigr=[\n",
1557+
"var questionsIQclLGbGymBf=[\n",
15581558
" {\n",
15591559
" \"question\": \"Which function from the `dplyr` package is used to select specific columns from a dataframe?\",\n",
15601560
" \"type\": \"many_choice\",\n",
@@ -2382,8 +2382,8 @@
23822382
" Someone more knowledgeable could make this better ;-) */\n",
23832383
"\n",
23842384
" function try_show() {\n",
2385-
" if(document.getElementById(\"zWJUohMXcigr\")) {\n",
2386-
" show_questions(questionszWJUohMXcigr, zWJUohMXcigr); \n",
2385+
" if(document.getElementById(\"IQclLGbGymBf\")) {\n",
2386+
" show_questions(questionsIQclLGbGymBf, IQclLGbGymBf); \n",
23872387
" } else {\n",
23882388
" setTimeout(try_show, 200);\n",
23892389
" }\n",
@@ -2392,8 +2392,8 @@
23922392
" {\n",
23932393
" // console.log(element);\n",
23942394
"\n",
2395-
" //console.log(\"zWJUohMXcigr\");\n",
2396-
" // console.log(document.getElementById(\"zWJUohMXcigr\"));\n",
2395+
" //console.log(\"IQclLGbGymBf\");\n",
2396+
" // console.log(document.getElementById(\"IQclLGbGymBf\"));\n",
23972397
"\n",
23982398
" try_show();\n",
23992399
" }\n",

individual_modules/working_with_data_in_R/piping.ipynb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -253,13 +253,13 @@
253253
{
254254
"data": {
255255
"text/html": [
256-
"<div id=\"DOYcHUnbboYM\" data-shufflequestions=\"False\"\n",
256+
"<div id=\"OqNYtELwlJsS\" data-shufflequestions=\"False\"\n",
257257
" data-shuffleanswers=\"True\"\n",
258258
" data-preserveresponses=\"false\"\n",
259259
" data-numquestions=\"1000000\"\n",
260260
" data-maxwidth=\"600\"\n",
261261
" style=\"border-radius: 10px; text-align: left\"> <style>\n",
262-
"#DOYcHUnbboYM {\n",
262+
"#OqNYtELwlJsS {\n",
263263
" --jq-multiple-choice-bg: #6f78ffff;\n",
264264
" --jq-mc-button-bg: #fafafa;\n",
265265
" --jq-mc-button-border: #e0e0e0e0;\n",
@@ -441,7 +441,7 @@
441441
{
442442
"data": {
443443
"application/javascript": [
444-
"var questionsDOYcHUnbboYM=[\n",
444+
"var questionsOqNYtELwlJsS=[\n",
445445
" {\n",
446446
" \"question\": \"What is the main benefit of using the pipe operator in R?\",\n",
447447
" \"type\": \"many_choice\",\n",
@@ -509,7 +509,7 @@
509509
" \"feedback\": \"Incorrect\"\n",
510510
" },\n",
511511
" {\n",
512-
" \"answer\": \"To create new variable or modify existing ones\",\n",
512+
" \"answer\": \"To create new variables or modify existing ones\",\n",
513513
" \"correct\": true,\n",
514514
" \"feedback\": \"Correct\"\n",
515515
" },\n",
@@ -1269,8 +1269,8 @@
12691269
" Someone more knowledgeable could make this better ;-) */\n",
12701270
"\n",
12711271
" function try_show() {\n",
1272-
" if(document.getElementById(\"DOYcHUnbboYM\")) {\n",
1273-
" show_questions(questionsDOYcHUnbboYM, DOYcHUnbboYM); \n",
1272+
" if(document.getElementById(\"OqNYtELwlJsS\")) {\n",
1273+
" show_questions(questionsOqNYtELwlJsS, OqNYtELwlJsS); \n",
12741274
" } else {\n",
12751275
" setTimeout(try_show, 200);\n",
12761276
" }\n",
@@ -1279,8 +1279,8 @@
12791279
" {\n",
12801280
" // console.log(element);\n",
12811281
"\n",
1282-
" //console.log(\"DOYcHUnbboYM\");\n",
1283-
" // console.log(document.getElementById(\"DOYcHUnbboYM\"));\n",
1282+
" //console.log(\"OqNYtELwlJsS\");\n",
1283+
" // console.log(document.getElementById(\"OqNYtELwlJsS\"));\n",
12841284
"\n",
12851285
" try_show();\n",
12861286
" }\n",

individual_modules/working_with_data_in_R/reshaping_datasets.ipynb

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -532,13 +532,13 @@
532532
{
533533
"data": {
534534
"text/html": [
535-
"<div id=\"ZJdVWhGTyTen\" data-shufflequestions=\"False\"\n",
535+
"<div id=\"KaRsSMTSOdNX\" data-shufflequestions=\"False\"\n",
536536
" data-shuffleanswers=\"True\"\n",
537537
" data-preserveresponses=\"false\"\n",
538538
" data-numquestions=\"1000000\"\n",
539539
" data-maxwidth=\"600\"\n",
540540
" style=\"border-radius: 10px; text-align: left\"> <style>\n",
541-
"#ZJdVWhGTyTen {\n",
541+
"#KaRsSMTSOdNX {\n",
542542
" --jq-multiple-choice-bg: #6f78ffff;\n",
543543
" --jq-mc-button-bg: #fafafa;\n",
544544
" --jq-mc-button-border: #e0e0e0e0;\n",
@@ -720,7 +720,7 @@
720720
{
721721
"data": {
722722
"application/javascript": [
723-
"var questionsZJdVWhGTyTen=[\n",
723+
"var questionsKaRsSMTSOdNX=[\n",
724724
" {\n",
725725
" \"question\": \"What is the primary purpose of the pivot_longer function in the tidyr package?\",\n",
726726
" \"type\": \"many_choice\",\n",
@@ -736,7 +736,7 @@
736736
" \"feedback\": \"Incorrect\"\n",
737737
" },\n",
738738
" {\n",
739-
" \"answer\": \"To convert matrix format data inot tidy format\",\n",
739+
" \"answer\": \"To convert matrix format data into tidy format\",\n",
740740
" \"correct\": true,\n",
741741
" \"feedback\": \"Correct\"\n",
742742
" },\n",
@@ -748,7 +748,7 @@
748748
" ]\n",
749749
" },\n",
750750
" {\n",
751-
" \"question\": \"Which areguement in the pivot_wider function specifies the column whose values will become the names of new columns?\",\n",
751+
" \"question\": \"Which arguement in the pivot_wider function specifies the column whose values will become the names of new columns?\",\n",
752752
" \"type\": \"many_choice\",\n",
753753
" \"answers\": [\n",
754754
" {\n",
@@ -1548,8 +1548,8 @@
15481548
" Someone more knowledgeable could make this better ;-) */\n",
15491549
"\n",
15501550
" function try_show() {\n",
1551-
" if(document.getElementById(\"ZJdVWhGTyTen\")) {\n",
1552-
" show_questions(questionsZJdVWhGTyTen, ZJdVWhGTyTen); \n",
1551+
" if(document.getElementById(\"KaRsSMTSOdNX\")) {\n",
1552+
" show_questions(questionsKaRsSMTSOdNX, KaRsSMTSOdNX); \n",
15531553
" } else {\n",
15541554
" setTimeout(try_show, 200);\n",
15551555
" }\n",
@@ -1558,8 +1558,8 @@
15581558
" {\n",
15591559
" // console.log(element);\n",
15601560
"\n",
1561-
" //console.log(\"ZJdVWhGTyTen\");\n",
1562-
" // console.log(document.getElementById(\"ZJdVWhGTyTen\"));\n",
1561+
" //console.log(\"KaRsSMTSOdNX\");\n",
1562+
" // console.log(document.getElementById(\"KaRsSMTSOdNX\"));\n",
15631563
"\n",
15641564
" try_show();\n",
15651565
" }\n",
@@ -1580,7 +1580,7 @@
15801580
},
15811581
{
15821582
"cell_type": "code",
1583-
"execution_count": null,
1583+
"execution_count": 9,
15841584
"id": "f6999728-6695-450a-a622-75196e2f5539",
15851585
"metadata": {
15861586
"editable": true,
@@ -1589,6 +1589,24 @@
15891589
},
15901590
"tags": []
15911591
},
1592+
"outputs": [
1593+
{
1594+
"name": "stdout",
1595+
"output_type": "stream",
1596+
"text": [
1597+
"/Users/lb788/Documents/CfRR/CfRR_Courses/individual_modules/working_with_data_in_R\n"
1598+
]
1599+
}
1600+
],
1601+
"source": [
1602+
"!pwd"
1603+
]
1604+
},
1605+
{
1606+
"cell_type": "code",
1607+
"execution_count": null,
1608+
"id": "be2d6a85-676a-4412-bfa3-0b72063e7efb",
1609+
"metadata": {},
15921610
"outputs": [],
15931611
"source": []
15941612
}

0 commit comments

Comments
 (0)