http_get | R Documentation |
Run HTTP GET request
http_get(url, as = NULL, file_name = NULL)
url |
the url |
as |
text/NULL, return as text or as is |
file_name |
the file name used to cache download |
a didor_http_response with two fields:
parsed content with the as
parameter
headers
result <- http_get(
"https://data.statistiques.developpement-durable.gouv.fr/dido/api/v1/datasets?page=1&pageSize=10",
as = "text"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.