Skip to content

Call API from inside R to get CSV results #10

@vojtechhuser

Description

@vojtechhuser

To help users, can you please provide R code that calls theapi call and gets CSV back

e.g. for this call
https://api.cpicpgx.org/v1/guideline?select=*,publication(title,pmid,year)&order=name

The default format for API responses is JSON. However, PostgREST has built-in support for responding to any request in CSV format. Use the Accept HTTP header with a value of text/csv.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions