GithubHelp home page GithubHelp logo

Comments (4)

keithing avatar keithing commented on July 26, 2024 1

This could be pretty simple if we only returned a file id, allowing users to compose the functions (so they could use read_civis or download_civis if needed). The function could simply return all the outputs of script identified by name (defaulting to the most recent run).

>>> job_id <- -999999
>>> x <- fetch_output_file_ids(job_id, run_id=NULL)
>>> x

$some_image.png
[1] 39023

$some_data.json
[1] 232

>>> df <- read_civis(x[["some_data.json"]], using = jsonlite::fromJSON)

from civis-r.

keithing avatar keithing commented on July 26, 2024

Yeah, that would be great. It would also be really nice if we had a default of run_id=NULL and it just grabs the output from the most recent run.

from civis-r.

patr1ckm avatar patr1ckm commented on July 26, 2024

Ohhhhh I love that!

from civis-r.

hinnefe2 avatar hinnefe2 commented on July 26, 2024

Just chiming in with a +1 for exposing the function - I literally just wrote a function to do this myself.

from civis-r.

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.