Issues with data wrangling in R

I did an online experiment with 700 participants and got the data for each participant in a seperate csv file.

My first step was to import just one file and try to wrangle it the best way for further analysis. The next step would to apply this to all 700 csv files and then merge everything together. Is this more or less the right way to do it?

I am new to R and stuck on the wrangling part. The first picture is what I got so far (current). the second picture is were I want to go (goal).

current

goal

  1. Is it possible, to move all the data to the top of each column, that no empty cells/NA is above the data?
  2. in the column RT_first_letter: is it possible to get only the first entry of the row 6 (in picture current). In this case 2.949...?

Thanks for the help in advance!



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation