StevenWingett / LifeSciencesTrainingDatasets

A collection of datasets and accompanying scripts for learning how to analyse data
GNU General Public License v3.0
7 stars 5 forks source link

One of the dataset names has a newline in it: #26

Open s-andrews opened 4 years ago

s-andrews commented 4 years ago

Something like this wouldn't be too bad in real data, but we shouldn't have it in our metadata table:

> Training_Data_List$Data_set_Name[4]
[1] "Herbiverous  fish in reefs of\nArraial do Cabo"
s-andrews commented 4 years ago

Actually there's more than one:

> Training_Data_List %>%
+ filter(str_detect(Data_set_Name,"\n")) %>%
+ select(Data_set_Name)
                                                    Data_set_Name
1                  Herbiverous  fish in reefs of\nArraial do Cabo
2            Outdoor hobbies adopted by\nchildren during Covid-19
3             Indoor hobbies adopted by\nchildren during Covid-19
4 Investigation into sleep\ndeprevation causing migraines in rats
s-andrews commented 4 years ago

They're in other fields as well. They should all get kicked out.

Casey-Brown commented 4 years ago

Is that because I've tried to format it in excel so it's putting in line breaks?

s-andrews commented 4 years ago

It shouldn’t. Excel will generally wrap text unless there isn’t space in the cell

From: Casey-Brown notifications@github.com Sent: 28 July 2020 14:45 To: StevenWingett/LifeSciencesTrainingDatasets LifeSciencesTrainingDatasets@noreply.github.com Cc: Simon Andrews simon.andrews@babraham.ac.uk; Author author@noreply.github.com Subject: Re: [StevenWingett/LifeSciencesTrainingDatasets] One of the dataset names has a newline in it: (#26)

Is that because I've tried to format it in excel so it's putting in line breaks?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/StevenWingett/LifeSciencesTrainingDatasets/issues/26#issuecomment-665048866, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6HVY4AMVKRVCT33VFUKFDR53I4DANCNFSM4PKJ3UDA. The Babraham Institute, Babraham Research Campus, Cambridge CB22 3AT Registered Charity No. 1053902. The information transmitted in this email is directed only to the addressee. If you received this in error, please contact the sender and delete this email from your system. The contents of this e-mail are the views of the sender and do not necessarily represent the views of the Babraham Institute. Full conditions at: www.babraham.ac.ukhttp://www.babraham.ac.uk/terms

Casey-Brown commented 4 years ago

I think I manually inserted breaks

Casey-Brown commented 4 years ago

Think I managed to removed most of them