Giter Club home page Giter Club logo

Comments (6)

PaulMelloy avatar PaulMelloy commented on July 20, 2024

The file should not be created by knitting the book. It is created through the markdown file in the folder DataWrangle (ExcludeBook_191115_PMMB_DataWrangling_PM.Rmd).
It has had some changes to it recently, so perhaps when knitting it seemed like changes were made.
I'll double-check that it is not altered in knitting a book

from mungbean_pm.

PaulMelloy avatar PaulMelloy commented on July 20, 2024

After checking the 'updated' data file was last changed when the dataWrangle file was updated. Both files have the same commit message applied to them.
The reason I created this file was many changes were being made from multiple raw data files and to get around the volume of code and time needed to reformat the data every time it needs to be read in I created a new file PM_MB_updated.csv. This file is created after the data is wrangled from numerous raw data files and is when the AUDPC is calculated.
We can store this data file in the cache directory if that is the appropriate thing to do. I am still learning the github repository/project etiquette. :)

from mungbean_pm.

adamhsparks avatar adamhsparks commented on July 20, 2024

Ok, so I didn't understand the provenance of it. However, the raw data should always be treated as read-only in the data directory. We shouldn't be overwriting any files in that directory no matter what the script or Rmd file is.

So if it's based on the raw data but is not raw data, then we need to move it over to cache.

Not a huge deal, but can save a lot of headache.

from mungbean_pm.

adamhsparks avatar adamhsparks commented on July 20, 2024

Also, if you're using write.csv() and not write_csv() you'll probably want to not write row names with the file. That results in an extra column of numeric values.

from mungbean_pm.

adamhsparks avatar adamhsparks commented on July 20, 2024

Are we done with this? Should it be closed?

from mungbean_pm.

PaulMelloy avatar PaulMelloy commented on July 20, 2024

Yeah I think it is closed. I have amended the as per your advice.
It's much better

from mungbean_pm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.