Blantyre Explorer is an interactive web application built using R and Shiny that allows users to explore various locations in Blantyre, Malawi. The app features a map with customizable markers that represent different types of locations, allowing users to filter and visualize data based on their interests.
- Interactive Map: Explore locations in Blantyre with an easy-to-use map interface.
- Customizable Markers: Markers on the map change color and icon based on the type of location.
- Filters: Users can filter locations by type to focus on specific categories.
- Responsive Design: The app is responsive and works well on both desktop and mobile devices.
If you want to run this app locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/Steven-Nanga/Blantyre-Explorer.git
-
Navigate to the Project Directory:
cd Blantyre-Explorer -
Install Required Packages: Ensure you have R installed on your machine, then run:
if (!require(shiny)) install.packages("shiny") if (!require(leaflet)) install.packages("leaflet") if (!require(dplyr)) install.packages("dplyr") if (!require(readr)) install.packages("readr") if (!require(bslib)) install.packages("bslib")
-
Run the Application:
shiny::runApp()
- Map Navigation: Pan and zoom the map to explore different areas of Blantyre.
- Filtering Locations: Use the sidebar filter to select the type of location you want to view on the map.
- Marker Interaction: Click on markers to view more information about the location.
This application is deployed and can be accessed online. Visit the deployed app using the following link:
Blantyre Explorer - Deployed Application
The data used in this application is stored in a CSV file named blantyre_combined_locations.csv. The file contains information about various locations in Blantyre, including their names, types, and coordinates.
If you'd like to contribute to this project, feel free to fork the repository and submit a pull request. All contributions are welcome!
This project is licensed under the MIT License. See the LICENSE file for more details.
- Shiny: Shiny by RStudio
- Leaflet: Leaflet for R
- Bootstrap: Bootstrap 5
For any questions or suggestions, please reach out to:
Steven Nanga
- GitHub: Steven-Nanga
- Email: [email protected]