ckan_query | R Documentation |
ckan_query
allows users to pull data using a custom SQL query, with the option of adding geometry if present in the dataset. This function returns either a dataframe or a list including metadata and records.
ckan_query(sql_query, geometry = FALSE, nested = FALSE)
sql_query |
A string SQL query |
geometry |
Boolean indicating if dataframe contains geometry or not. If TRUE, function returns a geometry object ready for mapping |
nested |
Boolean indicating if function will return list including metadata and records. If FALSE, only records are returned |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.