-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from hordiienkoalina/develop
merge develop into main
- Loading branch information
Showing
24 changed files
with
12,076 additions
and
16,780 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,85 @@ | ||
# Map: Access to Education in Brazil | ||
### Extension of @felipehlvo's project: An interactive map measuring spatial access to public high schools in Brazil. | ||
# 🗺️ Atlas Educação | ||
Atlas Educação is a tool designed to visualize access to high-quality public high schools across Brazil. Leveraging datasets from the Brazilian Demographic Census (2010) and the School Census (2020), the platform highlights disparities in <ins>educational access</ins> and correlates them with <ins>demographic factors</ins> such as <ins>income, race, and gender</ins>. | ||
|
||
### Install | ||
## 🖼️ Interface Preview | ||
|
||
#### Data Preparation | ||
![alt text](public/BR-interface-preview.png) | ||
|
||
``` | ||
python3 scripts/csv_points_polygons.py [full path to access df csv] | ||
## 📊 Core Metrics | ||
|
||
python3 scripts/gpd_to_geojson.py [full path to folder containg csv files] | ||
``` | ||
### 1. Access Metric ($A_i$) | ||
**Formula**: $A_i$ = $∑_{j∈[Dist(i,j)<16km]} R_j W_{ij} G_{ij}$ | ||
|
||
#### Running the App | ||
This metric combines <ins>demand and supply factors</ins> for high schools within a census tract, incorporating: | ||
|
||
``` | ||
npm install | ||
npm start | ||
``` | ||
- **$R_j$: Demand-Adjusted Supply**: Calculated by dividing school capacity by the number of students aged 15-17 in the area; | ||
- **$W_{ij}$: Distance Weighting**: Adjusts for proximity between students and schools; | ||
- **$G_{ij}$: Competition Weighting**: Accounts for competition from neighboring schools within a 16 km radius. | ||
|
||
It then <ins>sums up all access levels</ins> from <ins>each census tract</ins> to all other <ins>schools within 16 km</ins> to get the <ins>overall access</ins> for a census tract. | ||
|
||
### 2. Quality-Access Metric ($H_i$). | ||
|
||
**Formula**: $H_i$ = $A_i Q_i$ | ||
|
||
An extension of the Access Metric, incorporating School Quality ($Q_i$), weighted using the IDEB (Primary Education Development Index) scores of each school. | ||
|
||
## 🗺️ Visualization | ||
The map <ins>visualizes these metrics</ins> by representing <ins>each dot as a cluster of approximately 10 school-age children</ins>, allowing users to observe: | ||
- Areas with higher or lower access to high-quality public schools; | ||
- Correlations between access levels and socioeconomic factors. | ||
|
||
## 💻 User Interface | ||
1. **Interactive Legend**: Adaptable by layer, showing distributions for different demographic groups (e.g., racial distribution).<br> | ||
2. **Layer Options**: Access-Quality, Quality, Access, Income, Gender and Race. <br> | ||
3. **Pop-up Information**: Detailed data for each location, including: | ||
- Census tract ID; | ||
- Number of school-age children; | ||
- Average monthly income; | ||
- Access and quality percentiles. | ||
|
||
## 🎯 Purpose and Impact | ||
Atlas Educação aims to inform the public and policymakers about geographic disparities in educational access. By identifying underserved regions, it guides resource allocation to improve educational equity. With over 20,500 school data points and demographic data across 310,000 census tracts, this tool is a robust resource for addressing educational inequality in Brazil, where the majority of high school students rely on public education. | ||
|
||
## 📂 Resources | ||
1. [Data (CSV + GeoJSON)](https://drive.google.com/drive/folders/1mLUgjvGivuuT-pvkGqEP_5QEk8fQOyJq?usp=sharing)<br> | ||
2. [Methodology](https://drive.google.com/file/d/1XcylVaGVecnlIRGluxcbrwDkYOeJ9owh/view?usp=sharing) | ||
|
||
## 🚀 Getting Started | ||
### Prerequisites | ||
|
||
🌐 **Web Browser**: Latest version of Chrome, Firefox, or Safari; <br> | ||
🐍 **Python**: Version 3.8 or higher; <br> | ||
📦 **Node.js**: Version 14 or higher. <br> | ||
|
||
### Installation | ||
1. Clone the Repository: ```git clone https://github.com/hordiienkoalina/access-to-education.git ``` | ||
2. Navigate to the Project Directory: ```cd access-to-education``` | ||
3. Install Dependencies: ```npm install``` | ||
4. Run the Application: ```npm start``` | ||
|
||
## 💡 Usage | ||
- Open your web browser and navigate to http://localhost:3000. | ||
- Use the interactive map to explore educational access across Brazil. | ||
- Toggle different layers to view data on income, race, gender, and more. | ||
- Click on dots to view detailed information about specific census tracts. | ||
|
||
## 🤝 Contributing | ||
Contributions are welcome! Please follow these steps: | ||
|
||
1. Fork the project. | ||
2. Create your feature branch: ```git checkout -b feature/YourFeature.``` | ||
3. Commit your changes: ```git commit -m 'Add some feature'.``` | ||
4. Push to the branch: ```git push origin feature/YourFeature.``` | ||
5. Open a pull request. | ||
|
||
## 📜 License | ||
|
||
This project is licensed under the GNU General Public License v3.0. See the LICENSE.md file for details. | ||
|
||
## 📧 Contact | ||
LinkedIn: [Felipe Horta Oliveira](https://www.linkedin.com/in/felipehlvoliveira/) <br> | ||
Email: felipehlvo@gmail.com <br> | ||
|
||
LinkedIn: [Alina Hordiienko](https://www.linkedin.com/in/hordiienkoalina/) <br> | ||
Email: alinahordiienko@gmail.com <br> |
Oops, something went wrong.