datasetlist: Get the list of current data sets and their resources

View source: R/datasetlist.R

datasetlistR Documentation

Get the list of current data sets and their resources

Description

Use datasetlist() to manage the catalogue of data sets on the Open Data BCN website. This function may have an interest for citizens to know what information is available on the portal and the data sets that are being added.

Usage

datasetlist()

datasetlist(topic = c("Administration", "City and Services",
                      "Economy and Business", "Population",
                      "Territory"))

datasetlist(subtopic = c("Culture and Leisure", "Demography",
                         "Education", "Employment", "Environment",
                         "Housing", "Human resources",
                         "Legislation and justice", "Participation",
                         "Procurement", "Public opinion",
                         "Public sector", "Science and technology",
                         "Security", "Society and Welfare", "Sport",
                         "Tourism", "Town planning and Infrastructures",
                         "Trade", "Transport"))

Arguments

topic

character

subtopic

character

Details

  • If you want to retrieve all the current data sets and their resources, execute the function without arguments.

  • You can filter by topic and obtain a subset.

  • If you are having difficulties finding a certain data set, you can also filter by more specific topics.

Author(s)

Xavier Vivancos

Examples

# Retrieves all the current data sets
datasetlist()

# Only shows data sets about population
datasetlist(topic = "Population")

# Only shows data sets about sports
datasetlist(subtopic = "Sport")


xavivg91/baRcelona documentation built on Feb. 6, 2023, 4:32 a.m.