Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy to use web application? #2

Open
Pjaerr opened this issue Oct 3, 2019 · 7 comments
Open

Easy to use web application? #2

Pjaerr opened this issue Oct 3, 2019 · 7 comments

Comments

@Pjaerr
Copy link

Pjaerr commented Oct 3, 2019

I haven't looked into specifically how this is working but I absolutely love it.

I am wondering if it is possible to create an easy to use web application for those that aren't developers to select a city and generate the image for them? I'm not sure how much of this is purely manual and can't be automated though.

I am happy to tackle this in the future (maybe a port to JavaScript or use of web assembly) but just opening to share/discuss ideas.

@erdavis1
Copy link
Owner

erdavis1 commented Oct 3, 2019 via email

@Pjaerr
Copy link
Author

Pjaerr commented Oct 3, 2019

@erdavis1 I would love to take this on, I need to finish my current data visualisation project/article and then I think I'll come back to this and try and build a web app so everyone can make use of this awesome project!

Thanks for your response and Ill update this when I do come back to it!

@Pjaerr
Copy link
Author

Pjaerr commented Jan 5, 2020

Just experimenting with this. Instead of me porting the code to JavaScript, I could instead just keep your R code as is and use something like Plumber (https://www.rplumber.io/) to expose the functionality as API endpoints for a web application.

Will look more into this. (Let me know if this is spamming you)

@erdavis1
Copy link
Owner

erdavis1 commented Jan 8, 2020 via email

@Pjaerr
Copy link
Author

Pjaerr commented Jan 8, 2020

So I got your code sort of working locally, having never used R or R Studio I had no idea what I was doing but it seemed the code ran really slowly and took over 5 minutes on the plotting and saving of an image, is this expected?

If that was just an issue with my machine or the way I set up R then I think using Plumber and exposing to the a web frontend would be extremely viable and is definitely something I'd want to do (subject to you cleaning up the code if that's what you feel like doing) to make this awesome project easily accessible.

Let me know what you think!

Thanks,
Josh

@erdavis1
Copy link
Owner

erdavis1 commented Jan 23, 2020 via email

@Pjaerr
Copy link
Author

Pjaerr commented Jan 23, 2020

@erdavis1 That's not a problem!

Okay so I think re-writing this code in something like Python would be the best option. I don't really know python too well but I think the issue would be more of understanding and porting over your R code as I absolutely don't know R.

A lot of my projects recently have been "comfortable" for me so I think it's definitely time for a challenge and I am happy to tackle rewriting this in tech that can be ran on the web!

I don't want to take up any of your time unnecessarily so if I have any questions should I just ask them here?

Thanks,
Josh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants