\name{gdxbinwider}
\alias{gdxbinwider}
\title{Join BIN data together, make joined dataset wider, and group by a mapping}
\usage{
gdxbinwider(filename, BINDir, gdxmap, mapping)
}
\arguments{
\item{filename}{Name of the GDX file with BIN data and mappings.}
\item{BINDir}{Directory where the FADN data is located.}
\item{gdxmap}{Name of the set in the GDX file that contains the mapping (e.g. Regs2BINID)}
\item{mapping}{Column name of the characteristic/variable to be grouped by (e.g. "Regions" or "Regs")}
}
\value{