Skip to content
@wbPTI

Project Targeting Index

The Project Targeting Index (PTI)

The Project Targeting Index (PTI) is an interactive ex-ante targeting tool that ranks geographical areas by priorities based on relevant criteria. It offers an evidence-based and transparent way to perform geographic selection of project sites. The PTI is also a useful tool for a project team and stakeholders to evaluate whether the project locations are aligned with the country strategies.

For more information, visit: Poverty & Equity GP. Project Targeting Index (PTI).

Technical details on how to build a PTI dashboard are provided in this guide.

The links and source codes to the PTI dashboards (for selected countries) are available below.

Sub Saharan Africa (SSA)

Click to view list of apps and links to source codes in the region

North Africa and the Middle East (MENA)

Click to view list of apps and links to source codes in the region

East Asia and the Pacific Islands (EAP)

Click to view list of apps and links to source codes in the region

Creating a New PTI Project

Creating a new PTI project involves two parts:

  1. Data preparation repository
  2. Dashboard application

Part 1: Data Preparation Repository

  1. Install cookiecutter:

    pip install cookiecutter
  2. Create a new data repository:

    cookiecutter gh:wbPTI/templatePTIdata
  3. You'll be prompted for:

    • Country code (3-letter ISO code, e.g., som for Somalia)
    • Your username
    • Whether you're a World Bank user
    • Other configuration options
  4. The template creates:

    countryPTIdata/
    ├── R/
    ├── data-raw/
    ├── data-clean/
    ├── figures/
    └── vignettes/
        ├── 0_set_path.R
        └── 100_compilation.Rmd
    
  5. Update and run the compilation script to generate metadata.

Part 2: Dashboard Application

  1. Create a new dashboard repository:

    cookiecutter gh:wbPTI/templatePTI
  2. You'll be prompted for:

    • Country code (same as data repo)
    • Country name (full name)
    • Author information
  3. The template creates:

    countryPTI/
    ├── app-data/
    ├── rsconnect/
    ├── app.R
    ├── countryPTI.Rproj
    └── README.md
    
  4. Connect the repositories:

    • Copy files from data repository's output to dashboard's app-data:
      • admin_bounds.rds
      • metadata.pdf
      • mtdt.xlsx
      • varlist.csv
  5. Launch the application:

    • Open the .Rproj file in RStudio
    • Install required packages:
      install.packages("devPTIpack")
    • Run app.R to test locally
    • Deploy using the "Publish" button in RStudio or:
      rsconnect::deployApp()

Part 2: Deploying the app

The World Bank has a Posit Connect license and we encourage PTI apps to be hosted on the Bank Posit Connect server. To deploy the app to the server, please take the following steps:

  1. Request an account here.
  2. Once you have your account, follow this guideline to deploy an app. For any inquiries regarding the deployment of apps to the Bank's Posit Connect server, please write to Tony Henri Mathias Jany Fujs [email protected].

Citations

Finn, Arden Jeremy; Masaki,Takaaki. Subnational Targeting of Project Sites Using Project Targeting Index (PTI) (English). Poverty and Equity Note,No. 33 Washington, D.C. : World Bank Group.

Masaki, Takaaki; Bosch, Lander Sonia M; Finn, Arden Jeremy; Meyer, Moritz; Haider, Syed Zeeshan; Bukin, Eduard. Dashboards for Development : The Power of Geospatial Data at Your Fingertips (English). Poverty and Equity Notes ; No. 47 Washington, D.C. : World Bank Group.


Pinned Loading

  1. devPTIpack devPTIpack Public

    R 1 3

Repositories

Showing 4 of 4 repositories
  • .github Public

    Organizational description

    wbPTI/.github’s past year of commit activity
    0 MIT 0 0 0 Updated Dec 13, 2024
  • pti_guideline Public
    wbPTI/pti_guideline’s past year of commit activity
    HTML 0 0 2 0 Updated Nov 5, 2024
  • devPTIpack Public
    wbPTI/devPTIpack’s past year of commit activity
    R 1 3 15 1 Updated Jul 2, 2024
  • network_test Public
    wbPTI/network_test’s past year of commit activity
    0 0 0 0 Updated Jun 2, 2023

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…