If a server status error is encoutered, content is set to NULL. Otherwise it is parsed from json to R objects.
monarch_api(url)
url | URL as a string. |
---|
A monarch_api S3 class with content as R objects, the url used for the query and the server response.
url <- "https://api.monarchinitiative.org/api/bioentity/gene/NCBIGene%3A8314?rows=100" resp <- monarch_api(url)