I wonder whether it would be better to have some more human readable representation when a client query result is printed? The current output is:
> # specify two query conditions
> l <- list(identifications.typeStatus="holotype", sex="female")
> # run query
> res <- client$query(queryParams=l)
> res
<Response>
Public:
clone: function (deep = FALSE)
content: QueryResult, R6
initialize: function (content, response)
response: response
Users might expect something that would tell how many results were returned by the query, and maybe some information about the first couple of results. A public print method that provides some of this information would be nice. Note that this might not be necessary to add to these classes if there are wrapper functions that users are calling instead.
I wonder whether it would be better to have some more human readable representation when a client query result is printed? The current output is:
Users might expect something that would tell how many results were returned by the query, and maybe some information about the first couple of results. A public print method that provides some of this information would be nice. Note that this might not be necessary to add to these classes if there are wrapper functions that users are calling instead.