Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

So I just submitted this problem and someone replied that it needed clarification and mentioned that there was an external link to files. First of

image text in transcribed

So I just submitted this problem and someone replied that it needed clarification and mentioned that there was an external link to files. First of all, this is from the internet movie database which is well known, highly reputable and secure. Second, the Python code I am asking for in order to complete part one should work for any files containing similar information on movies. I should just be able plug these particular files into structured python code and be able to achieve the desired results of processing the files and printing the primary title and principal names of the cast for 20 films(not television shows) chosen at random.There should be no adult titles included. Fields should be separated by tab characters and records one per line. And finally write the results to a file named titles.txt. I will give the link to the three files that I will actually use but it shouldnt be necessary for you to access these same ones if it is against policy of Chegg. There are a great deal of similiar movie files from databases that you could use if you cant use the link i provide. The python code should work on any similar files from a database containing similar movie information. thanks

https://datasets.imdbws.com/

Project 1: Text file processing In the network folder //dus1/MCS-Share/CS355/text_files you will find a number of folders and a file called actresses.list. Each folder contains a file called data, tsv. There are three you will need for this assignment. 1. title, basics.tsy lists basic information for movies and tel evision shows. 2. names.basics.tsy lists the names and other information of p eople in the database. 3. title.principles.tsv lists title identifiers, and identifie rs for the principal cast. Your assignment: 1. process the title.basics, name.basics, and title.principles files, printing the primary title and names of the principal cast for 20 films (not television shows) chosen at random. Ensure there are no adult titles in your list. Fields should be separated by tab characters, and records one per line. Write the results to a file named titles.txt 2. In a separate file, list the complete records of all actresses in the actresses.list file that appear in your random movie sample. Separate the actress records with a line of 20 equal signs. Call this file actress.txt ==================== Submit your data files to Moodle. Save your source code to your shared drive, in a CS355/text_files folder. Include a readme.txt file describing your Project 1: Text file processing In the network folder //dus1/MCS-Share/CS355/text_files you will find a number of folders and a file called actresses.list. Each folder contains a file called data, tsv. There are three you will need for this assignment. 1. title, basics.tsy lists basic information for movies and tel evision shows. 2. names.basics.tsy lists the names and other information of p eople in the database. 3. title.principles.tsv lists title identifiers, and identifie rs for the principal cast. Your assignment: 1. process the title.basics, name.basics, and title.principles files, printing the primary title and names of the principal cast for 20 films (not television shows) chosen at random. Ensure there are no adult titles in your list. Fields should be separated by tab characters, and records one per line. Write the results to a file named titles.txt 2. In a separate file, list the complete records of all actresses in the actresses.list file that appear in your random movie sample. Separate the actress records with a line of 20 equal signs. Call this file actress.txt ==================== Submit your data files to Moodle. Save your source code to your shared drive, in a CS355/text_files folder. Include a readme.txt file describing your

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

Database Systems For Advanced Applications 9th International Conference Dasfaa 2004 Jeju Island Korea March 2004 Proceedings Lncs 2973

Authors: YoonJoon Lee ,Jianzhong Li ,Kyu-Young Whang

2004th Edition

3540210474, 978-3540210474

More Books

Students also viewed these Databases questions

Question

1. Describe the types of power that effective leaders employ

Answered: 1 week ago