{"id":48021582,"url":"https://github.com/milos-agathon/forest_map_europe","last_synced_at":"2026-04-04T13:47:37.304Z","repository":{"id":114877970,"uuid":"374361070","full_name":"milos-agathon/forest_map_europe","owner":"milos-agathon","description":"This repo demonstrates how to easily overlay community polygons on forest cover data and make a beautiful map using R and ggplot2","archived":false,"fork":false,"pushed_at":"2021-06-06T13:44:49.000Z","size":1240,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-03T13:12:51.762Z","etag":null,"topics":["data-science","data-visualization","ggplot2","gis","r","satellite-imagery","spatial-analysis","zonal-statistics"],"latest_commit_sha":null,"homepage":"https://milospopovic.net","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/milos-agathon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-06-06T12:59:18.000Z","updated_at":"2024-04-15T11:27:20.000Z","dependencies_parsed_at":"2023-09-22T07:24:41.162Z","dependency_job_id":null,"html_url":"https://github.com/milos-agathon/forest_map_europe","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"1513f5d4bb44105a84ef6ab9cc7ef5e6b0c9a08e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/milos-agathon/forest_map_europe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milos-agathon%2Fforest_map_europe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milos-agathon%2Fforest_map_europe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milos-agathon%2Fforest_map_europe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milos-agathon%2Fforest_map_europe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milos-agathon","download_url":"https://codeload.github.com/milos-agathon/forest_map_europe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milos-agathon%2Fforest_map_europe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["data-science","data-visualization","ggplot2","gis","r","satellite-imagery","spatial-analysis","zonal-statistics"],"created_at":"2026-04-04T13:47:36.770Z","updated_at":"2026-04-04T13:47:37.294Z","avatar_url":"https://github.com/milos-agathon.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# European map of average weighted values (in %) for the forest fractional cover\n\nThis repo demonstrates how to easily overlay community polygons on forest cover data and make a beautiful map using ``R`` and ``ggplot2``.\n\nThe R code helps you overlay community spatial polygons over forest cover satellite imagery to compute and map the average percentage of the land area under forest using no more than 200 lines of code. \n\nThe data on fractional forest cover from [Global Land Cover](https://lcviewer.vito.be/download) of the Copernicus Monitoring Services. The shapefile of over 122,000 communities in Europe comes from Eurostat's GISCO [repo](https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/administrative-units-statistical-units/communes#communes16). The code overlay this shapefile on the forest cover data using function ``exact_extract`` from library [exactextract](https://github.com/isciences/exactextract) to compute the average value of each forest cover cell that intersects the community polygons, weighted by the percent of the cell that is covered. This will yield the average percentage of the forest cover for a specific community.\n\n![alt text](https://github.com/milos-agathon/forest_map_europe/blob/main/forest_cover_2019.png?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilos-agathon%2Fforest_map_europe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilos-agathon%2Fforest_map_europe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilos-agathon%2Fforest_map_europe/lists"}