-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstage-zero
More file actions
101 lines (75 loc) · 4.49 KB
/
Copy pathstage-zero
File metadata and controls
101 lines (75 loc) · 4.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
### 🏆 HackBio Internship 2025 – Stage 0: Team BioCoders
#### 🔹 **Task Overview**
This task focused on fundamental coding syntax, data types, and data structures. The goal was to organize and display information about team members in a structured format without using functions, loops, or conditionals.
#### 📌 **Task Requirements:**
- Form a team of at least **five members**, each familiar with different programming languages.
- Choose **either R or Python** to complete the task (we used **R**).
- Organize and display the following details:
- Name
- Slack Username
- Email
- Hobby
- Country
- Discipline
- Preferred Programming Language
- Ensure that the final output is printed in a **clear and logical** manner.
- Record a short **video tutorial** explaining our approach and post it on **LinkedIn**.
---
## 🖥️ **Our Approach**
### 🚀 **Step 1: Selecting a Programming Language**
After discussion, our team chose **R** for this task due to its robust data handling capabilities.
### 📝 **Step 2: Creating a Data Structure**
We used an **R data frame**, which allows us to store structured data in tabular form.
### 🛠 **Step 3: Implementing the Code**
Here’s the **R script** used to store and display our team’s information:
```r
# Team BioCoders Task_Zero Assignment
# GitHub Repository: https://github.com/mkromah/HackBio-BioCoding-Intership/blob/main/HackBio_Internship_Assigment.ipynb
# LinkedIn Post: https://www.linkedin.com/posts/mkromah_hackbio-bioinformatics-biocoding-activity-7294767807068569600-D8fu?utm_source=share&utm_medium=member_desktop
# Creating a data frame to store team information
BioCoders_data <- data.frame(
Names = c("Nina Julian", "Fowowe Toyin", "Musa Al Hassan Kromah"),
Slack_username = c("Julian", "Toyin", "Musa"),
Email = c("anyangonina39@gmail.com", "toyintoyo05@gmail.com", "kromahmusa86@gmail.com"),
Hobby = c("Listening to music", "Reading", "Hiking"),
Country = c("Kenya", "Nigeria", "Liberia"),
Discipline = c("Biotechnology", "Biochemistry", "Biotechnology"),
Programming_language = c("R", "Python", "Python")
)
# Printing the organized data
print(BioCoders_data)
```
---
## 📊 **Code Explanation**
### 🔹 **1. Creating a Data Frame**
- We used `data.frame()` in **R** to store our team’s details.
- Each column represents a specific attribute: **Name, Slack Username, Email, Hobby, Country, Discipline, and Programming Language**.
### 🔹 **2. Populating the Data Frame**
- We assigned relevant values to each column using **vectors**.
- For example, `Names` contains a vector with each team member’s name.
### 🔹 **3. Displaying the Output**
- The final `print()` statement ensures the information is neatly presented as a table.
---
## ✅ **Final Output**
When executed, the script outputs the following structured table:
| Names | Slack Username | Email | Hobby | Country | Discipline | Programming Language |
|----------------------|---------------|--------------------------------|---------------------|---------|--------------|---------------------|
| Nina Julian | Julian | anyangonina39@gmail.com | Listening to music | Kenya | Biotechnology | R |
| Fowowe Toyin | Toyin | toyintoyo05@gmail.com | Reading | Nigeria | Biochemistry | Python |
| Musa Al Hassan Kromah | Musa | kromahmusa86@gmail.com | Hiking | Liberia | Biotechnology | Python |
---
## 🎥 **Video Submission**
Our team created a **short video tutorial** explaining our approach. You can find it on **LinkedIn**:
🔗 [LinkedIn Post](https://www.linkedin.com/posts/mkromah_hackbio-bioinformatics-biocoding-activity-7294767807068569600-D8fu?utm_source=share&utm_medium=member_desktop)
---
## 📌 **Key Learnings from This Stage**
- Understanding **basic R syntax** and how to create **data frames**.
- Learning how to store and structure **data efficiently**.
- Practicing **collaboration** in a team setting.
- Preparing a **professional video presentation** of our solution.
---
## 📂 **Project Repository**
🔗 [GitHub Repo](https://github.com/mkromah/HackBio-BioCoding-Intership/blob/main/HackBio_Internship_Assigment.ipynb)
---
## 🔥 **Next Steps: Moving to Stage 1**
With Stage 0 completed, we are now preparing for **Stage 1**, which will focus on **more advanced coding concepts**. Stay tuned! 🚀