jtag_shiny: Shiny Application for Data Dictionary Jump-tagging

Description Usage Arguments Author(s) Examples

View source: R/jtag_shiny.R

Description

Launches a browser application for selecting JDOCs and JTAGs for a sample's Data Dictionary. The user can download their selections from the application as a CSV file, and then copy & paste into a Data Dictionary. (This function may be updated to write directly to a Data Dictionary after IPUMS metadata conventions are updated to CSV format in 2020).

Usage

1

Arguments

sample

A PMA sample with a Data Dictionary listed in Samples.xlsx

enums

A character vector of enumerator document file names to be included when the application opens. Partial file names are acceptable: all files containing matching character strings will be included in the results (e.g. c("bf2017a_nf", "bf2017a_nhh")).

Author(s)

Matt Gunther

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
jtag_shiny("bf2017a_nh", c(
  "enum_form_bf2017a_nf_tag.doc",
  "enum_form_bf2017a_nhh_tag.doc"
))

# Partial file names are accepted:
jtag_shiny("bf2017a_nh", c(
  "bf2017a_nf",
  "bf2017a_nhh"
))

# Caution: partial file names can be too general:
# This returns bf2017a_nf, bf2017a_nhh, and bf2017a_ns
jtag_shiny("bf2017a_nh", "bf2017a_n")

## End(Not run)

mgunther87/ipumsPMA documentation built on Aug. 1, 2020, 12:22 a.m.