This commit is contained in:
Felix Blanke 2023-08-27 00:23:00 +02:00
parent 195338aa89
commit a3a1af1842
2 changed files with 5 additions and 4 deletions

View File

@ -70,7 +70,10 @@ bundesland_dict = {
"1001": "Hamburg", "1001": "Hamburg",
} }
def get_bez_data(tags: list[str], url: str = "https://beschaeftigtenbefragung.verdi.de/") -> list[dict]:
def get_bez_data(
tags: list[str], url: str = "https://beschaeftigtenbefragung.verdi.de/"
) -> list[dict]:
r = requests.get(url) r = requests.get(url)
soup = BeautifulSoup(r.text, "html.parser") soup = BeautifulSoup(r.text, "html.parser")
bez_data = [] bez_data = []

View File

@ -19,9 +19,7 @@ def tables(
) )
df_state = construct_dataframe( df_state = construct_dataframe(
bez_data=bez_data[1], bez_data=bez_data[1], grouped=False, no_processing=True
grouped=False,
no_processing=True
) )
output_str = [] output_str = []