example/R/decisions_net_ct.R

################################################################################
# Joshua C. Fjelstul, Ph.D.
# ecio R package
# automatically generated by the codebookr R package
################################################################################

#' Decision-level network data by case type
#' 
#' This dataset includes multi-dimensional network data on infringement
#' decisions. There is one dimension per case type (noncommunication vs
#' nonconformity) per decision stage. Network data is similar to directed
#' dyad-year data except that it only includes directed dyad-years with at
#' least one decision with respect to each case type and stage. For every
#' year, there is one node per department and one node per member state. Edges
#' can only exist between a department and a member state. There is an edge
#' between a department and a member state with respect to each case type and
#' stage if and only if the department issued at least one decision against
#' the member state during that year. The weight of the edge is the number of
#' decisions that the department opened against the member state. There is one
#' observation per department per member state per year per case type per
#' decision stage (2002-2020), excluding directed dyad-years where the state
#' was not a member of the EU, but only if the count of decisions is positive.
#' 
#' @format A data frame with 11 variables:
#' \describe{
#' \item{key_id}{\\code\{numeric\}. An ID number that uniquely identifies each
#' observation in the dataset. }
#' \item{year}{\\code\{numeric\}. The year the decision was issued by the
#' Commission.}
#' \item{d1_layer_id}{\\code\{numeric\}. An ID number that uniquely identifies
#' each layer of the network within the first dimension.}
#' \item{d1_layer}{\\code\{string\}. The layer of the network within the first
#' dimension, which is type of case.}
#' \item{d2_layer_id}{\\code\{numeric\}. An ID number that uniquely identifies
#' each layer of the network within the second dimension.}
#' \item{d2_layer}{\\code\{string\}. The layer of the network within the
#' second dimension, which is the decision stage.}
#' \item{from_node_id}{\\code\{numeric\}. An ID number that uniquely
#' identifies each node in the network that creates a link, which is always a
#' Commission department.}
#' \item{from_node}{\\code\{string\}. The name of the Commission department
#' that opened the infringement case.}
#' \item{to_node_id}{\\code\{numeric\}. An ID number that uniquely identifies
#' each node in the network that receives a link, which is always a member
#' state.}
#' \item{to_node}{\\code\{string\}. The name of the member state that the
#' Commission opened the case against. }
#' \item{edge_weight}{\\code\{numeric\}. The weight of the edge, which is the
#' number of decisions opened by the Commission.}
#' }
"decisions_net_ct"

################################################################################
# end R script
################################################################################
jfjelstul/codebookr documentation built on Dec. 20, 2021, 11:07 p.m.