vz_get_register_xml: Download (XML) file of register

View source: R/school_register.R

vz_get_register_xmlR Documentation

Download (XML) file of register

Description

Uses CKAN to find the correct URL in the education ministry's open data catalogue and retrieve the file.

Usage

vz_get_register_xml(
  url = NULL,
  nuts3_kod = NULL,
  write_file = F,
  dest_dir = getwd()
)

Arguments

url

URL; if left to NULL, will use internal default

nuts3_kod

used to point to per-region datasets; if left unset, defaults to state-wide data

write_file

Whether to keep the downloaded XML file. Currently only writing to the working directory is supported.

dest_dir

Where to write the resulting XML

Value

Path to downloaded (XML) file.


petrbouchal/vsezved documentation built on July 14, 2024, 3:44 p.m.