Skip to contents

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 = PFUPipeline::socioecon_cols$isocode_colname
)

Arguments

countries

A string of iso 3-letter country codes

isocode_colname

See PFUPipeline::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)