Separate client from title

Now we can sort and display per-client and not only chronologically
This commit is contained in:
Marty Oehme 2024-09-12 17:39:33 +02:00
parent f181d0a4fd
commit 05302ff8dc
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 49 additions and 20 deletions

View file

@ -53,6 +53,9 @@ experience:
- date: - date:
de: 2023--2024 de: 2023--2024
en: 2023--2024 en: 2023--2024
client:
de: ILO
en: ILO
title: title:
de: Externer Forscher, Ungleichheiten auf dem Arbeitsmarkt de: Externer Forscher, Ungleichheiten auf dem Arbeitsmarkt
en: External researcher, Inequalities on the Labour market en: External researcher, Inequalities on the Labour market
@ -70,8 +73,8 @@ experience:
de: 2023 de: 2023
en: 2023 en: 2023
title: title:
de: Consultant, Forschungsarbeit für nachhaltige Beschaffung in internationaler Logistik de: Consultant, Forschungsarbeit für nachhaltige Beschaffung in internationaler Logistik, Refinter Consulting
en: Consultant, Research on sustainable procurement in international logistics en: Consultant, Research on sustainable procurement in international logistics, Refinter Consulting
bullets: bullets:
- de: Qualitative Gegenüberstellung verschiedener Forschungsperspektiven im Lieferkettenmanagement - de: Qualitative Gegenüberstellung verschiedener Forschungsperspektiven im Lieferkettenmanagement
en: Qualitative comparison of various research strands within supply chain management en: Qualitative comparison of various research strands within supply chain management
@ -82,9 +85,12 @@ experience:
- date: - date:
de: 2022 de: 2022
en: 2022 en: 2022
client:
de: Universität Roskilde
en: Roskilde University
title: title:
de: Consultant, Datenbankforschung internationale Hilfsgelder, Universität Roskilde de: Consultant, Datenbankforschung internationale Hilfsgelder
en: Consultant, Database research international aid funds, Roskilde University en: Consultant, Database research international aid funds
bullets: bullets:
- de: Präsentation zu Einblick in digitaler Forschung in Datenbanken und Kodierungssystemen - de: Präsentation zu Einblick in digitaler Forschung in Datenbanken und Kodierungssystemen
en: Presentation of introduction to digital research in databases and coding systems en: Presentation of introduction to digital research in databases and coding systems
@ -95,8 +101,11 @@ experience:
- date: - date:
de: 2022 de: 2022
en: 2022 en: 2022
client:
de: Universität Roskilde
en: Roskilde University
title: title:
de: Redaktionsarbeit, Soziale Absicherung und Widerstandsfähigkeit, Universität Roskilde de: Redaktionsarbeit, Soziale Absicherung und Widerstandsfähigkeit
en: Editorial work, Social Protection and Resilience, Roskilde University en: Editorial work, Social Protection and Resilience, Roskilde University
publication: publication:
de: 'Torm, N., Gundertofte, C. M., \& Thur, G. E. (2022). Social Protection and Resilience during COVID-19: An Interdisciplinary Analysis of the Role of Informal Worker Associations in Kenya. Roskilde Universitet. SECO Working Paper Series Vol. 2022 No. 6.' de: 'Torm, N., Gundertofte, C. M., \& Thur, G. E. (2022). Social Protection and Resilience during COVID-19: An Interdisciplinary Analysis of the Role of Informal Worker Associations in Kenya. Roskilde Universitet. SECO Working Paper Series Vol. 2022 No. 6.'
@ -111,9 +120,12 @@ experience:
- date: - date:
de: 2022 de: 2022
en: 2022 en: 2022
client:
de: UNU-WIDER
en: UNU-WIDER
title: title:
de: Forschungsassistenz, Entwicklungsprojekte zur Reduzierung Ungleichheitstrends, UNU-WIDER de: Forschungsassistenz, Entwicklungsprojekte zur Reduzierung Ungleichheitstrends
en: Research Assistant, Development projects to reduce inequality trends, UNU-WIDER en: Research Assistant, Development projects to reduce inequality trends
publication: publication:
de: Niño-Zarazúa, M., \& Morabito, C. (angenommen). Assessing the potential distributional impacts of development interventions. UNU-WIDER. de: Niño-Zarazúa, M., \& Morabito, C. (angenommen). Assessing the potential distributional impacts of development interventions. UNU-WIDER.
en: Niño-Zarazúa, M., \& Morabito, C. (forthcoming). Assessing the potential distributional impacts of development interventions. UNU-WIDER. en: Niño-Zarazúa, M., \& Morabito, C. (forthcoming). Assessing the potential distributional impacts of development interventions. UNU-WIDER.
@ -128,9 +140,12 @@ experience:
- date: - date:
de: 2022 de: 2022
en: 2022 en: 2022
client:
de: ILO
en: ILO
title: title:
de: Consultant, Review Verknüpfung sozialer Schutz, Produktivität und Formalisierung, ILO de: Consultant, Review Verknüpfung sozialer Schutz, Produktivität und Formalisierung
en: Consultant, Social Protection, Productivity and Formalization Nexus Review, ILO en: Consultant, Social Protection, Productivity and Formalization Nexus Review
publication: publication:
de: "Torm, N. (forthcoming). The Social Protection, Productivity and Formalization Nexus among low- and middle- income countries: A Scoping Review of the Literature. International Labour Office." de: "Torm, N. (forthcoming). The Social Protection, Productivity and Formalization Nexus among low- and middle- income countries: A Scoping Review of the Literature. International Labour Office."
en: "Torm, N. (forthcoming). The Social Protection, Productivity and Formalization Nexus among low- and middle- income countries: A Scoping Review of the Literature. International Labour Office." en: "Torm, N. (forthcoming). The Social Protection, Productivity and Formalization Nexus among low- and middle- income countries: A Scoping Review of the Literature. International Labour Office."
@ -144,9 +159,12 @@ experience:
- date: - date:
de: 2022 de: 2022
en: 2022 en: 2022
client:
de: Universität Roskilde
en: Roskilde University
title: title:
de: Consultant, Review Arbeitsmarktpolitiken in Asien und dem Pazifik, Universität Roskilde de: Consultant, Review Arbeitsmarktpolitiken in Asien und dem Pazifik
en: Consultant, Labour Market Policies Review in Asia and the Pacific, Roskilde University en: Consultant, Labour Market Policies Review in Asia and the Pacific
publication: publication:
de: 'Niño-Zarazúa, M., \& Torm, N. (2022). Active Labour Market Policies in Asia and the Pacific: A review of the literature. Roskilde Universitet. SECO Working Paper Series Vol. 2022 No. 4.' de: 'Niño-Zarazúa, M., \& Torm, N. (2022). Active Labour Market Policies in Asia and the Pacific: A review of the literature. Roskilde Universitet. SECO Working Paper Series Vol. 2022 No. 4.'
en: 'Niño-Zarazúa, M., \& Torm, N. (2022). Active Labour Market Policies in Asia and the Pacific: A review of the literature. Roskilde Universitet. SECO Working Paper Series Vol. 2022 No. 4.' en: 'Niño-Zarazúa, M., \& Torm, N. (2022). Active Labour Market Policies in Asia and the Pacific: A review of the literature. Roskilde Universitet. SECO Working Paper Series Vol. 2022 No. 4.'
@ -158,9 +176,12 @@ experience:
- date: - date:
de: 2021 de: 2021
en: 2021 en: 2021
client:
de: Universität Roskilde
en: Roskilde University
title: title:
de: Forschungsassistenz, informelle Organisierung und Absicherung, Universität Roskilde de: Forschungsassistenz, informelle Organisierung und Absicherung
en: Research Assistant, informal organization and social security, Roskilde University en: Research Assistant, informal organization and social security
publication: publication:
de: Riisgaard, L. (2020). Worker Organisation and Social Protection amongst Informal Petty Traders in Tanzania. Roskilde Universitet. CAE Working Paper No. 2020:4 de: Riisgaard, L. (2020). Worker Organisation and Social Protection amongst Informal Petty Traders in Tanzania. Roskilde Universitet. CAE Working Paper No. 2020:4
en: Riisgaard, L. (2020). Worker Organisation and Social Protection amongst Informal Petty Traders in Tanzania. Roskilde Universitet. CAE Working Paper No. 2020:4 en: Riisgaard, L. (2020). Worker Organisation and Social Protection amongst Informal Petty Traders in Tanzania. Roskilde Universitet. CAE Working Paper No. 2020:4
@ -174,9 +195,12 @@ experience:
- date: - date:
de: 2021 de: 2021
en: 2021 en: 2021
client:
de: Universität Roskilde
en: Roskilde University
title: title:
de: Redaktionsassistenz, SPIWORK-Projekt, Universität Roskilde de: Redaktionsassistenz, SPIWORK-Projekt
en: Editorial Assistant, SPIWORK Project, Roskilde University en: Editorial Assistant, SPIWORK Project
publication: publication:
de: 'Riisgaard, L., Mitullah, W.V., \& Torm, N. (Eds.). (2021). Social Protection and Informal Workers in Sub-Saharan Africa: Lived Realities and Associational Experiences from Tanzania and Kenya (1st ed.). Routledge.' de: 'Riisgaard, L., Mitullah, W.V., \& Torm, N. (Eds.). (2021). Social Protection and Informal Workers in Sub-Saharan Africa: Lived Realities and Associational Experiences from Tanzania and Kenya (1st ed.). Routledge.'
en: 'Riisgaard, L., Mitullah, W.V., \& Torm, N. (Ed.). (2021). Social Protection and Informal Workers in Sub-Saharan Africa: Lived Realities and Associational Experiences from Tanzania and Kenya (1st ed.). Routledge.' en: 'Riisgaard, L., Mitullah, W.V., \& Torm, N. (Ed.). (2021). Social Protection and Informal Workers in Sub-Saharan Africa: Lived Realities and Associational Experiences from Tanzania and Kenya (1st ed.). Routledge.'
@ -217,8 +241,8 @@ experience:
de: 2018 de: 2018
en: 2018 en: 2018
title: title:
de: Veranstaltungs- und Lehrassistenz, Transatlantische Sommerschule Cultures of Security de: Lehrassistenz, Transatlantische Sommerschule Cultures of Security, Universität Leipzig
en: Event and Teaching Assistant, Trans Atlantic Summer School Cultures of Security en: Teaching Assistant, Trans Atlantic Summer School Cultures of Security, University of Leipzig
bullets: bullets:
- de: Vorbereitung, Organisation und Umsetzung von Lehrveranstaltungen und Events - de: Vorbereitung, Organisation und Umsetzung von Lehrveranstaltungen und Events
en: Prepared, organized, and implemented schedule for teaching and events en: Prepared, organized, and implemented schedule for teaching and events

View file

@ -23,8 +23,8 @@ def experience_to_md(
data: dict[str, Any], data: dict[str, Any],
lang: str = "en", lang: str = "en",
headline: str = "", headline: str = "",
subdued_publications: bool = True, # slightly off-color presentation subdued_publications: bool = True, # slightly off-color presentation
bulletpoints_show: bool = True, bulletpoints_show: bool = True, # display detailed bulletpoints per job
): ):
if "experience" not in data: if "experience" not in data:
return "" return ""
@ -32,7 +32,12 @@ def experience_to_md(
md = f"{headline}\n\n" md = f"{headline}\n\n"
md += "\\definecolor{publication}{rgb}{0.5,0.5,0.5}\n\n" md += "\\definecolor{publication}{rgb}{0.5,0.5,0.5}\n\n"
for exp in data["experience"]: for exp in data["experience"]:
md += f"## {exp['title'][lang]}\\hfill{exp['date'][lang]}\n\n" client = exp["client"][lang] if "client" in exp else ""
title = exp["title"][lang] if "title" in exp else ""
md += (
# new python 3.12 f-string embedding niceness
f"## {title}{f", {client}" if client else ""}\\hfill{exp['date'][lang]}\n\n"
)
if "publication" in exp: if "publication" in exp:
md += _publication_md(exp["publication"][lang], subdued_publications) md += _publication_md(exp["publication"][lang], subdued_publications)