Title: Data 607: Data Acquisition and Management
Name: Mohammad Zahid Chowdhury
Assignment:01
#Loading data:
#The data worldcup2022 is collected from https://data.fivethirtyeight.com/ and imported into rstudio.
```{r} worldcup2022 <- “C:/Users/zahid/OneDrive/Desktop/Data Science/Data 607/Assignment/Assignment 1/Assignment1Data/World Cup 2022.csv”
#Checking data is exist.
```{r}
file.exists(worldcup2022)
data_worldcup2022 <- read.csv(worldcup2022) # renamed as data_worldcup2022 for data worldcup2022
head(data_worldcup2022)
#I added a new column named ‘group’ to the dataset worldcup2022 and grouped the teams in the team1 column.
```{r}
group <- rep(LETTERS[1:8], each = 8)
data_worldcup2022$group <- groups[1:nrow(data_worldcup2022)]
View(data_worldcup2022)
```
#Conclusion: I loaded the data from https://data.fivethirtyeight.com/ and added a new column name group. This is the summary of my assignment1.