open_clean: Open and clean up source data

View source: R/clean_data.R

open_cleanR Documentation

Open and clean up source data

Description

This function opens a source file, then changes column headers to a standard format, removes any superfluous columns (if indicated in the excel template), and cleans DOI and ISSN columns using 'clean_doi' and 'clean_issn' functions.

Usage

open_clean(col_config, template, dir)

Arguments

col_config

vector with the original column names, sorted by a standard

template

vector with the description of standard columns (this must be the File_info column in the excel template)

dir

folder location (path) of the described file

Value

cleaned data frame


bvreede/OAmonitor documentation built on Sept. 9, 2023, 8:33 p.m.