czso_get_catalogue: Get catalogue of open CZSO datasets

View source: R/core.R

czso_get_catalogueR Documentation

Get catalogue of open CZSO datasets

Description

Retrieves a list of all CZSO's open datasets available from the Czech Open data catalogue.

Usage

czso_get_catalogue(search_terms = NULL)

Arguments

search_terms

a regex pattern, or a vector of regex patterns, to filter the catalogue by. A case-insensitive filter is performed on the title, description and keywords. The search returns only catalogue entries where all the patterns are matched anywhere within the title, description or keywords.

Details

Pass the string in the dataset_id column to get_czso_table(). dataset_iri is the unique identifier of the dataset in the national catalogue and also the URL containing all metadata for the dataset.

Value

a data frame with details on all CZSO datasets available in the Czech National Open Data Catalogue. The columns are fairly well described by their names, except:

  • some columns contain IRIs instead of human readable text; still you can deduce the content from the IRI.

  • the spatial columns contains an IRI ending in the pattern {unit_type}/{unit_code}. The unit_type denotes what unit the data covers (scope/domain not granularity) and the second identifies the unit covered. The unit_type will usually be "stat" for "state" and the unit_code will be 1. The unit_type can also be "KR" for region or "OB" for municipality, or "OK" for district. In that case, the unit_code will be a code of that unit.

  • page points to the documentation, i.e. methodology notes for the dataset.

See Also

Other Core workflow: czso_get_codelist(), czso_get_table()

Examples


czso_get_catalogue()
czso_get_catalogue(search_terms = c("kraj", "me?zd"))


czso documentation built on Sept. 12, 2024, 7:28 a.m.