get.run | R Documentation |
Obtain the details of a details of a specified PEcAn run.
Hits the /api/run/{id}
API endpoint
get.run(server, run_id)
server |
Server object obtained using the connect() function |
run_id |
ID of the PEcAn run whose details are needed |
Response obtained from the /api/run/{id}
endpoint
Tezan Sahu
server <- connect(url="http://pecan.localhost:80", username="carya", password="illinois")
# Get details of run with id = '1002042201'
res <- get.run(server, 1002042201)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.