Code
library(tidyverse)
::opts_chunk$set(echo = TRUE, warning=FALSE, message=FALSE) knitr
Sai Pothula
December 7, 2022
Today’s challenge is to
read in a dataset, and
describe the dataset using both words and any supporting information (e.g., tables, etc)
Read in one (or more) of the following data sets, using the correct R package and command.
Find the _data
folder, located inside the posts
folder. Then you can read in the data, using either one of the readr
standard tidy read commands, or a specialized package such as readxl
.
Error: '/Users/pothula/Desktop/practice/601/601_Fall_2022/posts/_data/birds.csv' does not exist.
Error in eval(expr, envir, enclos): object 'bird' not found
Add any comments or documentation as needed. More challenging data sets may require additional code chunks and documentation.
The data is describing the live animals(bird) count among various countries in different years.There are total 14 columns represting various factors.There is a column item that describes the type bird. It is also describes the value, whether the data is official or not for those recorded years
Using a combination of words and results of R commands, can you provide a high level description of the data? Describe as efficiently as possible where/how the data was (likely) gathered, indicate the cases and variables (both the interpretation and any details you deem useful to the reader to fully understand your chosen data).
#| label: summary x <- summary(bird) x
---
title: "Challenge 1"
author: "Sai Pothula"
desription: "Reading in data and creating a post"
date: "12/07/2022"
format:
html:
toc: true
code-fold: true
code-copy: true
code-tools: true
categories:
- challenge_1
- railroads
- faostat
- wildbirds
---
```{r}
#| label: setup
#| warning: false
#| message: false
library(tidyverse)
knitr::opts_chunk$set(echo = TRUE, warning=FALSE, message=FALSE)
```
## Challenge Overview
Today's challenge is to
1) read in a dataset, and
2) describe the dataset using both words and any supporting information (e.g., tables, etc)
## Read in the Data
Read in one (or more) of the following data sets, using the correct R package and command.
- railroad_2012_clean_county.csv ⭐
- birds.csv ⭐⭐
- FAOstat\*.csv ⭐⭐
- wild_bird_data.xlsx ⭐⭐⭐
- StateCounty2012.xls ⭐⭐⭐⭐
Find the `_data` folder, located inside the `posts` folder. Then you can read in the data, using either one of the `readr` standard tidy read commands, or a specialized package such as `readxl`.
```{r}
bird <- read_csv("/Users/pothula/Desktop/practice/601/601_Fall_2022/posts/_data/birds.csv")
bird
```
Add any comments or documentation as needed. More challenging data sets may require additional code chunks and documentation.
## Describe the data
The data is describing the live animals(bird) count among various countries in different years.There are total 14 columns represting various factors.There is a column item that describes the type bird. It is also describes the value, whether the data is official or not for those recorded years
Using a combination of words and results of R commands, can you provide a high level description of the data? Describe as efficiently as possible where/how the data was (likely) gathered, indicate the cases and variables (both the interpretation and any details you deem useful to the reader to fully understand your chosen data).
```{r}
#| label: summary
x <- summary(bird)
x