which will give us nicely formatted code that is easy to read and work with.
At the moment, my guess is that whatever package you used to import the data simply ignored the Excel formatting and said, "Those looks like numbers to to me".
There are ways to get around this, here for example is a way for readxl' Cell and Column Types' but we need to know which package (library) you are using and possibly some other information.
AS a matter of good programming style and to clean up any dubiously formatted variable names such as ones with spaces I would recommend installing the {janitor} package and running its `clean_names() function.
This evening I was doing some work on the source data for my spreadsheet (via Google Forms > Google Sheets) before I copied it to Excel.
I may have something to do with how the 'options' were created in Google Forms multiple-choice question(typed in vs. copy and paste), because I noticed that some of the data/observations in Google Sheets also had the 15 decimal places. These 'observations' 01.01 to 01.20 were then used as column headings in my spreadsheet.
Whatever the source of the 15 decimal places, it would be very helpful to know how to get rid of them from within RStudio so all my Varaiables are in XX.XX format only.
This note arrived just as I was replying to your earlier one!
I don"t know what to think about this problem as I have never used Google Forms or Sheets, and as a Linux user I don't even have Excel.
I'd be happy to take a look at the problem; I can read Excel files using LibreOffice Calc but I or others here who may be better qualified to help probably need to see the Excel file or a truncated version of it.
If the data is not confidential, would it be possible to post it at a file hosting site such as dropbox or mediafire?
You could also just email it to me at jrkrideau at gmail period com.
These 'observations' 01.01 to 01.20 were then used as column headings in my spreadsheet.
I think this could really mangle nortonr's variable names. It may be that they will just have to rename the tibble. Annoying and tedious with 16 variables but not impossible.