get_sessions_details: Get the details of sessions

View source: R/main_script.R

get_sessions_detailsR Documentation

Get the details of sessions

Description

Get the details of sessions

Usage

get_sessions_details(
  date_range_from,
  date_range_to,
  plen_comm,
  type = "details",
  use_parallel = TRUE,
  raw = FALSE,
  extra_via_fact = FALSE
)

Arguments

date_range_from

The start date, should be in format "yyyy-mm-dd".

date_range_to

The end date, should be in format "yyyy-mm-dd".

plen_comm

Switch to pick between plenary (plen) and commission (comm) sessions.

type

Type of data to be returned, options include "document", "speech" or "details".

use_parallel

Boolean: should parallel workers be used to call the API?

raw

Boolean: should the raw object be returned?

extra_via_fact

Boolean: also search the underlying endpoint for linked documents? This may return documents not linked to the specific meeting, thus may also include meetings on dates before/after the date range.

Examples

## Not run: 

get_sessions_details(
  date_range_from = "2021-09-01",
  date_range_to = "2021-12-31",
  plen_comm = "plen",
  use_parallel = TRUE
)

## End(Not run)

PolscienceAntwerp/Flempar documentation built on Jan. 3, 2025, 4:03 p.m.