Éléonore Mayola commited on
Commit
4dcb0b3
1 Parent(s): 5f89273

Update Readme, gather datasets in dir

Browse files
README.md CHANGED
@@ -12,4 +12,6 @@ pinned: true
12
  -> Using Voilà project [documentation](https://github.com/voila-dashboards/voila-huggingface?tab=readme-ov-file)
13
 
14
  Notebooks:
15
- - Lethal attacks against land & environmental defenders (2012 to 2021) -> [link](https://eleonore9-notebooks.hf.space/voila/render/land-defenders.ipynb)
 
 
 
12
  -> Using Voilà project [documentation](https://github.com/voila-dashboards/voila-huggingface?tab=readme-ov-file)
13
 
14
  Notebooks:
15
+ - Lethal attacks against land & environmental defenders (2012 to 2021)
16
+ - Dashboard -> [link](https://eleonore9-notebooks.hf.space/voila/render/land-defenders.ipynb)
17
+ - Folium map -> [link](https://eleonore9-notebooks.hf.space/voila/render/folium_map.ipynb)
notebooks/{attacks_by_country_for_folium.csv → datasets/attacks_by_country_for_folium.csv} RENAMED
File without changes
notebooks/{global_witness_led_22-09-22.csv → datasets/global_witness_led_22-09-22.csv} RENAMED
File without changes
notebooks/{victims_by_industry.csv → datasets/victims_by_industry.csv} RENAMED
File without changes
notebooks/{victims_by_perpetrator.csv → datasets/victims_by_perpetrator.csv} RENAMED
File without changes
notebooks/{victims_by_year_continent.csv → datasets/victims_by_year_continent.csv} RENAMED
File without changes
notebooks/folium_map.ipynb CHANGED
The diff for this file is too large to render. See raw diff
 
notebooks/land-defenders.ipynb CHANGED
@@ -30,7 +30,7 @@
30
  "outputs": [],
31
  "source": [
32
  "# Loading data from Global Witness (https://www.globalwitness.org/en/campaigns/environmental-activists/numbers-lethal-attacks-against-defenders-2012/)\n",
33
- "gw_data = pd.read_csv(\"global_witness_led_22-09-22.csv\")"
34
  ]
35
  },
36
  {
@@ -19260,9 +19260,9 @@
19260
  "metadata": {},
19261
  "outputs": [],
19262
  "source": [
19263
- "df_victims_industries = pd.read_csv(\"victims_by_industry.csv\")\n",
19264
  "\n",
19265
- "df_victims_perp = pd.read_csv(\"victims_by_perpetrator.csv\")"
19266
  ]
19267
  },
19268
  {
@@ -21555,7 +21555,7 @@
21555
  }
21556
  ],
21557
  "source": [
21558
- "df_victims_year_continents = pd.read_csv(\"victims_by_year_continent.csv\")\n",
21559
  "\n",
21560
  "yearly_continent = px.area(df_victims_year_continents, template=\"plotly_white\",\n",
21561
  " x='year', y='count', color=\"continent\",\n",
 
30
  "outputs": [],
31
  "source": [
32
  "# Loading data from Global Witness (https://www.globalwitness.org/en/campaigns/environmental-activists/numbers-lethal-attacks-against-defenders-2012/)\n",
33
+ "gw_data = pd.read_csv(\"datasets/global_witness_led_22-09-22.csv\")"
34
  ]
35
  },
36
  {
 
19260
  "metadata": {},
19261
  "outputs": [],
19262
  "source": [
19263
+ "df_victims_industries = pd.read_csv(\"datasets/victims_by_industry.csv\")\n",
19264
  "\n",
19265
+ "df_victims_perp = pd.read_csv(\"datasets/victims_by_perpetrator.csv\")"
19266
  ]
19267
  },
19268
  {
 
21555
  }
21556
  ],
21557
  "source": [
21558
+ "df_victims_year_continents = pd.read_csv(\"datasets/victims_by_year_continent.csv\")\n",
21559
  "\n",
21560
  "yearly_continent = px.area(df_victims_year_continents, template=\"plotly_white\",\n",
21561
  " x='year', y='count', color=\"continent\",\n",