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:
de: 2023--2024
en: 2023--2024
client:
de: ILO
en: ILO
title:
de: Externer Forscher, Ungleichheiten auf dem Arbeitsmarkt
en: External researcher, Inequalities on the Labour market
@ -70,8 +73,8 @@ experience:
de: 2023
en: 2023
title:
de: Consultant, Forschungsarbeit für nachhaltige Beschaffung in internationaler Logistik
en: Consultant, Research on sustainable procurement in international logistics
de: Consultant, Forschungsarbeit für nachhaltige Beschaffung in internationaler Logistik, Refinter Consulting
en: Consultant, Research on sustainable procurement in international logistics, Refinter Consulting
bullets:
- de: Qualitative Gegenüberstellung verschiedener Forschungsperspektiven im Lieferkettenmanagement
en: Qualitative comparison of various research strands within supply chain management
@ -82,9 +85,12 @@ experience:
- date:
de: 2022
en: 2022
client:
de: Universität Roskilde
en: Roskilde University
title:
de: Consultant, Datenbankforschung internationale Hilfsgelder, Universität Roskilde
en: Consultant, Database research international aid funds, Roskilde University
de: Consultant, Datenbankforschung internationale Hilfsgelder
en: Consultant, Database research international aid funds
bullets:
- de: Präsentation zu Einblick in digitaler Forschung in Datenbanken und Kodierungssystemen
en: Presentation of introduction to digital research in databases and coding systems
@ -95,8 +101,11 @@ experience:
- date:
de: 2022
en: 2022
client:
de: Universität Roskilde
en: Roskilde University
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
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.'
@ -111,9 +120,12 @@ experience:
- date:
de: 2022
en: 2022
client:
de: UNU-WIDER
en: UNU-WIDER
title:
de: Forschungsassistenz, Entwicklungsprojekte zur Reduzierung Ungleichheitstrends, UNU-WIDER
en: Research Assistant, Development projects to reduce inequality trends, UNU-WIDER
de: Forschungsassistenz, Entwicklungsprojekte zur Reduzierung Ungleichheitstrends
en: Research Assistant, Development projects to reduce inequality trends
publication:
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.
@ -128,9 +140,12 @@ experience:
- date:
de: 2022
en: 2022
client:
de: ILO
en: ILO
title:
de: Consultant, Review Verknüpfung sozialer Schutz, Produktivität und Formalisierung, ILO
en: Consultant, Social Protection, Productivity and Formalization Nexus Review, ILO
de: Consultant, Review Verknüpfung sozialer Schutz, Produktivität und Formalisierung
en: Consultant, Social Protection, Productivity and Formalization Nexus Review
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."
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:
de: 2022
en: 2022
client:
de: Universität Roskilde
en: Roskilde University
title:
de: Consultant, Review Arbeitsmarktpolitiken in Asien und dem Pazifik, Universität Roskilde
en: Consultant, Labour Market Policies Review in Asia and the Pacific, Roskilde University
de: Consultant, Review Arbeitsmarktpolitiken in Asien und dem Pazifik
en: Consultant, Labour Market Policies Review in Asia and the Pacific
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.'
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:
de: 2021
en: 2021
client:
de: Universität Roskilde
en: Roskilde University
title:
de: Forschungsassistenz, informelle Organisierung und Absicherung, Universität Roskilde
en: Research Assistant, informal organization and social security, Roskilde University
de: Forschungsassistenz, informelle Organisierung und Absicherung
en: Research Assistant, informal organization and social security
publication:
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
@ -174,9 +195,12 @@ experience:
- date:
de: 2021
en: 2021
client:
de: Universität Roskilde
en: Roskilde University
title:
de: Redaktionsassistenz, SPIWORK-Projekt, Universität Roskilde
en: Editorial Assistant, SPIWORK Project, Roskilde University
de: Redaktionsassistenz, SPIWORK-Projekt
en: Editorial Assistant, SPIWORK Project
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.'
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
en: 2018
title:
de: Veranstaltungs- und Lehrassistenz, Transatlantische Sommerschule Cultures of Security
en: Event and Teaching Assistant, Trans Atlantic Summer School Cultures of Security
de: Lehrassistenz, Transatlantische Sommerschule Cultures of Security, Universität Leipzig
en: Teaching Assistant, Trans Atlantic Summer School Cultures of Security, University of Leipzig
bullets:
- de: Vorbereitung, Organisation und Umsetzung von Lehrveranstaltungen und 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],
lang: str = "en",
headline: str = "",
subdued_publications: bool = True, # slightly off-color presentation
bulletpoints_show: bool = True,
subdued_publications: bool = True, # slightly off-color presentation
bulletpoints_show: bool = True, # display detailed bulletpoints per job
):
if "experience" not in data:
return ""
@ -32,7 +32,12 @@ def experience_to_md(
md = f"{headline}\n\n"
md += "\\definecolor{publication}{rgb}{0.5,0.5,0.5}\n\n"
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:
md += _publication_md(exp["publication"][lang], subdued_publications)