Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#Included in this R project folder is the same CSV file from the Module 0 Download. # - - - - - - SETUP -

#Included in this R project folder is the same CSV file from the Module 0 Download.
#------SETUP------
#Ensure the tidyverse is installed and loaded.
#Load the CSV file into a data frame.
#Remove any records with empty/NA values
#------ASSIGNMENT------
#1. In one statement using the pipe operator, create a new data frame formed
# by first selecting the name and diameter columns/variables and then filters
# out trees with diameters in the range of 27 inches to 30 inches (inclusively).
# In Canvas for question 1, copy and paste the statement you used here.
#2. How many records are in this new data frame?
#3. How many Black Walnuts (JUGLANS NIGRA - BLACK WALNUT) are in the
# data frame created in question 1?
#4. With the data frame created in question 1, use the mutate function to add a
# third column/variable named "TREE_DBH_CM" to this data frame, which contains
# the TREE_DBH column converted from inches to centimeters.
# Conversion Formula: CM = IN *2.54
# In Canvas for question 3, copy and paste the statement you used here.
#The coordinates for the northwest corner of Logan Square are:
# Longitude (X): -75.172, Lat (Y): 39.959
#The coordinates for the southeast corner of Washington Square are:
# Longitude (X): -75.151; Lat (Y): 39.946
#(See the Boundary.png image in this project folder)
#5. Using the original data frame from the "SETUP" section, how many trees are
# within this boundary? using R studio

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions