You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -297,6 +297,14 @@ Take care not to confuse `afstemningid` with [`ballot_results_ft$ballot_nr`](#ba
297
297
head(northatlantic_votes_raw$afstemningid)
298
298
```
299
299
300
+
#### northatlantic_votes_raw\$aktørid
301
+
302
+
See [`northatlantic_votes$MP_id`](#northatlantic_votesmp_id). In the raw data, `aktørid` is stored as `r typeof(northatlantic_votes_raw$aktørid)` value.
303
+
304
+
```{r}
305
+
head(northatlantic_votes_raw$aktørid)
306
+
```
307
+
300
308
#### northatlantic_votes_raw\$opdateringsdato
301
309
302
310
For all records kept in [the Folketing online database](https://oda.ft.dk), the time stamp of its last update is stored in `opdateringsdato`. All dates are stored as values of the type `r typeof(northatlantic_votes_raw$opdateringsdato)`. The time stamps are formatted as `%Y-%m-%dT%T`, with some values even at split second level.
All legislative processes in Folketinget run their course through Folketinget in several steps which is described by `ft_process_step`. Process Steps are stored as values of the type `r typeof(ballot_topics$ft_process_step)` in Danish language..
589
-
590
-
<!-- FIXME This variable corresponds to the [`sagstrinid`](#ballot_info_rawsagstrinid) variable and the `Sagstrin` resource in [the Folketing online database](https://oda.ft.dk). -->
596
+
All legislative processes in Folketinget run their course through Folketinget in several steps which is described by `ft_process_step`. Process steps are stored as values of the type `r typeof(ballot_topics$ft_process_step)` in Danish language.
591
597
592
-
`ft_process_id` is used to join `ballot_topics` to [`northatlantic_ft`](#northatlantic_ft) based on matching with[`ballot_results_ft$ft_process_id`](#ballot_results_ftft_process_id).
598
+
This variable corresponds to the `titel` variable in the `Sagstrin` resource in [the Folketing online database](https://oda.ft.dk).
Each proposal that is being voted on in Folketinget is assigned an ID by [Folketingets åbne data service (ODA)](https://www.ft.dk/dokumenter/aabne_data) based on the proposal's topic. Each topic ID is thus a unique identifier for one topic relating to several ballots and debates etc. in Folketinget. This identifier is stored in `ft_topic_id`. Topic IDs are stored as values of the type `r typeof(ballot_topics$ft_topic_id)` as `r class(ballot_topics$ft_topic_id)` variable.
607
+
608
+
This variable corresponds to the `id` variable in the `Sag` resource in [the Folketing online database](https://oda.ft.dk).
Each proposal that is being voted on in Folketinget has a description of the topic(s) that are mentioned in the proposal. This description is stored in `ft_topic`. Topic descriptions are stored as values of the type `r typeof(ballot_topics$ft_topic)` as `r class(ballot_topics$ft_topic)` variable.
617
+
618
+
This variable corresponds to the `titel` variable in the `Sag` resource in [the Folketing online database](https://oda.ft.dk).
613
619
614
620
```{r}
615
621
head(ballot_topics$ft_topic)
@@ -619,7 +625,7 @@ head(ballot_topics$ft_topic)
619
625
620
626
### northatlantic_ft {#northatlantic_ft}
621
627
622
-
`northatlantic_ft` is the resulting product of the [targets pipeline](/_targets.R) and is provided as both `rds` file in `/data/processed` and `csv` file in `/data/processed/csv`. It contains data on voting records of the MPs specified in [`MP_names`](#mp_names), created by processing and joining [`ballot_results_ft`](#ballot_results_ft) and [`northatlantic_votes`](#northatlantic_votes). As per `r format(file.info(here("data", "processed", "northatlantic_ft.rds"))$mtime, "%B %Y")`, `northatlantic_ft` contains `r nrow(northatlantic_ft)` observations of `r ncol(northatlantic_ft)` variables.
628
+
`northatlantic_ft` is the resulting product of the [targets pipeline](/_targets.R) and is provided as both `rds` file in `/data/processed` and `csv` file in `/data/processed/csv`. It contains data on voting records of the MPs specified in [`MP_names`](#mp_names), created by processing and joining [`ballot_results_ft`](#ballot_results_ft), [`northatlantic_votes`](#northatlantic_votes) and [`ballot_topics`](#ballot_topics). As per `r format(file.info(here("data", "processed", "northatlantic_ft.rds"))$mtime, "%B %Y")`, `northatlantic_ft` contains `r nrow(northatlantic_ft)` observations of `r ncol(northatlantic_ft)` variables.
`ft_process_step` is created by using [`join_results()`](/src/targets/join_results.R) on `northatlantic_votes`, `ballot_results_ft`, `MP_names` and `ballot_topics`. See [`ballot_topics$ft_process_step`](#ballot_topicsft_process_step).
694
+
See [`ballot_topics$ft_process_step`](#ballot_topicsft_process_step).
687
695
688
696
```{r}
689
697
str(northatlantic_ft$ft_process_step)
690
698
```
691
699
692
700
#### northatlantic_ft\$ft_topic_id
693
701
694
-
`ft_topic_id` is created by using [`join_results()`](/src/targets/join_results.R) on `northatlantic_votes`, `ballot_results_ft`, `MP_names` and `ballot_topics`. See [`ballot_topics$ft_topic_id`](#ballot_topicsft_topic_id).
702
+
See [`ballot_topics$ft_topic_id`](#ballot_topicsft_topic_id).
695
703
696
704
```{r}
697
705
str(northatlantic_ft$ft_topic_id)
698
706
```
699
707
700
708
#### northatlantic_ft\$ft_topic
701
709
702
-
`ft_topic` is created by using [`join_results()`](/src/targets/join_results.R) on `northatlantic_votes`, `ballot_results_ft`, `MP_names` and `ballot_topics`. See [`ballot_topics$ft_topic`](#ballot_topicsft_topic).
710
+
See [`ballot_topics$ft_topic`](#ballot_topicsft_topic).
0 commit comments