Data and analysis scripts for the paper on kinematic analysis of headshake in seven sign languages
Year: 2026
Type: dataset
Abstract: This repository contains the files necessary to reporoduce the analyses and figures for the study “Kinematics of negative headshake in seven sign languages”. The files are included in the headshake_kinematics folder, which includes the following: headshake_kinematics.Rproj - the main R project file, please run it (in R Studio) to replicate the analysis. In the code folder, the following files are included: headshake_analyis.Rmd is the notebook with the main analysis. It requires the .csv files in the data folders to run. Its complied version is also included as headshake_analysis.html. The .Rmd file also outputs model and data objects as .rds files for plotting. headshake_data_prep_2.Rmd contains the scripts that were used to process raw outputs of OpenFace and ELAN files (.eaf) with the annotations. These files were used in the previous version of the paper. headshake_data_prep_3ddfa_ss.Rmd were used to process raw outputs of 3DDFA_v2, and combine it with the annotation files. These scripts were used to produce the files that are in the data folder. At the file preparation stage, a smoothing script has been applied to the data. The full script and documentation can be found here: https://osf.io/qfg98. plotting.R is a script that generates all the figures included in the paper. It requires the .csv and .rds files in the data folders to run. headshake_reliability_testing.R is a script that calculates differences in duration and agreement scores for 3 annotators in the inter-annotator reliability analysis. The script requires the ELAN .eaf files in the eafs subfolder of the data folder. angle_sensitivity_and_normalization_robust_ss.Rmd and its compiled version angle_sensitivity_and_normalization_robust_ss.html contains a detailed analysis of the effect of angle to camera on OpenFace and 3DDFA_v2 estimation of yaw rotation, and the normalization solution to the issue. It requires a .csv file in the data folder to run. credit_packages.R is a script that generates versions and citations of the R packages used in the other scripts in the analysis. The data folder includes the .csv files with headshake rotation measurements used in the analyses described above, and an eafs subfolder with ELAN annotation file used in the reliability analysis. In the cv_scripts folder, a Jupyter notebook and several Python scripts are included that were used to extract head rotation using 3DDFA_v2. In the video folder, a video recording of one headshake from the corpus of Brazilian Sign Language is included, which is used for illustration in the manuscript.
Language: English
Subfield: Developmental and Educational Psychology
Field: Psychology
Domain: Social Sciences
Open Access status: green
OpenAlex ID: W7204124796
