Executes a generic PCDaS API query.
Arguments
- pcdas_token
character. PCDaS API token. If not provided, the function will look for it on renvirom.
- sql_query
character. SQL.
- fetch_size
character. Pagination size for API call.
Details
The query is limited to retrieve 100 variables and 10,000 records by the ElasticSearch cluster.
In the query, must be a usea a database listed with list_pcdas_tables
.