Closed gokeplerride closed 4 years ago
What do you mean by this exactly?
It's my impression that it would make sense to break things down into manageable pieces that work together. Correct me if I'm wrong ....
You mean like having different files/folders or so? Yeah we need some more structure for sure. How about having all the visuals in one file so it's easier to clear output when we commit changes?
yeah i agree it would be good to define. i'm not sure the best way of doing it
I think we could definitely clean up the 'create dfs' file and perhaps optimize that in a few loops - I was quite lazy with having a new block for every country. I'd say we try do all that in a loop or too and then add it to the get_data file, so that every time we grab new data it is then placed into the appropriate dfs within a single script. What do you guys think?
Second idea would be adding functions to all the analysis work so far, and then creating a second script "Visualisations" where we import 'Analysis', call all the functions and produce the graphs. Then we only have to worry about one file for visualisations and it might be cleaner. Not sure if that is good practice or not?
Makes total sense!!!!
OK first structural changes/tidy ups I think need to be done:
Yeah agreed, we should also make a difference btween animations, actuals and forecasts though
Thats a good idea. So you mean having say one file for scatter plots and having then multiple sections in the file for static, animation and forecasting? Or rather having one file for animations and having mixed plot types in there?
scraping, data engineering, analytics, visuals, automation scripts etc.