get.format | R Documentation |
Get details of PEcAn Format from the database using format id.
Hits the /api/formats/{format_id}
API endpoint.
get.format(server, format_id)
server |
Server object obtained using the connect() function |
format_id |
ID of the model to retrieve |
Response obtained from the /api/formats/{format_id}
endpoint
Tezan Sahu
server <- connect(url="http://pecan.localhost:80", username="carya", password="illinois")
# Get details of the Ameriflux.level4.h format (id = 19)
res <- get.format(server, format_id=19)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.