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.