projects2shape: A Function for Counting World Bank IBRD-IDA Projects

Description Usage Arguments Examples

View source: R/project-split-functions.R

Description

Get count of new World Bank IBRD-IDA projects across locations by year. The returned object is the shapefile appended with a column counting new World Bank projects for every year.

Usage

1
2
3
projects2shape(shapefile, max_precision = 3, sectors = "all",
  project_status = c("Implementation", "Completion"), fetch = TRUE,
  projects = NA, locations = NA)

Arguments

shapefile

Shapefile to append data slot with columns for financial amounts by year.

max_precision

Maximum precision score of project locations to include.

sectors

Sectors to include as numeric vector. Default is "all" which returns all sectors.

project_status

Vector containing "Implementation" and/or "Completion". Both by default.

Examples

1
projects2shape(shapefile = shape, max_precision = 2, sectors = c(120, 121))

mdilorenzo/aidtools documentation built on May 22, 2019, 3:37 p.m.