Skip to content

Commit

Permalink
Final project done
Browse files Browse the repository at this point in the history
  • Loading branch information
Festuus committed Nov 30, 2024
1 parent 37e4c1d commit beaf36f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ ebird %>%

#Format Data

```{r}
```{r, collapse=TRUE}
#Extract month and year from the "datataken" column of Flickr data
Osprey$year <- format(Osprey$datetaken, "%Y")
Osprey$month <- format(Osprey$datetaken, "%m")
Expand Down Expand Up @@ -214,7 +214,7 @@ Osprey <- Osprey[!is.na(Osprey$state), ]


#Visualizing Seasonal Geodistribution of Ospreys' Occurrences
```{r, echo = FALSE}
```{r, collapse=TRUE}
#Check the frequency of seasons
summer_frequency <- Osprey %>%
filter(season == "Summer") %>%
Expand Down Expand Up @@ -278,7 +278,7 @@ ggplot(seasonal_occ, aes(x = factor(state, levels = rev(unique(state))), y = fre
```

#Comparing Seasonal Geodistribution of Ospreys from Flickr to eBird
```{r, echo = FALSE}
```{r, collapse=TRUE}
#Check the frequency of seasons
winter_frequency <- Osprey %>%
filter(season == "Winter") %>%
Expand Down Expand Up @@ -347,7 +347,7 @@ ggplot(winter_occ, aes(x = factor(state, levels = rev(unique(state))), y = frequ
```

#Overall Seasonal Trend of Observations
```{r, echo = FALSE}
```{r, collapse=TRUE}
#Plot of seasons
seasons <- Osprey %>%
group_by(season) %>%
Expand Down Expand Up @@ -406,7 +406,7 @@ ggplot(seasonal_trend, aes(x = factor(season, levels = c("Spring", "Summer", "Fa
```

#Overall GeoDistribution of Ospreys in the US comparing both datasets
```{r, echo = FALSE}
```{r, collapse=TRUE}
#State freq
State_frequency <- Osprey %>%
count(state, name = "frequency") %>%
Expand Down

0 comments on commit beaf36f

Please sign in to comment.