The function extract date from the Riksdagen Records.

extract_record_dates_from_record(record_path)

extract_record_dates_from_records(
  record_paths,
  mc.cores = getOption("mc.cores", detectCores() - 1L),
  ...
)

Arguments

record_path

a file path to a record XML file

record_paths

a vector of file paths to a record XML file

mc.cores

the number of cores to use (Linux and Mac only) in mclapply. Defaults to available cores - 1.

...

further arguments supplied to mclapply.

Value

The function returns a tibble data frame with the following variables:

record_id

The id of the record.

record_date

The date of the record.