Time.
09/15/2021 - 12/15/2021 (4 month)
Team.
Peggy Du
Languege.
Python 3.10.1
Summary.
As a star war fans, I use python to collect data I want from "SWAPI" website and manipulate those data into meaningful csv spreedsheet.
My Role.
I wrote python code to collect and parse raw data from the Web with an automated tool. I used python to inspect, clean, transfer, and modeling data into useful information.
Problem
Use Python to scrap data from the "SWAPI" website and do some basic data analytics with the data collected.
Fianl Results
I collect data mainly from these three websites listed below. Star war fan websites like "SWAPI" and "Wookieepedia."
Star Wars API (Links to an external site.) (SWAPI),
Wookieepedia (Links to an external site.)
Wikipedia
Data scrapped, analyzed, and wrote into a csv file
Code
https://gist.github.com/PeijinDu/4fbf3a8573262f4b6487a8111690a359

The code of create_starship function: 

The code of create_person function: 

You have reached the socks : )
Let's keep in touch!

Linkedin ↗

Email Me↗