Assignment4 (1)
.docx
keyboard_arrow_up
School
DePaul University *
*We aren’t endorsed by this school
Course
241
Subject
Computer Science
Date
Jun 11, 2024
Type
docx
Pages
4
Uploaded by CorporalComputerPelican11
Assignment 4 | Creating Attribute Data
[Add your name here]
Objective:
In this assignment, you will implement the following:
Working with external data in .CSV or excel file format to perform table joins
Store spatial data and attribute data in geodatabase and/or in external shapefiles (spatial data)
Understand and use correct data types (long integers, short integers, float, double, text) to store various types of data without truncating values, rows, columns, field/variable and naming rules, key fields, joining
rules
Create attribute data (quantitative and qualitative) using manual data entry and field calculations
Use python scripts to compute field values
Create technically correct maps (correctly populated data, classifications , use use correct map types, colors, symbols and visual elements) with visual hierarchy
Analyze and describe the algorithm (methodology)
Technical writing (answering technical questions)
S
ubmit a single word document with the map and the answers to all the questions. For this assignment, you will need to explain the steps you took from beginning until the end to create the map. Make sure to keep screen captures of each step and write down what steps you took. This process is similar to what you see in the lab activity videos. The goal is for you to be able to explain the process to someone so that they can replicate your work using the steps you provided.
Q1: Mapping County Data
(30 Points)
In this question you will join the data, export it to a shapefile and then using a field calculator, you will write a formula using python code to compute population density.
Q1.1: Create a Map [8 Pts]
1.
Add the Selected_IL_Counties.shp and SchoolEntollment_2013.xls to ArcGIS Pro. If the SchoolEntollment_2013.xls doesn’t work, use the SchoolEntollment_2013.csv file instead. 2.
Examine both tables, identify the files to join. Once identified, join the fields.
3.
After joining it, export the data into a new shapefile and save it to the geodatabase (.gdb). Provide a suitable name for the new shapefile. 4.
Add only the new shapefile to ArcGIS Pro.
5.
Open the attribute table for the new shapefile, create a new field called “SchEnDen” with data type as Double. Save the changes you have made.
6.
Using the field calculator, compute School Enrollment Density. The formula to compue this is: (note: you will have to translate this formula to match the actual fields in your table)
School Enrollment Density = Scholl Enrollement / Sq. Miles
____________________________________________________________________________________
© Nandhini Gulasingam 1
7.
Create a map to should the School Enrollment Density for 2013. Source: U.S. Census 2013. Add all map elements. Label the map using County names.
Q1.2: Answer the following questions
1.
[1 pt]
Which county has the highest density? 2.
[1 pt]
Which county has the lowest density? Q1.3 : Technical Questions:
1.
[1 pt]
Which fields from both tables did you use to join? 2.
[2 pts]
What was the reason to use these two fields? (Hint: explain using joining rules discussed in the lectures)
3.
[1 pt]
Include the screen capture of the newly exported shapefile table. It should include the newly computed field.
4.
[1 pt]
How many rows are in the newly exported shapefile table (or the exported shapefile table)?
5.
[1 pt]
How many columns are in the newly exported shapefile table?
6.
[2 pts]
Explain why we used the data type ‘Double’ to compute and store the new variable value “School Enrollment Density” (SchEnDen)? Could have used any other data type?
7.
[12 pts]
Explain the methodology - Explain step-by-step on how you created this map from downloading and extracting the shapefiles to completing your final map (For example, the first step is to unzip the compressed shapefiles and save it into a folder, and add the shapefiles to ArcGIS application)
. Include screen captures while you explain each step. For each step, include a line indicating the purpose of the step (For example, extracting the shapefile was to uncompress the spatial data so that the GIS application
can read and display the file). Rubric:
Meet expectation
In progress of reaching the benchmark
Needs improvement
1. Comply with guidelines
100% of the points
: the report/map are written/made clearly and complies with the guidelines.
80% of the points:
the report/map are not written/made clearly while following the guidelines over 80% OR the report/map are written/made clearly following the guidelines only 60-
90%.
50% or less of the points:
the report/map follows the guidelines less than 50% regardless of clarity.
2. Use computational thinking (CT)
* concepts and skills
100% of the points
: clear demonstration that you correctly used CRS as CT concepts and skills.
70% of the points:
vague demonstration
that you used CRS correctly as CT concepts and skills.
25% of the points:
you incorrectly used CRS as CT concepts and skills
3. Analyze, describe Algorithm
** 100% of the points
: clear demonstration that you correctly used the terminologies, included relevant screen captures and explained all the steps
70% of the points:
vague demonstration
that you explained the steps or missed critical steps in explain the process of creating the map. 25% of the points:
you incorrectly explained or missed most of the steps in explaining how the map was created step-by-step.
4. Design solutions to 100% of the points
: a workflow you devised led 70% of the points:
a workflow you devised led to correct results, but it is 25% of the points:
a workflow you devised led ____________________________________________________________________________________
© Nandhini Gulasingam 2
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
example inn 100 sqlmstatement
arrow_forward
Grade Roster Sort (file I/O)
The file RosterScores.txt contains student test scores with comma-delimited data similar to what is shown in the screen snip below.
Names, Scores
Marie Curie, 89
Caroline Herschel, 70
Mary Anning, 93
Barbara McClintock, 99
Dorothy Hodkin, 85
My Solutions >
Write a script that loads the data from this file into a table array variable named RosterScores and sorts the rows in order of the test scores running highest to lowest. Save the
result in a new text file named RosterScores Sorted.txt.
arrow_forward
Range controls and null value controls may improve or hinder data integrity.
arrow_forward
DTSC670: Foundations of Machine Learning Models
Module 1
Assignment 2: COVID-19 Data Wrangling
Name:
The purpose of this assignment is to hone your data wrangling skills. Your task for this assignment is to perform the data preparation as instructed in the
DTSC670_Assignment_2 pdf listed in Brightspace. After performing all the data preparation tasks outlined in the document, run the code in the "Prepare
DataFrames for Grading" section.
You are supplied an Excel file called BrazilcOVIDData.xlsx - be sure to put the data file in the same directory as this Jupyter Notebook. Please note that it
may take around 5 minutes to read-in all of the data in this file.
In [ ]:
N ### ENTER CODE HERE ###
# Insert as many cells as you need, but be sure your code is very neat and very well documented.
In [ ]:
N # Get Final Features DataFrame
# features = ### ENTER CODE HERE ###
# Get Final Response DataFrame
# response = ### ENTER CODE HERE ###
arrow_forward
PHP script
arrow_forward
5
Import tips.csv. This dataset has a column named sex. Write a function named recode gender that has one
parameter (gender) and will recode Male to 0 and Female to 1, and will return np. nan if the value is neither Male nor
Female. Apply this function to the column sex of tips using apply (). Print the first five lines of the new dataframe.
Code and Output
arrow_forward
Data Manipulation Discussion
What is the syntax of composite conditions - that is, selection or merging on two or more columns?
arrow_forward
Using python (pycharm)Please solve all parts i am in need please )
arrow_forward
Question # 1 : P02-01- Jenny's Salon & Spa
Create a file called P02-01
Design the data models below
Export the file containing the data models as a PDF file and submit
P02-01a
At Jenny's Salon & Spa, we have several hairstylists that are salaried employees. In addition
to their salary, we store their first name, last name, social security number, mobile number,
and email address. The salon has clients, which they record first name, last name, mobile
number, email address, and preferred day. Some clients do not have a preferred day.
Name the first tab P02-01a
Identify and draw the entities
Add the attributes associated with each entity and identify them as mandatory or optional
Identify candidate keys for each entity
Specify the UID/PK for each entity
Specify all other candidate keys as unique keys (UKs)
P02-01b
Each hairstylist is assigned clients. When a hairstylist is hired, the hairstylist is not assigned
any clients during orientation. Each…
arrow_forward
University of Kerbala
College of CS & IT
Information Technology department
First Exam
Time: one hour
Database lab
Q-Design a system for airline reservation database, should have at least tables. In addition to
build schema, the required is:
1- write all instruction's to do this structure.
2- Make new field with titles notes to first table has data type integer.
3- Edit the new field to be character data type.
4- Remove any column from any table.
Good Luck!
arrow_forward
Organization
arrow_forward
Python please
starter code:
# Web App to Get Stock Market Data from AlphaVantage Serviceimport requests#Function that gets stock info from API# Returns results in list of two strings# DO NOT EDIT THIS FUNCTION EXCEPT TO INSERT YOUR API KEY WHERE INDICATEDdef getStock(symbol):baseURL = "https://www.alphavantage.co/query?function=GLOBAL_QUOTE&datatype=csv"keyPart = "&apikey=" + "REPLACE WITH YOUR API KEY" #Add API keysymbolPart = "&symbol=" + symbolstockResponse = requests.get(baseURL+keyPart+symbolPart)return stockResponse.text #Return only text part of response#Function that computes and displays resultsdef main():# Add code that meets the program specifications (see instructions in Canvas)#Code that starts the appmain()
arrow_forward
Please help me with this ?
arrow_forward
138.
Metadata about the relations are stored in ________
a.
File header
b.
Data dictionary
c.
Data query
d.
Data analyser
arrow_forward
QI Any row vector created can be
transposed to result in a column
vector. how ? (with example)
Your answer
arrow_forward
Transcribed Image Text
In this Assignment you need to desgin a Simple Inline query to fetch all the child reocrds using the SOQL Inline query feture. In this Problem you need to Fetch all the Contact and Opportunity reocrds below a Account. You can use specific Account Id to filter or you can use directly but you have write proper query with necessary Field. Please solve the problem and also run the SOQL Query on the Query Editor and attach the output SOLVE In the Salesforce
arrow_forward
I. APPLICATION.
Direction: Read the following Scenario and do according using XAMPP.
1. Prepare the login and setup procedure using PHP and MYSQL.
University needs to implement Admission processing system to maintain all its admission
related requirements. Assume that you are a member of the IT Development team of the
University and you are given the module of preparing the login and set up page.
Include the screen design of
Execution of the login page
Database and Table creation in localhost/phpmyadmin/ and
Source code
as the output.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Related Questions
- example inn 100 sqlmstatementarrow_forwardGrade Roster Sort (file I/O) The file RosterScores.txt contains student test scores with comma-delimited data similar to what is shown in the screen snip below. Names, Scores Marie Curie, 89 Caroline Herschel, 70 Mary Anning, 93 Barbara McClintock, 99 Dorothy Hodkin, 85 My Solutions > Write a script that loads the data from this file into a table array variable named RosterScores and sorts the rows in order of the test scores running highest to lowest. Save the result in a new text file named RosterScores Sorted.txt.arrow_forwardRange controls and null value controls may improve or hinder data integrity.arrow_forward
- DTSC670: Foundations of Machine Learning Models Module 1 Assignment 2: COVID-19 Data Wrangling Name: The purpose of this assignment is to hone your data wrangling skills. Your task for this assignment is to perform the data preparation as instructed in the DTSC670_Assignment_2 pdf listed in Brightspace. After performing all the data preparation tasks outlined in the document, run the code in the "Prepare DataFrames for Grading" section. You are supplied an Excel file called BrazilcOVIDData.xlsx - be sure to put the data file in the same directory as this Jupyter Notebook. Please note that it may take around 5 minutes to read-in all of the data in this file. In [ ]: N ### ENTER CODE HERE ### # Insert as many cells as you need, but be sure your code is very neat and very well documented. In [ ]: N # Get Final Features DataFrame # features = ### ENTER CODE HERE ### # Get Final Response DataFrame # response = ### ENTER CODE HERE ###arrow_forwardPHP scriptarrow_forward5 Import tips.csv. This dataset has a column named sex. Write a function named recode gender that has one parameter (gender) and will recode Male to 0 and Female to 1, and will return np. nan if the value is neither Male nor Female. Apply this function to the column sex of tips using apply (). Print the first five lines of the new dataframe. Code and Outputarrow_forward
- Data Manipulation Discussion What is the syntax of composite conditions - that is, selection or merging on two or more columns?arrow_forwardUsing python (pycharm)Please solve all parts i am in need please )arrow_forwardQuestion # 1 : P02-01- Jenny's Salon & Spa Create a file called P02-01 Design the data models below Export the file containing the data models as a PDF file and submit P02-01a At Jenny's Salon & Spa, we have several hairstylists that are salaried employees. In addition to their salary, we store their first name, last name, social security number, mobile number, and email address. The salon has clients, which they record first name, last name, mobile number, email address, and preferred day. Some clients do not have a preferred day. Name the first tab P02-01a Identify and draw the entities Add the attributes associated with each entity and identify them as mandatory or optional Identify candidate keys for each entity Specify the UID/PK for each entity Specify all other candidate keys as unique keys (UKs) P02-01b Each hairstylist is assigned clients. When a hairstylist is hired, the hairstylist is not assigned any clients during orientation. Each…arrow_forward
- University of Kerbala College of CS & IT Information Technology department First Exam Time: one hour Database lab Q-Design a system for airline reservation database, should have at least tables. In addition to build schema, the required is: 1- write all instruction's to do this structure. 2- Make new field with titles notes to first table has data type integer. 3- Edit the new field to be character data type. 4- Remove any column from any table. Good Luck!arrow_forwardOrganizationarrow_forwardPython please starter code: # Web App to Get Stock Market Data from AlphaVantage Serviceimport requests#Function that gets stock info from API# Returns results in list of two strings# DO NOT EDIT THIS FUNCTION EXCEPT TO INSERT YOUR API KEY WHERE INDICATEDdef getStock(symbol):baseURL = "https://www.alphavantage.co/query?function=GLOBAL_QUOTE&datatype=csv"keyPart = "&apikey=" + "REPLACE WITH YOUR API KEY" #Add API keysymbolPart = "&symbol=" + symbolstockResponse = requests.get(baseURL+keyPart+symbolPart)return stockResponse.text #Return only text part of response#Function that computes and displays resultsdef main():# Add code that meets the program specifications (see instructions in Canvas)#Code that starts the appmain()arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- COMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE LNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage