ben-domingue / irw

Code related to data for the Item Response Warehouse
https://datapages.github.io/irw/
4 stars 7 forks source link

PREVIC: An adaptive parent report measure of expressive vocabulary in children between 3 and 8 years of age #82

Open ben-domingue opened 2 months ago

ben-domingue commented 2 months ago

https://osf.io/preprints/psyarxiv/hvncp

sophchun commented 1 month ago

working on this one!

sophchun commented 1 week ago

`# -- coding: utf-8 -- """Previc_data.ipynb

Automatically generated by Colab.

Original file is located at https://colab.research.google.com/drive/1rHGarjcHtyAYP12F9XHfmlL2kcVrKzoV """

import pandas as pd

url = 'https://raw.githubusercontent.com/manuelbohn/previc/main/data/previc_data.csv'

df = pd.read_csv(url)

df = df.rename(columns={ 'subjID': 'id', # Person ID 'trial': 'item', # Item ID 'score': 'resp' # Coded response })

output_path = 'previc_data_processed.csv'

df.to_csv(output_path, index=False)

pd.read_csv('previc_data_processed.csv')`