if (FALSE) {
# get status of all existing custom norming contexts
contexts <- receptiviti_norming(name_only = TRUE)
# create or get the status of a single custom norming context
status <- receptiviti_norming("new_context")
# send texts to establish the context
## these texts can be specified just like
## texts in the main receptiviti function
## such as directly
full_status <- receptiviti_norming("new_context", c(
"a text to set the norm",
"another text part of the new context"
))
## or from a file
full_status <- receptiviti_norming(
"new_context", "./path/to/text.csv",
text_column = "texts"
)
## or from multiple files in a directory
full_status <- receptiviti_norming(
"new_context",
dir = "./path/to/txt_files"
)
}
Run the code above in your browser using DataLab