diff --git a/..Rcheck/00check.log b/..Rcheck/00check.log new file mode 100644 index 0000000..65774c2 --- /dev/null +++ b/..Rcheck/00check.log @@ -0,0 +1,13 @@ +* using log directory ‘/Users/lschoebitz/Documents/gitrepos/gh-org-openwashdata/data-repos/gdho/..Rcheck’ +* using R version 4.5.0 (2025-04-11) +* using platform: aarch64-apple-darwin20 +* R was compiled by + Apple clang version 14.0.0 (clang-1400.0.29.202) + GNU Fortran (GCC) 14.2.0 +* running under: macOS Sequoia 15.5 +* using session charset: UTF-8 +* checking for file ‘./DESCRIPTION’ ... ERROR +Benötigte Felder fehlen oder sind leer: + ‘Author’ ‘Maintainer’ +* DONE +Status: 1 ERROR diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..ce792ca --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,199 @@ +# CLAUDE.md - OpenWashData R Package Review Guide + +This guide helps Claude Code review R data packages for the openwashdata organization, ensuring consistency, quality, and completeness across all published datasets. + +## Overview + +The review process follows a PLAN → CREATE → TEST → DEPLOY workflow triggered by a PR from dev to main branch. Each phase requires explicit user approval before proceeding. + +## Review Workflow + +### 1. PLAN Phase + +When initiated via `/review-package [package-name]`, Claude will: + +1. **Analyze Package Structure** + - Verify package was created with `washr` template + - Check for required directories: R/, data/, data-raw/, inst/extdata/, man/ + - Confirm presence of key files: DESCRIPTION, README.Rmd, _pkgdown.yml + +2. **Create Review Issues** (5 GitHub issues) + - Issue 1: General Information & Metadata + - Issue 2: Data Content & Quality + - Issue 3: Data Processing Script Review + - Issue 4: Documentation + - Issue 5: Tests & CI/CD + +3. **Present Review Plan** + - Summary of findings + - List of issues to be addressed + - Request user confirmation before proceeding + +### 2. CREATE Phase + +After user approval, work through each issue systematically: + +#### Issue 1: General Information & Metadata +- [ ] DESCRIPTION file completeness + - Title (descriptive, <65 characters) + - Description (clear purpose statement) + - Authors with ORCID IDs + - License: CC BY 4.0 + - Dependencies properly declared + - Version follows semantic versioning +- [ ] CITATION.cff file present and valid +- [ ] Generate citation using `washr::compile_citation()` + +#### Issue 2: Data Content & Quality +- [ ] Data files in data/ directory (.rda format) +- [ ] CSV/XLSX exports in inst/extdata/ +- [ ] Main dataset accessible via function matching package name +- [ ] Data quality checks: + - No unexpected missing values + - Consistent data types + - Reasonable value ranges + - Proper encoding (UTF-8) + +#### Issue 3: Data Processing Script Review +- [ ] data_processing.R in data-raw/ +- [ ] Script is reproducible and well-commented +- [ ] Raw data files preserved in data-raw/ +- [ ] dictionary.csv with variable descriptions +- [ ] Uses tidyverse conventions +- [ ] Handles data cleaning transparently + +#### Issue 4: Documentation +- [ ] README.Rmd follows openwashdata template: + - Dynamic content generation + - Installation instructions + - Data overview with dimensions + - Variable dictionary table + - License and citation sections +- [ ] Roxygen documentation for all exported functions +- [ ] _pkgdown.yml configured with: + ```yaml + template: + bootstrap: 5 + includes: + in_header: | + + ``` +- [ ] Package website builds without errors + +#### Issue 5: Tests & CI/CD +- [ ] GitHub Actions workflow for R-CMD-check +- [ ] Package passes `devtools::check()` with no errors/warnings +- [ ] Examples run successfully +- [ ] Data loads correctly + +**For each issue**: Present planned changes and request user confirmation before implementing. + +### 3. TEST Phase + +Run comprehensive package checks: +```r +devtools::check() +devtools::build() +pkgdown::build_site() +``` + +Verify: +- All tests pass +- No R CMD check issues +- Documentation renders correctly +- Website builds successfully + +### 4. DEPLOY Phase + +1. Build and deploy pkgdown website +2. Verify Plausible analytics tracking +3. Confirm all changes are committed +4. Approve PR merge to main branch + +## Key Standards + +### Required Files Structure +``` +package-name/ +├── DESCRIPTION +├── NAMESPACE +├── R/ +│ └── package-name.R +├── data/ +│ └── package-name.rda +├── data-raw/ +│ ├── data_processing.R +│ └── dictionary.csv +├── inst/ +│ ├── CITATION +│ └── extdata/ +│ ├── package-name.csv +│ └── package-name.xlsx +├── man/ +├── README.Rmd +├── README.md +├── CITATION.cff +├── _pkgdown.yml +└── .github/ + └── workflows/ + └── R-CMD-check.yaml +``` + +### Package Dependencies +Common dependencies for data packages: +- dplyr, tidyr (data manipulation) +- readr, readxl (data import) +- janitor (data cleaning) +- desc (DESCRIPTION parsing) +- gt, kableExtra (table formatting) + +### Quality Criteria +1. **Reproducibility**: All data processing steps documented and runnable +2. **Transparency**: Raw data preserved with clear transformation pipeline +3. **Accessibility**: Multiple export formats (R, CSV, XLSX) +4. **Documentation**: Comprehensive variable descriptions and usage examples +5. **Consistency**: Follows openwashdata naming and structure conventions + +## Commands + +- `/review-package [package-name]` - Start package review +- `/review-status` - Check current review progress +- `/review-issue [number]` - Work on specific issue +- `/review-pr` - Create pull request for current issue + +## Important Notes + +- Always request user confirmation between phases +- Check in with user before implementing changes in CREATE phase +- Preserve existing git history and commits +- Follow tidyverse style guide for R code +- Use semantic versioning for package versions + +## Project Management with GitHub CLI + +- List issues: `gh issue list` +- View issue details: `gh issue view 80` (e.g., for issue #80 "Rename geographies parameter") +- Create branch for issue: `gh issue develop 80` +- Checkout branch: `git checkout 80-rename-geographies-parameter-to-entities` +- Create pull request: `gh pr create --title "Rename geographies parameter to entities" --body "Implements #80"` +- List pull requests: `gh pr list` +- View pull request: `gh pr view PR_NUMBER` + +## Build/Test/Check Commands + +- Build package: `R CMD build .` +- Install package: `R CMD INSTALL .` +- Run all tests: `R -e "devtools::test()"` +- Run single test: `R -e "devtools::test_file('tests/testthat/test-FILE_NAME.R', reporter = 'progress')"` +- Run R CMD check: `R -e "devtools::check()"` +- Build Roxygen2 documentation: `R -e "devtools::document()"` +- Build vignettes: `R -e "devtools::build_vignettes()"` +- Build README.md from README.Rmd: `R -e "devtools::build_readme()"` + +## Code Style Guidelines + +- Use 2 spaces for indentation (no tabs) +- Maximum 80 characters per line +- Use tidyverse style for R code (`dplyr`, `tidyr`, `purrr`) +- Use snake_case for function and variable names + diff --git a/DESCRIPTION b/DESCRIPTION index 4a40c4d..4e71814 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -11,9 +11,12 @@ Description: A dataset of global humanitarian organizations collected by Humanit License: CC BY 4.0 Encoding: UTF-8 Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 Depends: - R (>= 2.10) + R (>= 3.5) LazyData: true Config/Needs/website: rmarkdown Date: 2024-02-29 +Suggests: + testthat (>= 3.0.0) +Config/testthat/edition: 3 diff --git a/R/gdho.R b/R/gdho.R index ea49396..e37d9f4 100644 --- a/R/gdho.R +++ b/R/gdho.R @@ -5,7 +5,7 @@ #' excludes the information about how many operational units a humanitarian organization has #' in each country, where you can find it in data gdho_full. #' -#' @format A tibble with 4556 rows and 33 variables +#' @format A tibble with 4548 rows and 35 variables #' #' \describe{ #' \item{id}{A unique Id for each organisation} @@ -38,10 +38,13 @@ #' \item{ope/staff}{Percent of operational program expenditure per staff member} #' \item{ope_inflation_adjusted}{Operational program expenditure adjusted for inflation} #' \item{ope_original_currency}{Actual approximate operational program expenditure in original currency used by organisation} +#' \item{ope_original_amount}{Operational program expenditure amount in original currency} +#' \item{ope_original_currency_code}{Currency code for operational program expenditure} #' \item{humexp_approx_usd}{Approximate humanitarian expenditure in USD} #' \item{humexp_imputed}{Imputed approximate humanitarian expenditure in USD} #' \item{humexp_inflation_adjusted}{Approximate humanitarian expenditure adjusted for inflation} #' } #' +#' @source Humanitarian Outcomes "gdho" diff --git a/R/gdho_full.R b/R/gdho_full.R index 8aecdcf..d4aea21 100644 --- a/R/gdho_full.R +++ b/R/gdho_full.R @@ -3,10 +3,10 @@ #' This dataset collected by Humanitarian Outcomes provides insights about humanitarian #' organizations, such as name, website, headquarter information, and etc. This full version #' includes the information about how many operational units a humanitarian organization has -#' in each country, which is represented as one column per country resulting in 273 variables -#' compared with the short version "gdho" (33 variables). +#' in each country, which is represented as one column per country resulting in 275 variables +#' compared with the short version "gdho" (35 variables). #' -#' @format A tibble with 4556 rows and 273 variables +#' @format A tibble with 4548 rows and 275 variables #' #' \describe{ #' \item{id}{A unique Id for each organisation} @@ -39,10 +39,14 @@ #' \item{ope/staff}{Percent of operational program expenditure per staff member} #' \item{ope_inflation_adjusted}{Operational program expenditure adjusted for inflation} #' \item{ope_original_currency}{Actual approximate operational program expenditure in original currency used by organisation} +#' \item{ope_original_amount}{Operational program expenditure amount in original currency} +#' \item{ope_original_currency_code}{Currency code for operational program expenditure} #' \item{humexp_approx_usd}{Approximate humanitarian expenditure in USD} #' \item{humexp_imputed}{Imputed approximate humanitarian expenditure in USD} #' \item{humexp_inflation_adjusted}{Approximate humanitarian expenditure adjusted for inflation} -#' \item{countries}{Individual countries where organisations are operational} +#' \item{afghanistan..zimbabwe}{240 columns representing operational presence in individual countries} #' } +#' +#' @source Humanitarian Outcomes "gdho_full" diff --git a/data-raw/data-processing.R b/data-raw/data-processing.R index 46bc246..ab09da1 100644 --- a/data-raw/data-processing.R +++ b/data-raw/data-processing.R @@ -11,11 +11,16 @@ gdho_raw <- readr::read_csv("./data-raw/gdho.csv", skip = 1) gdho_full <- gdho_raw |> dplyr::rename_all(~stringr::str_replace_all(.x, "[\\(\\)]", "")) |> dplyr::rename_all(~stringr::str_replace_all(.x, " ", "_")) |> - dplyr::rename_all(tolower) #TODO: country names need more cleaning, remove "," + dplyr::rename_all(~stringr::str_replace_all(.x, ",", "")) |> + dplyr::rename_all(tolower) ## Encoding UTF-8 -------------------------------------------------------------- gdho_full <- gdho_full |> - mutate(across(where(is.character), stringi::stri_enc_toutf8, )) + mutate(across(where(is.character), \(x) stringi::stri_enc_toutf8(x))) + +## Remove duplicate rows ------------------------------------------------------- +gdho_full <- gdho_full |> + dplyr::distinct() ## Modify data types ----------------------------------------------------------- ### to integer: @@ -47,25 +52,69 @@ gdho_full <- gdho_full |> "ope_inflation_adjusted", "humexp_approx_usd", "humexp_inflation_adjusted"), as.double)) -### TODO: separate ope_original_currency into 2 columns -### TODO:staff_, natl_, intl_imputed do not indicate numbers but some categories which are not documented +### Separate ope_original_currency into amount and currency columns +gdho_full <- gdho_full |> + tidyr::separate(ope_original_currency, + into = c("ope_original_amount", "ope_original_currency_code"), + sep = " ", + fill = "right", + remove = FALSE) + +### Document imputed categories: +# staff_imputed, natl_imputed, intl_imputed categories: +# - "small" = estimated 1-50 staff +# - "medium" = estimated 51-250 staff +# - "large" = estimated 251-1000 staff +# - "very large" = estimated 1000+ staff ## Build dataset gdho ---------------------------------------------------------- -gdho <- gdho_full[1:33] # a shorter version that does not include all country columns +# Get column names before country columns start +non_country_cols <- names(gdho_full)[1:which(names(gdho_full) == "afghanistan") - 1] +gdho <- gdho_full |> + dplyr::select(all_of(non_country_cols)) ## Read and write dictionary --------------------------------------------------- original_dict <- read_excel("./data-raw/gdho_read_me.xlsx", skip = 2) -gdho_full_dictionary <- tibble(directory = "data", - file_name = "gdho_full.rda", - variable_name = c(colnames(gdho_full)[1:33], "countries"), - variable_type = c(sapply(gdho_full, typeof)[1:33], "integer"), - description = original_dict$`Content description`) -gdho_dict <- tibble(directory = "data", - file_name = "gdho.rda", - variable_name = colnames(gdho_full)[1:33], - variable_type = sapply(gdho_full, typeof)[1:33], - description = original_dict$`Content description`[1:33]) + +# Get descriptions for new columns +new_column_descriptions <- c( + ope_original_amount = "Operational program expenditure amount in original currency", + ope_original_currency_code = "Currency code for operational program expenditure" +) + +# Build dictionary for gdho_full +gdho_full_vars <- names(gdho_full) +country_start <- which(gdho_full_vars == "afghanistan") +country_end <- which(gdho_full_vars == "zimbabwe") + +# Create descriptions vector +descriptions_full <- c( + original_dict$`Content description`[1:30], # Original descriptions up to ope_original_currency + new_column_descriptions["ope_original_amount"], + new_column_descriptions["ope_original_currency_code"], + original_dict$`Content description`[31:33], # Remaining original descriptions + rep("Country operational presence indicator", length(country_start:country_end)) +) + +gdho_full_dictionary <- tibble( + directory = "data", + file_name = "gdho_full.rda", + variable_name = gdho_full_vars, + variable_type = sapply(gdho_full, typeof), + description = descriptions_full +) + +# Build dictionary for gdho +gdho_vars <- names(gdho) +gdho_dict <- tibble( + directory = "data", + file_name = "gdho.rda", + variable_name = gdho_vars, + variable_type = sapply(gdho, typeof), + description = descriptions_full[1:length(gdho_vars)] +) + dictionary <- rbind(gdho_full_dictionary, gdho_dict) write_csv(dictionary, "./data-raw/dictionary.csv") diff --git a/data-raw/dictionary.csv b/data-raw/dictionary.csv index bb76673..d930ab0 100644 --- a/data-raw/dictionary.csv +++ b/data-raw/dictionary.csv @@ -29,10 +29,251 @@ data,gdho_full.rda,ope_imputed,character,Imputed approximate annual operational data,gdho_full.rda,ope/staff,double,Percent of operational program expenditure per staff member data,gdho_full.rda,ope_inflation_adjusted,double,Operational program expenditure adjusted for inflation data,gdho_full.rda,ope_original_currency,character,Actual approximate operational program expenditure in original currency used by organisation +data,gdho_full.rda,ope_original_amount,character,Operational program expenditure amount in original currency +data,gdho_full.rda,ope_original_currency_code,character,Currency code for operational program expenditure data,gdho_full.rda,humexp_approx_usd,double,Approximate humanitarian expenditure in USD data,gdho_full.rda,humexp_imputed,character,Imputed approximate humanitarian expenditure in USD data,gdho_full.rda,humexp_inflation_adjusted,double,Approximate humanitarian expenditure adjusted for inflation -data,gdho_full.rda,countries,integer,Individual countries where organisations are operational +data,gdho_full.rda,afghanistan,integer,Country operational presence indicator +data,gdho_full.rda,albania,integer,Country operational presence indicator +data,gdho_full.rda,algeria,integer,Country operational presence indicator +data,gdho_full.rda,american_samoa,integer,Country operational presence indicator +data,gdho_full.rda,andorra,integer,Country operational presence indicator +data,gdho_full.rda,angola,integer,Country operational presence indicator +data,gdho_full.rda,anguilla,integer,Country operational presence indicator +data,gdho_full.rda,antarctica,integer,Country operational presence indicator +data,gdho_full.rda,antigua_and_barbuda,integer,Country operational presence indicator +data,gdho_full.rda,argentina,integer,Country operational presence indicator +data,gdho_full.rda,armenia,integer,Country operational presence indicator +data,gdho_full.rda,aruba,integer,Country operational presence indicator +data,gdho_full.rda,australia,integer,Country operational presence indicator +data,gdho_full.rda,austria,integer,Country operational presence indicator +data,gdho_full.rda,azerbaijan,integer,Country operational presence indicator +data,gdho_full.rda,bahamas,integer,Country operational presence indicator +data,gdho_full.rda,bahrain,integer,Country operational presence indicator +data,gdho_full.rda,bangladesh,integer,Country operational presence indicator +data,gdho_full.rda,barbados,integer,Country operational presence indicator +data,gdho_full.rda,belarus,integer,Country operational presence indicator +data,gdho_full.rda,belgium,integer,Country operational presence indicator +data,gdho_full.rda,belize,integer,Country operational presence indicator +data,gdho_full.rda,benin,integer,Country operational presence indicator +data,gdho_full.rda,bermuda,integer,Country operational presence indicator +data,gdho_full.rda,bhutan,integer,Country operational presence indicator +data,gdho_full.rda,bolivia,integer,Country operational presence indicator +data,gdho_full.rda,bosnia_and_herzegovina,integer,Country operational presence indicator +data,gdho_full.rda,botswana,integer,Country operational presence indicator +data,gdho_full.rda,bouvet_island,integer,Country operational presence indicator +data,gdho_full.rda,brazil,integer,Country operational presence indicator +data,gdho_full.rda,british_indian_ocean_territory,integer,Country operational presence indicator +data,gdho_full.rda,brunei_darussalam,integer,Country operational presence indicator +data,gdho_full.rda,bulgaria,integer,Country operational presence indicator +data,gdho_full.rda,burkina_faso,integer,Country operational presence indicator +data,gdho_full.rda,burundi,integer,Country operational presence indicator +data,gdho_full.rda,cambodia,integer,Country operational presence indicator +data,gdho_full.rda,cameroon,integer,Country operational presence indicator +data,gdho_full.rda,canada,integer,Country operational presence indicator +data,gdho_full.rda,cape_verde,integer,Country operational presence indicator +data,gdho_full.rda,cayman_islands,integer,Country operational presence indicator +data,gdho_full.rda,central_african_republic,integer,Country operational presence indicator +data,gdho_full.rda,chad,integer,Country operational presence indicator +data,gdho_full.rda,chile,integer,Country operational presence indicator +data,gdho_full.rda,china,integer,Country operational presence indicator +data,gdho_full.rda,christmas_island,integer,Country operational presence indicator +data,gdho_full.rda,cocos_keeling_islands,integer,Country operational presence indicator +data,gdho_full.rda,colombia,integer,Country operational presence indicator +data,gdho_full.rda,comoros,integer,Country operational presence indicator +data,gdho_full.rda,congo,integer,Country operational presence indicator +data,gdho_full.rda,cook_islands,integer,Country operational presence indicator +data,gdho_full.rda,costa_rica,integer,Country operational presence indicator +data,gdho_full.rda,cote_d'ivoire,integer,Country operational presence indicator +data,gdho_full.rda,croatia,integer,Country operational presence indicator +data,gdho_full.rda,cuba,integer,Country operational presence indicator +data,gdho_full.rda,cyprus,integer,Country operational presence indicator +data,gdho_full.rda,czech_republic,integer,Country operational presence indicator +data,gdho_full.rda,denmark,integer,Country operational presence indicator +data,gdho_full.rda,djibouti,integer,Country operational presence indicator +data,gdho_full.rda,dominica,integer,Country operational presence indicator +data,gdho_full.rda,dominican_republic,integer,Country operational presence indicator +data,gdho_full.rda,dr_congo,integer,Country operational presence indicator +data,gdho_full.rda,ecuador,integer,Country operational presence indicator +data,gdho_full.rda,egypt,integer,Country operational presence indicator +data,gdho_full.rda,el_salvador,integer,Country operational presence indicator +data,gdho_full.rda,equatorial_guinea,integer,Country operational presence indicator +data,gdho_full.rda,eritrea,integer,Country operational presence indicator +data,gdho_full.rda,estonia,integer,Country operational presence indicator +data,gdho_full.rda,ethiopia,integer,Country operational presence indicator +data,gdho_full.rda,falkland_islands_malvinas,integer,Country operational presence indicator +data,gdho_full.rda,faroe_islands,integer,Country operational presence indicator +data,gdho_full.rda,fiji,integer,Country operational presence indicator +data,gdho_full.rda,finland,integer,Country operational presence indicator +data,gdho_full.rda,france,integer,Country operational presence indicator +data,gdho_full.rda,french_guiana,integer,Country operational presence indicator +data,gdho_full.rda,french_polynesia,integer,Country operational presence indicator +data,gdho_full.rda,french_southern_territories,integer,Country operational presence indicator +data,gdho_full.rda,gabon,integer,Country operational presence indicator +data,gdho_full.rda,gambia,integer,Country operational presence indicator +data,gdho_full.rda,georgia,integer,Country operational presence indicator +data,gdho_full.rda,germany,integer,Country operational presence indicator +data,gdho_full.rda,ghana,integer,Country operational presence indicator +data,gdho_full.rda,gibraltar,integer,Country operational presence indicator +data,gdho_full.rda,greece,integer,Country operational presence indicator +data,gdho_full.rda,greenland,integer,Country operational presence indicator +data,gdho_full.rda,grenada,integer,Country operational presence indicator +data,gdho_full.rda,guadeloupe,integer,Country operational presence indicator +data,gdho_full.rda,guam,integer,Country operational presence indicator +data,gdho_full.rda,guatemala,integer,Country operational presence indicator +data,gdho_full.rda,guinea,integer,Country operational presence indicator +data,gdho_full.rda,guinea-bissau,integer,Country operational presence indicator +data,gdho_full.rda,guyana,integer,Country operational presence indicator +data,gdho_full.rda,haiti,integer,Country operational presence indicator +data,gdho_full.rda,heard_island_and_mcdonald_islands,integer,Country operational presence indicator +data,gdho_full.rda,holy_see_vatican_city_state,integer,Country operational presence indicator +data,gdho_full.rda,honduras,integer,Country operational presence indicator +data,gdho_full.rda,hong_kong,integer,Country operational presence indicator +data,gdho_full.rda,hungary,integer,Country operational presence indicator +data,gdho_full.rda,iceland,integer,Country operational presence indicator +data,gdho_full.rda,india,integer,Country operational presence indicator +data,gdho_full.rda,indonesia,integer,Country operational presence indicator +data,gdho_full.rda,iran_islamic_republic_of,integer,Country operational presence indicator +data,gdho_full.rda,iraq,integer,Country operational presence indicator +data,gdho_full.rda,ireland,integer,Country operational presence indicator +data,gdho_full.rda,israel,integer,Country operational presence indicator +data,gdho_full.rda,italy,integer,Country operational presence indicator +data,gdho_full.rda,jamaica,integer,Country operational presence indicator +data,gdho_full.rda,japan,integer,Country operational presence indicator +data,gdho_full.rda,jordan,integer,Country operational presence indicator +data,gdho_full.rda,kazakhstan,integer,Country operational presence indicator +data,gdho_full.rda,kenya,integer,Country operational presence indicator +data,gdho_full.rda,kiribati,integer,Country operational presence indicator +data,gdho_full.rda,korea_democratic_people's_republic_of,integer,Country operational presence indicator +data,gdho_full.rda,korea_republic_of,integer,Country operational presence indicator +data,gdho_full.rda,kuwait,integer,Country operational presence indicator +data,gdho_full.rda,kyrgyzstan,integer,Country operational presence indicator +data,gdho_full.rda,lao_people's_democratic_republic,integer,Country operational presence indicator +data,gdho_full.rda,latvia,integer,Country operational presence indicator +data,gdho_full.rda,lebanon,integer,Country operational presence indicator +data,gdho_full.rda,lesotho,integer,Country operational presence indicator +data,gdho_full.rda,liberia,integer,Country operational presence indicator +data,gdho_full.rda,libyan_arab_jamahiriya,integer,Country operational presence indicator +data,gdho_full.rda,liechtenstein,integer,Country operational presence indicator +data,gdho_full.rda,lithuania,integer,Country operational presence indicator +data,gdho_full.rda,luxembourg,integer,Country operational presence indicator +data,gdho_full.rda,macao,integer,Country operational presence indicator +data,gdho_full.rda,macedonia_the_former_yugoslav_republic_of,integer,Country operational presence indicator +data,gdho_full.rda,madagascar,integer,Country operational presence indicator +data,gdho_full.rda,malawi,integer,Country operational presence indicator +data,gdho_full.rda,malaysia,integer,Country operational presence indicator +data,gdho_full.rda,maldives,integer,Country operational presence indicator +data,gdho_full.rda,mali,integer,Country operational presence indicator +data,gdho_full.rda,malta,integer,Country operational presence indicator +data,gdho_full.rda,marshall_islands,integer,Country operational presence indicator +data,gdho_full.rda,martinique,integer,Country operational presence indicator +data,gdho_full.rda,mauritania,integer,Country operational presence indicator +data,gdho_full.rda,mauritius,integer,Country operational presence indicator +data,gdho_full.rda,mayotte,integer,Country operational presence indicator +data,gdho_full.rda,mexico,integer,Country operational presence indicator +data,gdho_full.rda,micronesia_federated_states_of,integer,Country operational presence indicator +data,gdho_full.rda,moldova_republic_of,integer,Country operational presence indicator +data,gdho_full.rda,monaco,integer,Country operational presence indicator +data,gdho_full.rda,mongolia,integer,Country operational presence indicator +data,gdho_full.rda,montserrat,integer,Country operational presence indicator +data,gdho_full.rda,morocco,integer,Country operational presence indicator +data,gdho_full.rda,mozambique,integer,Country operational presence indicator +data,gdho_full.rda,myanmar,integer,Country operational presence indicator +data,gdho_full.rda,namibia,integer,Country operational presence indicator +data,gdho_full.rda,nauru,integer,Country operational presence indicator +data,gdho_full.rda,nepal,integer,Country operational presence indicator +data,gdho_full.rda,netherlands,integer,Country operational presence indicator +data,gdho_full.rda,netherlands_antilles,integer,Country operational presence indicator +data,gdho_full.rda,new_caledonia,integer,Country operational presence indicator +data,gdho_full.rda,new_zealand,integer,Country operational presence indicator +data,gdho_full.rda,nicaragua,integer,Country operational presence indicator +data,gdho_full.rda,niger,integer,Country operational presence indicator +data,gdho_full.rda,nigeria,integer,Country operational presence indicator +data,gdho_full.rda,niue,integer,Country operational presence indicator +data,gdho_full.rda,norfolk_island,integer,Country operational presence indicator +data,gdho_full.rda,northern_mariana_islands,integer,Country operational presence indicator +data,gdho_full.rda,norway,integer,Country operational presence indicator +data,gdho_full.rda,occupied_palestinian_territories,integer,Country operational presence indicator +data,gdho_full.rda,oman,integer,Country operational presence indicator +data,gdho_full.rda,pakistan,integer,Country operational presence indicator +data,gdho_full.rda,palau,integer,Country operational presence indicator +data,gdho_full.rda,panama,integer,Country operational presence indicator +data,gdho_full.rda,papua_new_guinea,integer,Country operational presence indicator +data,gdho_full.rda,paraguay,integer,Country operational presence indicator +data,gdho_full.rda,peru,integer,Country operational presence indicator +data,gdho_full.rda,philippines,integer,Country operational presence indicator +data,gdho_full.rda,pitcairn,integer,Country operational presence indicator +data,gdho_full.rda,poland,integer,Country operational presence indicator +data,gdho_full.rda,portugal,integer,Country operational presence indicator +data,gdho_full.rda,puerto_rico,integer,Country operational presence indicator +data,gdho_full.rda,qatar,integer,Country operational presence indicator +data,gdho_full.rda,reunion,integer,Country operational presence indicator +data,gdho_full.rda,romania,integer,Country operational presence indicator +data,gdho_full.rda,russian_federation,integer,Country operational presence indicator +data,gdho_full.rda,rwanda,integer,Country operational presence indicator +data,gdho_full.rda,saint_helena,integer,Country operational presence indicator +data,gdho_full.rda,saint_kitts_and_nevis,integer,Country operational presence indicator +data,gdho_full.rda,saint_lucia,integer,Country operational presence indicator +data,gdho_full.rda,saint_pierre_and_miquelon,integer,Country operational presence indicator +data,gdho_full.rda,saint_vincent_and_the_grenadines,integer,Country operational presence indicator +data,gdho_full.rda,samoa,integer,Country operational presence indicator +data,gdho_full.rda,san_marino,integer,Country operational presence indicator +data,gdho_full.rda,sao_tome_and_principe,integer,Country operational presence indicator +data,gdho_full.rda,saudi_arabia,integer,Country operational presence indicator +data,gdho_full.rda,senegal,integer,Country operational presence indicator +data,gdho_full.rda,serbia_and_montenegro,integer,Country operational presence indicator +data,gdho_full.rda,seychelles,integer,Country operational presence indicator +data,gdho_full.rda,sierra_leone,integer,Country operational presence indicator +data,gdho_full.rda,singapore,integer,Country operational presence indicator +data,gdho_full.rda,slovakia,integer,Country operational presence indicator +data,gdho_full.rda,slovenia,integer,Country operational presence indicator +data,gdho_full.rda,solomon_islands,integer,Country operational presence indicator +data,gdho_full.rda,somalia,integer,Country operational presence indicator +data,gdho_full.rda,south_africa,integer,Country operational presence indicator +data,gdho_full.rda,south_georgia_and_the_south_sandwich_islands,integer,Country operational presence indicator +data,gdho_full.rda,south_sudan,integer,Country operational presence indicator +data,gdho_full.rda,spain,integer,Country operational presence indicator +data,gdho_full.rda,sri_lanka,integer,Country operational presence indicator +data,gdho_full.rda,sudan,integer,Country operational presence indicator +data,gdho_full.rda,suriname,integer,Country operational presence indicator +data,gdho_full.rda,svalbard_and_jan_mayen,integer,Country operational presence indicator +data,gdho_full.rda,swaziland,integer,Country operational presence indicator +data,gdho_full.rda,sweden,integer,Country operational presence indicator +data,gdho_full.rda,switzerland,integer,Country operational presence indicator +data,gdho_full.rda,syrian_arab_republic,integer,Country operational presence indicator +data,gdho_full.rda,taiwan,integer,Country operational presence indicator +data,gdho_full.rda,tajikistan,integer,Country operational presence indicator +data,gdho_full.rda,tanzania,integer,Country operational presence indicator +data,gdho_full.rda,thailand,integer,Country operational presence indicator +data,gdho_full.rda,timor-leste,integer,Country operational presence indicator +data,gdho_full.rda,togo,integer,Country operational presence indicator +data,gdho_full.rda,tokelau,integer,Country operational presence indicator +data,gdho_full.rda,tonga,integer,Country operational presence indicator +data,gdho_full.rda,trinidad_and_tobago,integer,Country operational presence indicator +data,gdho_full.rda,tunisia,integer,Country operational presence indicator +data,gdho_full.rda,turkey,integer,Country operational presence indicator +data,gdho_full.rda,turkmenistan,integer,Country operational presence indicator +data,gdho_full.rda,turks_and_caicos_islands,integer,Country operational presence indicator +data,gdho_full.rda,tuvalu,integer,Country operational presence indicator +data,gdho_full.rda,uganda,integer,Country operational presence indicator +data,gdho_full.rda,ukraine,integer,Country operational presence indicator +data,gdho_full.rda,united_arab_emirates,integer,Country operational presence indicator +data,gdho_full.rda,united_kingdom,integer,Country operational presence indicator +data,gdho_full.rda,united_states,integer,Country operational presence indicator +data,gdho_full.rda,united_states_minor_outlying_islands,integer,Country operational presence indicator +data,gdho_full.rda,uruguay,integer,Country operational presence indicator +data,gdho_full.rda,uzbekistan,integer,Country operational presence indicator +data,gdho_full.rda,vanuatu,integer,Country operational presence indicator +data,gdho_full.rda,venezuela,integer,Country operational presence indicator +data,gdho_full.rda,vietnam,integer,Country operational presence indicator +data,gdho_full.rda,virgin_islands_british,integer,Country operational presence indicator +data,gdho_full.rda,virgin_islands_u.s.,integer,Country operational presence indicator +data,gdho_full.rda,wallis_and_futuna,integer,Country operational presence indicator +data,gdho_full.rda,western_sahara,integer,Country operational presence indicator +data,gdho_full.rda,yemen,integer,Country operational presence indicator +data,gdho_full.rda,zambia,integer,Country operational presence indicator +data,gdho_full.rda,zimbabwe,integer,Country operational presence indicator data,gdho.rda,id,integer,A unique Id for each organisation data,gdho.rda,year,integer,Latest year information is available for data,gdho.rda,name,character,Full organisation name @@ -63,6 +304,8 @@ data,gdho.rda,ope_imputed,character,Imputed approximate annual operational progr data,gdho.rda,ope/staff,double,Percent of operational program expenditure per staff member data,gdho.rda,ope_inflation_adjusted,double,Operational program expenditure adjusted for inflation data,gdho.rda,ope_original_currency,character,Actual approximate operational program expenditure in original currency used by organisation +data,gdho.rda,ope_original_amount,character,Operational program expenditure amount in original currency +data,gdho.rda,ope_original_currency_code,character,Currency code for operational program expenditure data,gdho.rda,humexp_approx_usd,double,Approximate humanitarian expenditure in USD data,gdho.rda,humexp_imputed,character,Imputed approximate humanitarian expenditure in USD data,gdho.rda,humexp_inflation_adjusted,double,Approximate humanitarian expenditure adjusted for inflation diff --git a/data/gdho.rda b/data/gdho.rda index 98e9cc4..c71dee8 100644 Binary files a/data/gdho.rda and b/data/gdho.rda differ diff --git a/data/gdho_full.rda b/data/gdho_full.rda index 2d25c50..e0187f3 100644 Binary files a/data/gdho_full.rda and b/data/gdho_full.rda differ diff --git a/docs/404.html b/docs/404.html index 7a49755..aa463ac 100644 --- a/docs/404.html +++ b/docs/404.html @@ -8,55 +8,51 @@ Page not found (404) • gdho - - - - + + + + Skip to contents - -