gdho

Global database of humanitarian organizations from Humanitarian Outcomes

https://github.com/openwashdata/gdho

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.4%) to scientific vocabulary

Keywords

humanitarian humanitarian-aid open-data openwashdata r
Last synced: 6 months ago · JSON representation ·

Repository

Global database of humanitarian organizations from Humanitarian Outcomes

Basic Info
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
humanitarian humanitarian-aid open-data openwashdata r
Created over 2 years ago · Last pushed 8 months ago
Metadata Files
Readme License Citation

README.Rmd

---
output: github_document
always_allow_html: true
editor_options: 
  markdown: 
    wrap: 72
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

library(tidyverse)
```

# gdho



[![License: CC BY
4.0](https://img.shields.io/badge/License-CC_BY_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)
[![R-CMD-check](https://github.com/openwashdata/gdho/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/openwashdata/gdho/actions/workflows/R-CMD-check.yaml)
[![DOI](https://zenodo.org/badge/694570649.svg)](https://zenodo.org/doi/10.5281/zenodo.10727738)



The goal of `gdho` is to provide a detailed list of global humanitarian
organizations complied by [Humanitarian
Outcomes](https://www.humanitarianoutcomes.org/projects/gdho) which
contains basic information such as organization website and headquarter
location, as well as, operational information such as annual
expenditure. The original database is updated annually and this package
version uses data retrieved on September 20, 2023.

[![Humanitarian Organization Headquarters
Concentration](man/figures/world_map-1.png)](https://openwashdata.github.io/gdho/articles/examples.html)

## Installation

You can install the development version of gdho from
[GitHub](https://github.com/gdho) with:

``` r
# install.packages("devtools")
devtools::install_github("openwashdata/gdho")
```

Alternatively, you can download the individual datasets as CSV or XLSX
file from the table below.

```{r, echo=FALSE, message=FALSE, warning=FALSE}

extdata_path <- "https://github.com/openwashdata/gdho/raw/main/inst/extdata/"

read_csv("data-raw/dictionary.csv") |> 
  distinct(file_name) |> 
  dplyr::mutate(file_name = str_remove(file_name, ".rda")) |> 
  dplyr::rename(dataset = file_name) |> 
  mutate(
    CSV = paste0("[Download CSV](", extdata_path, dataset, ".csv)"),
    XLSX = paste0("[Download XLSX](", extdata_path, dataset, ".xlsx)")
  ) |> 
  knitr::kable()

```

## Data

The package provides access to 2 datasets `gdho` and `gdho_full`. They
are essentially the same data where the former is a concise version that
removes detailed country columns (200+ columns) about whether this
country has the humanitarian organization. Therefore here we only
describe the dataset `gdho`.

> All the organisations included the database have responded to
> humanitarian needs in at least one emergency context, individually or
> in partnership with other organisations, even if their stated mission
> is not strictly humanitarian. Not included are NGOs devoted to
> development, human rights, or political causes, or that do not work in
> emergency settings.

```{r}
library(gdho)
```

The `gdho` data set has `r {ncol(gdho)}` variables and `r {nrow(gdho)}`
observations.

```{r message=FALSE, warning=FALSE}
gdho |>
  head() |>
  gt::gt() |>
  gt::as_raw_html()
```

For an overview of the variable names, see the following table.

```{r, echo=FALSE}
readr::read_csv("data-raw/dictionary.csv") |>
  dplyr::filter(file_name == "gdho.rda") |>
  dplyr::select(variable_name:description) |> 
  knitr::kable() |> 
  kableExtra::kable_styling() |> 
  kableExtra::scroll_box(height = "400px")
```

## Example

The humanitarian organizations are categorized into 5 types: INGO
(International NGO), NNGO (National NGO), UN (United Nation), Red
Cross/Crescent, and NA (Not Available). Most of the organizations fall
into the NNGO type. For different types of organizations, how is their
organization reach distribute?

```{r}
ggplot(data = gdho) +
  geom_bar(aes(x = type, fill=`international_or_national`)) +
  labs(title = "Organization type distribution", fill = "organization reach")
```

Throughout the years, how do different types of humanitarian
organizations increase?

```{r}
count_by_year <- gdho |>
  filter(!is.na(year_founded)) |>
  group_by(year_founded, type) |>
  summarise(count = n())
ggplot(data = count_by_year) +
  geom_line(aes(x = year_founded, y = count, color = type)) +
  labs(title = "Temporal trend of founding humanitarian organizations", color = "organization type")
```

# License

Data are available as
[CC-BY](https://github.com/openwashdata/gdho/blob/main/LICENSE.md).

# Citation

```{r}
citation("gdho")
```

## Related References

[1] [GDHO project
description](https://www.humanitarianoutcomes.org/projects/gdho)

Owner

  • Name: openwashdata
  • Login: openwashdata
  • Kind: organization

Citation (CITATION.cff)

# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
 
cff-version: 1.2.0
message: 'To cite package "gdho" in publications use:'
type: software
license: CC-BY-4.0
title: 'gdho: Global Database of Humanitarian Organizations'
version: 0.0.1
doi: 10.5281/zenodo.10727977
abstract: A dataset of global humanitarian organizations collected by Humanitarian
  Outcomes.
authors:
- family-names: Zhong
  given-names: Mian
  email: mzhong@ethz.ch
  orcid: https://orcid.org/0009-0009-4546-7214
- family-names: Stoddard
  given-names: Abby
- family-names: Mangono
  given-names: Tichakunda
date-released: '2024-02-29'
contact:
- family-names: Zhong
  given-names: Mian
  email: mzhong@ethz.ch
  orcid: https://orcid.org/0009-0009-4546-7214

GitHub Events

Total
  • Issues event: 7
  • Issue comment event: 1
  • Push event: 2
Last Year
  • Issues event: 7
  • Issue comment event: 1
  • Push event: 2