{"id":14067785,"url":"https://github.com/Nirzaree/ShinyWebAppWithFormAndLeafletMap","last_synced_at":"2025-07-30T02:31:27.836Z","repository":{"id":223339338,"uuid":"303071290","full_name":"Nirzaree/ShinyWebAppWithFormAndLeafletMap","owner":"Nirzaree","description":"This repo contains the code to build a webapp for data collection and viewing the map on a leaflet map using R Shiny. The specific webapp that I built is aimed to collect data of sustainability practices of various eateries around the world, in the times of climate change.","archived":false,"fork":false,"pushed_at":"2024-10-21T11:55:33.000Z","size":2485,"stargazers_count":15,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-04T08:36:38.122Z","etag":null,"topics":["climate-change","climate-data","crowdsourcing","google-maps","google-sheets","maps","plastic-pollution","r","recaptcha","shiny","sustainability-score","webapp"],"latest_commit_sha":null,"homepage":"http://sustainableeateries.com/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nirzaree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-11T08:03:08.000Z","updated_at":"2024-11-04T12:41:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2aec709-e023-44b3-bd3f-1b950d9c7248","html_url":"https://github.com/Nirzaree/ShinyWebAppWithFormAndLeafletMap","commit_stats":null,"previous_names":["nirzaree/shinywebappwithformandleafletmap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nirzaree/ShinyWebAppWithFormAndLeafletMap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nirzaree%2FShinyWebAppWithFormAndLeafletMap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nirzaree%2FShinyWebAppWithFormAndLeafletMap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nirzaree%2FShinyWebAppWithFormAndLeafletMap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nirzaree%2FShinyWebAppWithFormAndLeafletMap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nirzaree","download_url":"https://codeload.github.com/Nirzaree/ShinyWebAppWithFormAndLeafletMap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nirzaree%2FShinyWebAppWithFormAndLeafletMap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267798625,"owners_count":24145727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["climate-change","climate-data","crowdsourcing","google-maps","google-sheets","maps","plastic-pollution","r","recaptcha","shiny","sustainability-score","webapp"],"created_at":"2024-08-13T07:05:46.755Z","updated_at":"2025-07-30T02:31:27.473Z","avatar_url":"https://github.com/Nirzaree.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# Shiny WebApp With Form \u0026 Leaflet Map\n\n-   The project now has a domain name too:\n    [sustainableeateries.com/](http://sustainableeateries.com/)!\n\nThis repo contains the code to make a webapp using R Shiny with the\nfollowing features:  \n1. Form that feeds data to google sheets  \n2. Use of Google Maps APIs in the form fields (autocomplete, geocoding)  \n3. Leaflet to plot data from sheets: + Clusters for larger data + Searching through\ndata + Marker colors by variables  \n4. Recaptcha for security\n\nStepwise building of the webapp has been explained in this [blog\npost](https://nirzaree.wordpress.com/2020/10/11/building-a-webapp-for-data-collection-visualization-using-r-shiny/).\n\nSteps to get the code running:  \n1. If you require any google maps api keys, then make a google maps\naccount and generate the keys and enter them in the required locations\nin the code.  \n2. If you use googlesheets for data entry, then make a .secret folder\nin the same directory as the app file and then force authentication once\nfor the project to make sure the token is cached there.  \n3. If you require recaptcha, then generate your keys (site key and\nsecret key) from \u003chttps://www.google.com/recaptcha/about/\u003e \n4. Generate a google sheet to store the data. (Sample [data\nsheet](https://docs.google.com/spreadsheets/d/1zo3MSY_W_sNlT4AN8RTOAamG79gnCt70c1uDRrOgUag/edit?usp=sharing))   \n5. Run the app.    \n6. View if the data is being filled correctly.\n\n![](gitcodefinal.gif)\n\nAdditionally, if you would like to contribute data about how sustainable\nare eateries around you, check the webapp live at\n\u003chttp://sustainableeateries.com/\u003e\n\n![](finalappflow.gif)\n\nI am also looking for collaborators for this project to work on some\nmore features so do reach out.\n\nAdios! ✨\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNirzaree%2FShinyWebAppWithFormAndLeafletMap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNirzaree%2FShinyWebAppWithFormAndLeafletMap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNirzaree%2FShinyWebAppWithFormAndLeafletMap/lists"}