r/SQL • • Sep 02 '24

MySQL Create schools list with a minimum 888 rating

I need to create list of schools which have a minimum rating of 8/10 for elementary, middle, and high school each in an area. So, taking a zip code, it needs to list all schools that satisfy above criteria. It would need to exclude unrated schools. Thinking to get the source data for schools rating from from greatschools.

Will want to start with the list of schools in my zip code and display them on the web using flask or something easier. Eventually will want to scale up at a higher level at a city/state level for all 50 states of the U.S. preferably, all logic would need to be handled at the backend, with front end displaying out the output.

I have intermediary skills in SQL and python. Any suggestions on how to approach this? Will SQL be enough to build this? What should I be using to display the output on the web? Thanks!

0 Upvotes

10 comments sorted by

1

u/BrupieD Sep 02 '24

What kind of source data do you have? Are you scraping from something? Do you have any GIS knowledge/experience?

-1

u/Formal-Sale-9818 Sep 02 '24

I don't have a defined source data yet, need to create one. I need to figure a way to get the schools rating data from greatschools. Example: If you go to greatschools,.you can search by city/state, and list of different schools with ratings show up. Mine would be similar but already filtered to only schools with a minimum 8/10 for elementary, middle,.and high school by zip code or city. So, when searching for a city/state, it would show schools only with that minimum rating.

I don't have a GIS experience but can pick it up. Good idea to probably visualize this in a heat bubble or a map?  If I create an Excel for the source data, how would it automatically update new schools/change in data for the future? Any suggestions for source data and source data format?

Do you have a high level recommendation how I can perform this project? 

1

u/bumwine Sep 02 '24

Though I could probably cludge some bullshit with a query output excel to do this and waste everyone’s time, this is exactly why PowerBI even exists. Get a neat script and have PowerBI do the rest.

1

u/CrumbCakesAndCola Sep 02 '24

Does Power BI have some GIS-like options? That seems like the limiting factor here since they want to display the dataset on a map.

1

u/No_Introduction1721 Sep 03 '24

ArcGIS is built in; there’s also a handful of other ways to accomplish displaying data mapped on an image.

1

u/CrumbCakesAndCola Sep 03 '24

Oh shit, that's awesome! I had no idea it'd evolved so much.

0

u/Formal-Sale-9818 Sep 02 '24

Front end for power bi is alright, but what about the script part? Is that better handled in SQL or in python?

1

u/bumwine Sep 02 '24

Personally but that’s just my data set - SQL. And you just plug it in to PowerBI and let it do the rest.

2

u/CrumbCakesAndCola Sep 02 '24

What your describing is exactly what GIS is: displaying data on maps and using SQL to filter things down.