Context

The BacDive Web Service can be configured to reply either in JSON or XML. The former is used in the examples.

R’s jsonlite seems to have replaced the older rjson.

Decision

We will request JSON from the BacDive Web service.

Status: accepted

Consequences

construct_url() needs to append ?format=json and jsonlite::fromJSON() needs to be used for parsing replies.