pii_geo_table: Creates a summary table of PII geography for a dataset.

Description Usage Arguments Examples

View source: R/pii_geo_table.R

Description

This function takes a dataframe and searches each column for presence of any text that appears as PII geography: street address, city/states, zipcodes.

Usage

1
pii_geo_table(df, path, writeout)

Arguments

df

A dataframe with (vector-able) variables.

path

destination for tables to be written out

writeout

TRUE/FALSE indicator of whether or not full detailed results to be written out. An individual table will be written out for each column, with PII results for every row of the table.

Examples

1
2
3
4
5
6
7
8
fakeaddresses_df <- data.frame(Addresses =  c("820 Nut Swamp Ave. Toms River, NJ 08753",
                                              "982 Clay Street Lenoir, NC 28645",
                                            "4 NW. Mayfield Rd. Springfield Gardens, NY 11413",
                                          "20 Elmwood Street Raleigh, NC 27603",
                                              "196 E. Green Lake Road Birmingham, AL 35209",
                                            "73 Beechwood Dr. La Crosse, WI VA DC 54601") )

pii_geo_table(fakeaddresses_df, writeout= FALSE)

DevikaNair90/prybar documentation built on May 11, 2020, 2:47 a.m.