Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ELLIPSE-Corpus #655

Closed
ben-domingue opened this issue Oct 30, 2024 · 3 comments
Closed

ELLIPSE-Corpus #655

ben-domingue opened this issue Oct 30, 2024 · 3 comments
Assignees

Comments

@ben-domingue
Copy link
Owner

https://github.com/scrosseye/ELLIPSE-Corpus?tab=readme-ov-file#readme
just the ratings (two ratings/essay) not the essays.

The data is provided under a CC BY-NC-SA 4.0 DEED Attribution-NonCommercial-ShareAlike 4.0 International license (https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en)

@KingArthur0205
Copy link
Collaborator

The ratings for each essay has the following variables: Overall, Cohesion, Syntax, Vocabulary, Phraseology, Grammar, Conventions, Identifying_Info

@KingArthur0205
Copy link
Collaborator

Data:
Ellipse_Corssley_2024.csv

Code:

# Data: https://github.com/scrosseye/ELLIPSE-Corpus
library(haven)
library(dplyr)
library(tidyr)

df <- read.csv("ellipsis_raw_rater_scores_anon_all_essay.csv")
df <- df |>
  rename(id=Filename) |>
  select(-Text)
df1 <- df |>
  select(id, ends_with("1")) |>
df2 <- df |>
  select(id, ends_with("2"))

colnames(df1) <- ifelse(
  colnames(df1) == "id", 
  colnames(df1), 
  gsub("_1$", "", colnames(df1))
)
colnames(df2) <- ifelse(
  colnames(df2) == "id", 
  colnames(df2), 
  gsub("_2$", "", colnames(df2))
)

df1 <- df1 |>
  rename(rater=Rater)
df2 <- df2 |>
  rename(rater=Rater)

df1 <- pivot_longer(df1, cols=-c(id, rater), names_to="item", values_to="resp")
df2 <- pivot_longer(df2, cols=-c(id, rater), names_to="item", values_to="resp")

final_df <- rbind(df1, df2)

save(final_df, file="Ellipse_Corssley_2024.Rdata")
write.csv(final_df, "Ellipse_Corssley_2024.csv", row.names=FALSE)

@KingArthur0205
Copy link
Collaborator

@ben-domingue PR for issue: #713
Data entry is added into the dictionary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants