The final activity for each learning lab provides space to work with data and to reflect on how the concepts and techniques introduced in each lab might apply to your own research.

To earn a badge for each lab, you are required to respond to a set of prompts for two parts:

Part I: Reflect and Plan

Use the institutional library (e.g. NCSU Library), Google Scholar or search engine to locate a research article, presentation, or resource that applies learning analytics analysis to an educational context or topic of interest. More specifically, locate a study that makes use of one of the data structures we learned today. You are also welcome to select one of your research papers.

  1. Provide an APA citation for your selected study.

    • Sense, F., van der Velde, M., & van Rijn, H. (2021). Predicting university students’ exam performance using a model-based adaptive fact-learning system. Journal of Learning Analytics, 8(3), 155-169
  2. What types of data are associated with LA ?

    • assessment
  3. What type of data structures are analyzed in the educational context?

    • Digital learning environments
  4. How might this article be used to better understand a dataset or educational context of personal or professional interest to you?

    • It predicts university students’ exam performance using a model-based adaptive fact-learning system
  5. Finally, how do these processes compare with what teachers and educational organizations already do to support and assess student learning?

    • This helps make earlier interventions to help student learning

Draft a research question of guided by techniques and data sources that you are potentially interested in exploring in more depth.

  1. What data source(s) should be analyzed or discussed?

    • LMS learning behaviors
  2. What is the purpose of your article?

    • how learning behaviors predict their success
  3. Explain the analytical level at which these data would need to be collected and analyzed.

  4. How, if at all, will your article touch upon the application(s) of LA to “understand and improve learning and the contexts in which learning occurs?”

    • Yes

Part II: Data Product

After you finish the script file for lab1_badge add the code fo reach problem into the correct code chunks below. # Making sure not to change the code chunk name.

# YOUR FINAL CODE HERE

df <- data.frame( Students =  c("Thor", "Rogue", "Electra", "Electra", "Wolverine"),
                  Foods = c("Bread", "Orange", "Chocolate", "Carrots", "Milk")
                 )
print (df)
##    Students     Foods
## 1      Thor     Bread
## 2     Rogue    Orange
## 3   Electra Chocolate
## 4   Electra   Carrots
## 5 Wolverine      Milk
# YOUR FINAL CODE HERE


table(df$Students)
## 
##   Electra     Rogue      Thor Wolverine 
##         2         1         1         1
# YOUR FINAL CODE HERE
mynum = c(3,4,5,7,9)
mysum = sum(mynum)
print (mysum)
## [1] 28
# YOUR FINAL CODE HERE


library (tidyverse)
## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ──
## ✔ ggplot2 3.3.5     ✔ purrr   0.3.4
## ✔ tibble  3.1.7     ✔ dplyr   1.0.9
## ✔ tidyr   1.2.0     ✔ stringr 1.4.0
## ✔ readr   2.1.2     ✔ forcats 0.5.1
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag()    masks stats::lag()
#getwd()

setwd("/Users/meinazhu/Documents/GitHub/foundational-skills/foundation_lab_1")
sci_classess <- read_csv("./data/sci-online-classes.csv")
## Rows: 603 Columns: 30
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr  (6): course_id, subject, semester, section, Gradebook_Item, Gender
## dbl (23): student_id, total_points_possible, total_points_earned, percentage...
## lgl  (1): Grade_Category
## 
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
# YOUR FINAL CODE HERE

newdf <-  select(sci_classess, -c("subject", "section"))
print(newdf)
## # A tibble: 603 × 28
##    student_id course_id     total_points_poss… total_points_ea… percentage_earn…
##         <dbl> <chr>                      <dbl>            <dbl>            <dbl>
##  1      43146 FrScA-S216-02               3280             2220            0.677
##  2      44638 OcnA-S116-01                3531             2672            0.757
##  3      47448 FrScA-S216-01               2870             1897            0.661
##  4      47979 OcnA-S216-01                4562             3090            0.677
##  5      48797 PhysA-S116-01               2207             1910            0.865
##  6      51943 FrScA-S216-03               4208             3596            0.855
##  7      52326 AnPhA-S216-01               4325             2255            0.521
##  8      52446 PhysA-S116-01               2086             1719            0.824
##  9      53447 FrScA-S116-01               4655             3149            0.676
## 10      53475 FrScA-S116-02               1710             1402            0.820
## # … with 593 more rows, and 23 more variables: semester <chr>,
## #   Gradebook_Item <chr>, Grade_Category <lgl>, FinalGradeCEMS <dbl>,
## #   Points_Possible <dbl>, Points_Earned <dbl>, Gender <chr>, q1 <dbl>,
## #   q2 <dbl>, q3 <dbl>, q4 <dbl>, q5 <dbl>, q6 <dbl>, q7 <dbl>, q8 <dbl>,
## #   q9 <dbl>, q10 <dbl>, TimeSpent <dbl>, TimeSpent_hours <dbl>,
## #   TimeSpent_std <dbl>, int <dbl>, pc <dbl>, uv <dbl>

Knit & Submit

Congratulations, you’ve completed your Data Sources Badge!

Complete the following steps to submit your work for review by:

  1. Change the name of the author: in the YAML header at the very top of this document to your name. As noted in Reproducible Research in R, The YAML header controls the style and feel for knitted document but doesn’t actually display in the final output.

  2. Click the yarn icon above to “knit” your data product to a HTML file that will be saved in your R Project folder.

  3. Commit your changes in GitHub Desktop and push them to your online GitHub repository.

  4. Publish your HTML page the web using one of the following publishing methods: Publish on RPubs by clicking the “Publish” button located in the Viewer Pane when you knit your document. Note, you will need to quickly create a RPubs account. Publishing on GitHub using either GitHub Pages or the HTML previewer.

  5. Post a new discussion on GitHub to our Foundations Badges forum. In your post, include a link to your published web page and write a short reflection highlighting one thing you learned from this lab and one thing you’d like to explore further.