get_all_pwt_data: Get all pwt10 data for a set of countries

View source: R/socioecon_functions.R

get_all_pwt_dataR Documentation

Get all pwt10 data for a set of countries

Description

Using the pwt10 package this function creates a data frame containing all the data Penn World Tables 10 (pwt10) for a set of countries as specified in a string of 3-letter ISO country codes named countries. Note that some data is not available for some countries (mostly non-OECD).

Usage

get_all_pwt_data(
  countries,
  isocode_colname = PFUWorkflow::socioecon_cols$isocode_colname
)

Arguments

countries

A string of iso 3-letter country codes

isocode_colname

See PFUWorkflow::socioecon_cols.

Value

A data frame containing socioeconomic data from pwt10 for a set of countries.

Examples

countries <- c("GBR")
all_pwt_data <- get_all_pwt_data(countries = countries)


MatthewHeun/SEAPSUTWorkflow documentation built on April 22, 2022, 2:21 p.m.