Coder Social home page Coder Social logo

Comments (2)

japhir avatar japhir commented on July 23, 2024

For my analysis I simply use:

  dids <- iso_read_dual_inlet("path/to/files",
    discard_duplicates = FALSE)

  info  <- dids %>%
    iso_get_file_info()

  rawdata  <- dids %>%
    iso_get_raw_data()

  flatdata  <- full_join(info, rawdata, by = "file_id") %>%
    group_by(file_id) %>%
    arrange(file_id, type, cycle) %>%
    mutate(broadid = ifelse(`Identifier 1` %in% paste0("ETH-", 1:4),
      `Identifier 1`, "other"))

  rm(info, rawdata)

and work from there, so that every line always has the fileinfo attached. Is there a better way?

EDIT:
Found a better way by looking at the plotting function sources, does this mean the issue could be closed because you already implemented it? 👍

flatdata <- iso_get_raw_data(dids, gather = TRUE, include_file_info = everything())

from isoreader.

sebkopf avatar sebkopf commented on July 23, 2024

yes, thanks! I forgot to close it. include_file_info is indeed the best way to include the info.

from isoreader.

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.