Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export lab members to members.csv #565

Merged
merged 3 commits into from
Jan 17, 2025
Merged

Export lab members to members.csv #565

merged 3 commits into from
Jan 17, 2025

Conversation

manzt
Copy link
Member

@manzt manzt commented Jan 17, 2025

Adds script ./scripts/export-lab-members.ts which:

1.) Parses and validates member metadata from _members
2.) Prints the data serialized to .csv format to stdout

I have checked in the output of the file into assets/member.csv

deno run -A scripts/export-lab-members.ts > assets/members.csv

Members with invalid metadata will be printed nicely to the console to help with resolving these data quality issues.

@manzt manzt requested a review from dvdkouril January 17, 2025 19:56
Copy link
Collaborator

@dvdkouril dvdkouril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be very OK, since it doesn't touch anything and just produces the members.csv file.

@@ -7,6 +7,6 @@ job_title: Graduate Student
role: student
services: []
start: October 2024
end: ''
end:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
end:
end: December 2024

@manzt manzt merged commit 8ab93e1 into main Jan 17, 2025
3 checks passed
@manzt manzt deleted the manzt/export-lab-members branch January 17, 2025 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants