Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

collapse_pivot_names

Collapse Pivot Field and Value Columns


Description

Convert a table consisting of columns in sets of 3 into 2 columns assuming that the first column of every set of 3 (field) is duplicated throughout all rows and should be removed. This type of structure is usually returned by facet.pivot responses.

Usage

collapse_pivot_names(data)

Arguments

data

a data.frame with every 2 columns representing a field and value and the final representing a count

Value

a data.frame


solrium

General Purpose R Interface to 'Solr'

v1.1.4
MIT + file LICENSE
Authors
Scott Chamberlain [aut, cre] (<https://orcid.org/0000-0003-1444-9135>), rOpenSci [fnd] (https://ropensci.org/)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.