Skip to contents

This function will return metadata associated with datasets available on opendata.scot

Usage

search_ods(search = "")

Arguments

search

A vector of search terms. Searches are performed on the title of the datasets and are case insensitive. If no search terms provided, metadata for all datasets will be returned.

Value

dataframe of metadata for available datasets (matching search term if provided).

Examples

all_datasets <- search_ods() # return ALL datasets
data <- search_ods(search = "bicycle") # search datasets
data <- search_ods(search = c("bicycle","bins")) # multiple search terms