naics_join: Perform hierarchical join of PPP loan data with NAICS legends

Description Usage Arguments Value

View source: R/clean.R

Description

This function will attempt to match PPP loan data with NAICS codes hierarchically. I.e., it will first attempt to match with the latest NAICS legend (2017), then the next most recent (2012), and so on. NAICS Codes versions checked are those available for download on the US Census website: 2017, 2012, 2007, and 2002.

Usage

1
naics_join(ppp_df, naics_df)

Arguments

ppp_df

The tibble of PPP loan data

naics_df

The tibble resulting from naics_clean()

Value

A tibble of tidy PPP loan data with NAICS industry labels


kbmorales/PPP documentation built on Sept. 19, 2020, 3:35 p.m.