get_available_datasets: Getting Available Data Sets

Description Usage Arguments Details Value Examples

View source: R/get_available_datasets.R

Description

Function sources data sets available at https://statistics.gov.scot/.

Usage

1

Arguments

pattern

A optional pattern to match data set name.

...

Other options passed to grepl

Details

The functions executes simple SPARQL query to source distinct values for the objects of rdf:type defines as <http://publishmydata.com/def/dataset#Dataset>. The sourced values can be used in function get_geography_data and other functions to filter the query results to a specific data set.

Value

A data frame with data set names and URIs.

Examples

1
2
3
4
## Not run: 
get_available_datasets(pattern = "health")

## End(Not run)

konradzdeb/SmarterScotland documentation built on Oct. 2, 2019, 7:08 p.m.