assign_by_colnames_2: Given a list of data frames, and a list of (col.name,...

Description Usage Arguments Value

Description

Given a list of data frames, and a list of (col.name, assigned_name) pairs, loop through both and assign each data frame to the assigned_name that matches its column names.

Usage

1
assign_by_colnames_2(df_list, name_list, ...)

Arguments

df_list

A list of data frames

name_list

A list of key-value pairs of the form list(list(col.names = c("name1", "name2"), assigned_name = "out_name"), list(col.names = c("name3"), assigned_name = "out_name2")). Such lists are generated from JSON files (see csv_test/name_list.JSON)

Value

Alters the global environment, doesn't return any object.


johnchower/glootility documentation built on May 19, 2019, 3:03 p.m.