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
Prestige data is data set in the package carData in R. Download and install this
package and use it to perform the following exercises.
1. (a) How can you show the structure of the data? What data structure is prestige and
what data type is each variable in Prestige?
(b) What are the dimensions of the data?
(c) Display the first six and last six rows of the data
arrow_forward
Range controls and null value controls may improve or hinder data integrity.
arrow_forward
The file that contains information about the tables, fields, records, and properties included in the dataset has an ____ extension.
arrow_forward
Table is necessary
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
//Need typed version please in text not image
You are working with a database that stores information about suppliers, parts and projects. The Supply relation records instances of a Supplier supplying a Part for a Project.
The schema for the database used in this question is as follows: ( primary keys are shown underlined, foreign keys in bold).
SUPPLIER (SNo, SupplierName, City)
PART (PNo, PartName, Weight)
PROJECT (JobNo, JobName, StartYear, Country)
SUPPLY (SNo, PNo, JobNo, Quantity)
Provide relational algebra (NOT SQL) queries to find the following information.
NOTE:
You can use the symbols s, P, etc or the words ‘PROJECT’, ‘RESTRICT’ etc .
do not need to try to make efficient queries – just correct ones.
Where you use a join, always show the join condition.
List the name of any part that was not used on a project that commenced in 2020.
List the name of any part that has been supplied to all projects that commenced in 2020.
arrow_forward
بیان
ail.com
Task (2) Use all arrays to display the selected product data in HTML form inside table with default
values as follows:
Updating Product's Data:
Sony Laptop i7 - Code: T100
Note the following when sending data to WB:
a) The form method is post and the action script is
formToUpdate
saveProductData.php.
b) Display the image of the selected product, its
name and its code in the top of the page
c) Send the index value of the product data from the
array as a hidden field
d) The invisible values for each of the Type,
countries, and colors should be its array index.
e) The value of the day and month should be
formatted as 2 digits with leading zero to the
left. For the year, display last 10 years.
PRoductData.
Name
Sony Laptop i7
php
Price
425.7
G إدارة حسابك
|Туре:
Laptop - LT
Made In
O USA O Germany O Japan O China O Other
الات الصة
Color
|White v
Manufactured On Day: 28 v Month: March
Since 11 Months
Year: 2021 v
Save Product Data
arrow_forward
NOTE: Use the API endpoints available at https://jsonplaceholder.typicode.com/ to get the data required in these exercises.
HINT: Read the documented Resources and Routes.
Also the guide: https://jsonplaceholder.typicode.com/guide/
///////////////////////
4) Create a function named "getUser".
This function needs to accept a "userID" parameter.
Use Fetch with Async/Await to request the data for the requested user.
The function should return JSON data.
arrow_forward
EXCEL - VBA - MACRO
Create a code in VBA EXCEL, where every time you change cell B1 on Sheet1, a new tab is created, renamed with what is written in that cell. Each new tab created must contain all the information that is on Sheet1, if they are updated.
arrow_forward
Using python (pycharm)Please solve all parts i am in need please )
arrow_forward
Document I
Review
View
Help
Telmewat you want to do
Relerences
Mailings
AA Aa-
E bceDd AaBbCcDd AaBbC AaBbCcC AaB AaBbCcD AaBbCcDd AaBbCcC
A-7-A
Normal
1 No Spac. Heading 1
Heading 2
Title
Subtitle
Subtle Em...
Emphas
Font
Paragraph
Styles
Write a program to insert an element in the given array (1D) at the beginning. After insertion,
identify the largest element from the array, and delete it. After deleting the largest element, display
the final array elements on the screen.
O (Ctrl)-
IF
arrow_forward
Applied data science. Python
arrow_forward
A unique identifier for a data row that consists of more than one field is commonly called a:a. primary plus keyb. composite primary keyc. foreign keyd. none of the above
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
Using php, html and My sql
Create a college alumni tracking web database application.The application must issue queries from programming language PHP to a MySQL database. use the relations to create tables in a MySQL database (.sql file) and use the enhanced Task Forms to implement the application in PHP with embedded Javascript and MySQL queries. Include instructions for testing
arrow_forward
Submission guidelines: The assignment must be submitted by the deadline (earlier submissions are
encouraged) in PDF format through Blackboard using the following file name format:
LastName_FirstName_Assignment_1.pdf. The assignment must be typewritten.
All the assignments in this course are individual work; any overlap between assignment reports will be
penalized.
A bank requires for their customers to access their online banking accounts to provide as
User Id (or user name) the last 8 digits of their bank card number, and a password with a
length between 8 and 12 ASCII characters, including the following restrictions (posted on
their website):
Passwords must have at least 8 characters long and at most 12 characters long, and must include at least
one character from each of the following four character types:
Upper case letters ABC DEF
Lower case letters ghijkl
Numbers 1 2 345 67890
Special characters ! @ # $ % ^ & * (+) = -
The remaining characters of the password must be selected…
arrow_forward
please use visual c# language
this assignment has requirements i will list them too before the question
DATA (INPUT/OUTPUT)The logical and physical data structure of files should be defined in detail. Datastructure definitions must include the:a. description of each element, e.g. name, type, dimension;b. relationships between the elements, i.e. the structure and source;c. range of possible values of each element;d. initial values of each element.
COMPONENTS (SOURCE CODE NAMES, CLASSES, METHODS)Describe the software components (names or classes) and purpose that will be used.Include UML class diagram showing the properties and methods of the class.Describe the properties of the class and any constraints upon their value.Indicate where the algorithms defined in processing logic are implemented.
TESTINGPresent one or more named scenarios including the input data, expected output andthe success criteria desired that will be utilized to test the application. The testingplan should be…
arrow_forward
Complete all of the questions in this SQL file and submit the file for grading Open this file in SQL Workbench to complete all of the statements Make sure you run the CreateDB Script to create the sample database again so you have the correct data You will need it to create the queries based on these tables There is a .jpg file which shows the tables in the database
*/
/* Question 1 a) Create two tables with the same numbers of columns and datatypes (mininum 3 columns in each table) (3 marks) b) Populate that table with data (3 marks) c) Create a SELECT statement for each table and UNION them together (4 marks) */
/* Question 2 Create a query that lists the department number, employee number, and salaries of all employees in department D11. UNION the same information , but this time sum up all the salaries to create a one line summary entry for the D11…
arrow_forward
SQL Database help
arrow_forward
Having this information.
StudentsAttribute Name Data TypeStudentID char(11)FirstName varchar(20)LastName varchar(20)Gender char(1)DateofBirth date
CoursesAttribute Name Data TypeCourseCode varchar(6)CourseName varchar(70)Level char(2)Credits int
RegistrationAttribute Name Data TypeStudentID char(11)CourseCode varchar(6)Grade decimal(2, 1)
Write SQL code to:
1. How many courses are there on each level? 2. What is the average grade of courses that have been taken by the student with student ID 861103-2438?
3. Which students (studentID only) have the highest grade for the course ‘CS052’? 4. Find the courses (course codes only) that have been taken by both the student 861103-2438 and the student 123456-0980.
arrow_forward
Having this information.
StudentsAttribute Name Data TypeStudentID char(11)FirstName varchar(20)LastName varchar(20)Gender char(1)DateofBirth date
CoursesAttribute Name Data TypeCourseCode varchar(6)CourseName varchar(70)Level char(2)Credits int
RegistrationAttribute Name Data TypeStudentID char(11)CourseCode varchar(6)Grade decimal(2, 1)
Write SQL code to:
1. What are the student ID, the names, and birthday of the female students who were born before the last day of 1992? 2. How many students are registered in the course “PHY210”? 3. How many courses are offered by the department of Computer Science (i.e. course codes CS***)? 4. Which course(s) (couseCode and courseName) of level G1 give 5 credits?
arrow_forward
Describe procedure of views saving reprogramming effort.
arrow_forward
Relation:
Relation is a two-dimensional table in which data is named. The
relations have the named columns and numbers which denote the
unnamed rows.
Although relation is defined as the two-dimensional table of
data, not all the tables are considered as relations.
There are some properties that differentiate relation tables
from non-relation tables.
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_forwardPrestige data is data set in the package carData in R. Download and install this package and use it to perform the following exercises. 1. (a) How can you show the structure of the data? What data structure is prestige and what data type is each variable in Prestige? (b) What are the dimensions of the data? (c) Display the first six and last six rows of the dataarrow_forwardRange controls and null value controls may improve or hinder data integrity.arrow_forward
- The file that contains information about the tables, fields, records, and properties included in the dataset has an ____ extension.arrow_forwardTable is necessaryarrow_forwardDTSC670: 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 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//Need typed version please in text not image You are working with a database that stores information about suppliers, parts and projects. The Supply relation records instances of a Supplier supplying a Part for a Project. The schema for the database used in this question is as follows: ( primary keys are shown underlined, foreign keys in bold). SUPPLIER (SNo, SupplierName, City) PART (PNo, PartName, Weight) PROJECT (JobNo, JobName, StartYear, Country) SUPPLY (SNo, PNo, JobNo, Quantity) Provide relational algebra (NOT SQL) queries to find the following information. NOTE: You can use the symbols s, P, etc or the words ‘PROJECT’, ‘RESTRICT’ etc . do not need to try to make efficient queries – just correct ones. Where you use a join, always show the join condition. List the name of any part that was not used on a project that commenced in 2020. List the name of any part that has been supplied to all projects that commenced in 2020.arrow_forward
- بیان ail.com Task (2) Use all arrays to display the selected product data in HTML form inside table with default values as follows: Updating Product's Data: Sony Laptop i7 - Code: T100 Note the following when sending data to WB: a) The form method is post and the action script is formToUpdate saveProductData.php. b) Display the image of the selected product, its name and its code in the top of the page c) Send the index value of the product data from the array as a hidden field d) The invisible values for each of the Type, countries, and colors should be its array index. e) The value of the day and month should be formatted as 2 digits with leading zero to the left. For the year, display last 10 years. PRoductData. Name Sony Laptop i7 php Price 425.7 G إدارة حسابك |Туре: Laptop - LT Made In O USA O Germany O Japan O China O Other الات الصة Color |White v Manufactured On Day: 28 v Month: March Since 11 Months Year: 2021 v Save Product Dataarrow_forwardNOTE: Use the API endpoints available at https://jsonplaceholder.typicode.com/ to get the data required in these exercises. HINT: Read the documented Resources and Routes. Also the guide: https://jsonplaceholder.typicode.com/guide/ /////////////////////// 4) Create a function named "getUser". This function needs to accept a "userID" parameter. Use Fetch with Async/Await to request the data for the requested user. The function should return JSON data.arrow_forwardEXCEL - VBA - MACRO Create a code in VBA EXCEL, where every time you change cell B1 on Sheet1, a new tab is created, renamed with what is written in that cell. Each new tab created must contain all the information that is on Sheet1, if they are updated.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