Hey, I am trying to learn R, but I have this dataset:
> # >dk (the name of the dataset)
> A tibble: 36 x 5
kvartal rogaland hordaland vestagder more
<date> <dbl> <dbl> <dbl> <dbl>
1 2011-03-01 5159 6511 2572 3284
2 2011-06-01 4471 6094 2177 2733
3 2011-09-01 4612 5767 2266 2708
4 2011-12-01 4380 5674 2371 2702
5 2012-03-01 4558 5603 2563 2685
6 2012-06-01 4318 5507 2308 2454
7 2012-09-01 4137 5070 2506 2415
8 2012-12-01 4060 4967 2526 2544
9 2013-03-01 4380 5545 2724 2851
10 2013-06-01 4301 5516 2361 2685
#… with 26 more rows
>
The kvartal is going to be my x-variable, with the name "Year", and many variables in the plot, rogaland to Rogaland, hordaland to Hordaland, vestagder to Vest-Agder and more to Møre og Romsdal. The y-axis name is going to be named "Antall arbeidsledige".
How do I get this done? I have tried this so many times, and I am really stuck.
It is going to look like this, but not with the same words of course. The countries are going to be replaced with Møre og Romsdal, Hordaland, Vest-Agder and Rogaland. Where it says country, it is going to say Fylke.
I would appreciate if someone helps me, thanks in advance