Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Web Scraping Homework - Mission to Mars

17/08/2020 Client: bingyanj Deadline: 24 Hours

 


Step 1 - Scraping


Complete your initial scraping using Jupyter Notebook, BeautifulSoup, Pandas, and Requests/Splinter.



  • Create a Jupyter Notebook file called mission_to_mars.ipynb and use this to complete all of your scraping and analysis tasks. The following outlines what you need to scrape.


NASA Mars News



# Example:



news_title = "NASA's Next Mars Mission to Investigate Interior of Red Planet"







news_p = "Preparation of NASA's next spacecraft to Mars, InSight, has ramped up this summer, on course for launch next May from Vandenberg Air Force Base in central California -- the first interplanetary launch in history from America's West Coast."

JPL Mars Space Images - Featured Image



  • Visit the url for JPL Featured Space Image here:  https://www.jpl.nasa.gov/spaceimages/?search=&category=Mars 

  • Use splinter to navigate the site and find the image url for the current Featured Mars Image and assign the url string to a variable called featured_image_url.

  • Make sure to find the image url to the full size .jpg image.

  • Make sure to save a complete url string for this image.


# Example:



featured_image_url = 'https://www.jpl.nasa.gov/spaceimages/images/largesize/PIA16225_hires.jpg'

Mars Weather



  • Visit the Mars Weather twitter account here and scrape the latest Mars weather tweet from the page. Save the tweet text for the weather report as a variable called mars_weather.

  • Note: Be sure you are not signed in to twitter, or scraping may become more difficult.

  • Note: Twitter frequently changes how information is presented on their website. If you are having difficulty getting the correct html tag data, consider researching Regular Expression Patterns and how they can be used in combination with the .find() method.


# Example:



mars_weather = 'Sol 1801 (Aug 30, 2017), Sunny, high -21C/-5F, low -80C/-112F, pressure at 8.82 hPa, daylight 06:09-17:55'

Mars Facts



  • Visit the Mars Facts webpage here and use Pandas to scrape the table containing facts about the planet including Diameter, Mass, etc.

  • Use Pandas to convert the data to a HTML table string.


Mars Hemispheres



  • Visit the USGS Astrogeology site here to obtain high resolution images for each of Mar's hemispheres.

  • You will need to click each of the links to the hemispheres in order to find the image url to the full resolution image.

  • Save both the image url string for the full resolution hemisphere image, and the Hemisphere title containing the hemisphere name. Use a Python dictionary to store the data using the keys img_url and title.

  • Append the dictionary with the image url string and the hemisphere title to a list. This list will contain one dictionary for each hemisphere.


# Example:



hemisphere_image_urls = [



   {"title": "Valles Marineris Hemisphere", "img_url": "..."},



   {"title": "Cerberus Hemisphere", "img_url": "..."},



   {"title": "Schiaparelli Hemisphere", "img_url": "..."},



   {"title": "Syrtis Major Hemisphere", "img_url": "..."},



]

Step 2 - MongoDB and Flask Application


Use MongoDB with Flask templating to create a new HTML page that displays all of the information that was scraped from the URLs above.



  • Start by converting your Jupyter notebook into a Python script called scrape_mars.py with a function called scrape that will execute all of your scraping code from above and return one Python dictionary containing all of the scraped data.

  • Next, create a route called /scrape that will import your scrape_mars.py script and call your scrape function.


    • Store the return value in Mongo as a Python dictionary.



  • Create a root route / that will query your Mongo database and pass the mars data into an HTML template to display the data.

  • Create a template HTML file called index.html that will take the mars data dictionary and display all of the data in the appropriate HTML elements. Use the following as a guide for what the final product should look like, but feel free to create your own design.


final_app_part1.png final_app_part2.png


Step 3 - Submission


To submit your work to BootCampSpot, create a new GitHub repository and upload the following:



  1. The Jupyter Notebook containing the scraping code used.

  2. Screenshots of your final application.

  3. Submit the link to your new repository to BootCampSpot.


Hints



  • Use Splinter to navigate the sites when needed and BeautifulSoup to help find and parse out the necessary data.

  • Use Pymongo for CRUD applications for your database. For this homework, you can simply overwrite the existing document each time the /scrape url is visited and new data is obtained.

  • Use Bootstrap to structure your HTML template.

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Engineering Guru
Homework Guru
Top Essay Tutor
Top Grade Tutor
Online Assignment Help
Assignment Hub
Writer Writer Name Offer Chat
Engineering Guru

ONLINE

Engineering Guru

Hello, I have more than 10 years of writing experience. I can manage essays, summaries, reports and analysis works in very short period of time. I produce plagiarism free content for my clients, will send you FREE TURNITIN Reports as well. Thank you.

$150 Chat With Writer
Homework Guru

ONLINE

Homework Guru

I am a Ph.D. writer with more than 9 years of working experience in Writing. I have successfully completed more than 4500 projects for my clients with their full amount of satisfaction. I will provide you super quality work according to your given requirements and deadline with ZERO plagiarism. I can manage business and professional writing against very reasonable prices.

$130 Chat With Writer
Top Essay Tutor

ONLINE

Top Essay Tutor

I feel, I would be the best choice for this project, I have more than 10 years of working experience in writing essys, reports, case studies and dissertations. Give me your work and get relax

$120 Chat With Writer
Top Grade Tutor

ONLINE

Top Grade Tutor

I can provide you with a guarantee of plagiarism free work. I am producing quality content for my clients including ARTICLE WRITING, ESSAY WRITING, RESEARCH PAPERS, BUSINESS PLAN, TECHNICAL WRITING, MATLAB, THESIS & DISSERTATIONS.

$145 Chat With Writer
Online Assignment Help

ONLINE

Online Assignment Help

I am an elite class Ph.D. writer who can deliver you a supreme level of content within your given deadline. I will give you plagiarism free content within your given timeline.

$125 Chat With Writer
Assignment Hub

ONLINE

Assignment Hub

I feel, I am the best option for you to fulfill this project with 100% perfection. I am working on this forum since 2014 and I have served more than 1200 clients with a full amount of satisfaction.

$125 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

How much is a big mac in south africa - Fact finding techniques in software engineering pdf - Public Relations Final Paper - Ancient hebrew research center - Adelia estudia más que soraya; ella toma más cinco clases. soraya es estudiante que adelia. - Events such as the nanking massacre and japanese-american internment - Algebraic statement of the utility-maximizing rule - A worthy woman from beside bath city - A piston cylinder device contains 0.85 kg of refrigerant 134a - Technical project paper information systems security - Cb messages note 8 - Jerusalem wedding hall collapse - Making your own kilt - Ib math studies logic questions - Which type of exocrine gland is a simple coiled tubular - Aladdin bottle fukushima no sake - What is the maximum height reached by the ball - Excessive piston ring groove width - Coca cola company mission and vision statement - Does oxidation occur at the anode - Is pso a gatekeeper - Crisis communication counseling skills are more essential than ever because - Molar extinction coefficient symbol - Download riverbed software - Freezing point depression and boiling point elevation lab - 6 Discussion - Why can t kangaroos jump backwards - Discussion - There will come soft rains powerpoint - How to write a formal analysis - Ergonomics - Time and distance overcome analysis - 7th grade science lab procedures - Boonma engine mounts catalogue - I need 2500 words on Television Affects - Denso ub1 air conditioner - Which portion of the microsoft baseline security analyzer (mbsa) scan takes the longest? - OT- Dis 8 - Wingate foundation music grant - U 5 2 nrt - Medieval crimes and punishments - Organizational culture survey tool for ebp examples - Futility wilfred owen form - Discussion forum - The historical american fire problem and the current trends - Mount gambier to bordertown - Janitor fish cleans aquarium - Management richard l daft 12th edition pdf - What is the magnitude of the component vector a⃗ x shown in the figure? (figure 1) - Animal adaptations for pandas - Approval to teach nsw - Quantitative Design - Kpu online self service - Spel - Jacobs university foundation year - Parts of a nuptial mass - How to write a concert review example - Compass n s e w - Sydney uni data bases - Csa z245 15 standard - Empirical referents of palliative care - Communication strategies research paper - Bme 210 Discussion 7 - Splunk regex match string - Case study , strategic management - How do i spell repore - Form 71a statement of financial position - Enamelled copper wire jaycar - Which of the following is an ethical concern of accountants - The Best Tips for Managing Multiple Assignments Effectively - Case studies abnormal unit 2 answers - Management leading and collaborating in a competitive world pdf 3 3 30 www.homeworkmarket.com/files/management-leading-collaborating-in-a-competitive-world-13th-edition-b078stlp98-pdf-486 4477 Dec 10 - Week-07 Discussion - HW - History of corrections and punishment - Writing centre adelaide uni - Avocent acs 8000 cli commands - Choosing a differentiation and positioning strategy - Keller brand resonance pyramid - Anti-Racism - Https online schoolbytes education sport - Week 4 discussion 2 - I connect two geometrical boxes in a flowchart - Nick is now seven times as old as harry - When amanda succeeds, her mother says, "you're so smart!" this type of praise might lead amanda to - Liberating education consists in acts of cognition - Crowbar overvoltage protection module - Why are consumers so willing to rent from redbox - How many square feet in 144 inches - Toyota sienna swagger wagon video - Managerial accounting multiple choice questions - 100 hotter grace glasses no lenses - Assassin's creed freedom cry common sense media - Is digital communication good or bad - Hibbeler statics 12th edition solutions - Alphabet symmetry worksheet answers - Eric schlosser credentials - What is etb in accounting - Sci 207 week 5 lab weather and climate change - Chemistry lab