ops_biblio_rename: Convert OPS biblio names in Rows from JSON format to sane...

Description Usage Arguments Details Value Examples

Description

Used internally. Assumes a data.frame with two columns. Column 1 contains JSON strings as rows to be renamed. Column 2 contains the data. The function replaces Column 1 row content with the dictionary entry in 'ops_dictionary' using dplyr::left_join(). To convert column names (rather than row names) use ops_rename(). Note check consistency between ops_dictionary and ops_rename.

Usage

1

Arguments

x

a dataframe with row names to be converted from JSON to sane text.

Details

calls ops_dictionary to convert OPS JSON strings to normal names. ops_dictionary must be available for this to work.

Value

a data.frame with column 1 rows renamed.

Examples

1
## Not run: ops_biblio_rename(df)

poldham/opsrdev documentation built on May 25, 2019, 11:23 a.m.