subset_to_eu: Return all EU observations for a particular date

View source: R/eu_composition.R

subset_to_euR Documentation

Return all EU observations for a particular date

Description

Return all EU observations for a particular date

Usage

subset_to_eu(
  x,
  date = NA,
  country_id_var = attr(x, "country_id_var"),
  country_id_linktable = NA
)

Arguments

x

the dataset to subset

date

specified date for EU composition

country_id_var

name of the country id variable in x

TODO

- implement linktable country id handling (incl. varying id_vars for x and linktable?) - add option to subset to eu when only supplying party_id (link and then use parlgov to obtain country_id and call recursive?)


ghxm/comPosition documentation built on Jan. 29, 2024, 6:57 p.m.