mjwestgate / revtools

Tools to support research synthesis in R
https://revtools.net
48 stars 26 forks source link

Trouble using screen_abstracts #40

Open LilyJWheeler opened 2 years ago

LilyJWheeler commented 2 years ago

Hi, I've been trying to use the screen_abstracts function but I'm having trouble with adding my data in: 'screen_abstracts(data)'. When I put my data in it gives me this error: 'Error in $<-.data.frame(*tmp*, "label", value = c(date_generated = "ref_01", : replacement has 31 rows, data has 264'. I have so far been unable to troubleshoot the problem and didn't have this issue when using screen_titles. All I do know is that the '31 rows' is the number of columns in my data.

LilyJWheeler commented 2 years ago

I have found a work-around. I don't know exactly why but if I make the dataset a square (equal columns and rows) then it works