This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(ggsankey) | |
library(ggtext) | |
library(colorspace) | |
# Daten von https://www.bmi.gv.at/412/Europawahlen/Europawahl_2024/files/endgueltiges_Ergebnis_Europawahl_26062024.xlsx | |
raw <- readxl::read_xlsx("endgueltiges_Ergebnis_Europawahl_26062024.xlsx") | |
# Daten auswählen, neue Variablen generieren, in Long-Format bringen | |
data <- raw |> filter(Gebietsname == "Österreich") |> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(eurostat) | |
library(ggflags) | |
library(countrycode) | |
library(geomtextpath) | |
library(ggtext) | |
data <- get_eurostat("icw_tax_03") | |
plotdat <- data |> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(oenb) | |
library(colorspace) | |
library(futurevisions) | |
# Load data on quarterly profits in the banking sector | |
data <- oenb_data(id = "3104", pos = "VDBKICBD66EL210") |> | |
select(period, value) |> | |
as_tibble() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(countrycode) | |
library(rdbnomics) | |
library(ggbump) | |
library(MetBrewer) | |
library(scales) | |
allcty <- codelist |> filter(!is.na(eu28)) |> pull(iso3c) |> tolower() | |
gfcf_private <- rdb(provider_code = "AMECO", dataset_code = "UIGP", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(ggstream) | |
library(pdftools) | |
library(wesanderson) | |
library(ggpp) | |
raw <- pdf_text(pdf = "https://www.statistik.at/fileadmin/pages/77/Pressemappe_2023.pdf") | |
pkw <- unlist(strsplit(raw[15], split = "\n")) |> | |
str_trim(side = "left") |> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GRAFIK: Anteil Kinder mit Mittagessen in der Betreuungseinrichtung | |
library(tidyverse) | |
library(readODS) | |
library(sf) | |
library(ggtext) | |
library(patchwork) | |
bez <- geojsonsf::geojson_sf("https://raw.githubusercontent.com/ginseng666/GeoJSON-TopoJSON-Austria/master/2021/simplified-99.9/bezirke_999_geo.json") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(readODS) | |
# Daten unter https://www.statistik.at/fileadmin/pages/298/Durchschnittliche_Zeitverwendung_2021-22.ods | |
longdata <- | |
read_ods("Durchschnittliche_Zeitverwendung_2021-22.ods", | |
sheet = "Tabelle_17", range = "A5:J129", col_names = F, | |
col_types = "ctcttcttct") |> | |
janitor::clean_names() |> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(ggforce) | |
library(geomtextpath) | |
# Download data from here: https://www.riaa.com/u-s-sales-database/ | |
vinyl <- read_csv2("vinyl.csv") |> | |
select(year = Year, value = `Value (Actual)`) | |
vinyl |> | |
ggplot(aes(x = year, y = 1)) + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(gghighlight) | |
library(ggtext) | |
# Data download: https://ads.nipr.ac.jp/vishop/#/extent | |
raw <- read.csv("VISHOP_EXTENT_GRAPH.csv") | |
dat <- raw |> | |
select(month, day = date, X1989:X2023) |> | |
pivot_longer(cols = X1989:X2023, names_to = "year", values_to = "ice", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
librarian::shelf(tidyverse, pdftools, geojsonsf, sf, ggtext, patchwork) | |
# PDF herunterladen und Seite 3 extrahieren | |
rawpdf <- pdf_text("https://www.parlament.gv.at/dokument/XXVII/AB/14482/imfname_1572157.pdf") | |
rawpdf <- rawpdf[3] | |
# Rohdaten in Zeilen umwandeln und Datenbereich auswählen | |
lines <- strsplit(rawpdf, '\n') |> unlist() |> str_trim(side = "left") | |
short <- lines[c(11:24,30:36,42:63)] |
NewerOlder