You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to read excel files that have merged cells as column names. In the example below, there is no way to determine that Merged Column Name applies to only Column Name 1 and Column Name 2, or that Column name 2 corresponds to two columns of content.
It would be helpful if read_excel could give information about the number of rows/columns that merged cells span.
In Excel:
Merged Column Name
Column Name 1
Column Name 2
Column Name 3
Column Name 3
Content
Content
Content
Content
Content
Data frame in R looks like:
Merged Column Name
NA
NA
NA
NA
Column Name 1
Column Name 2
NA
Column Name 3
Column Name 3
Content
Content
Content
Content
Content
The text was updated successfully, but these errors were encountered:
I've made a pull request that has the behavior of the first example @jennybc gave: #220
However, be warned: column names that have the same name are a pain in the but.
As discussed in #220 and above, it's best to handle these problems via other packages. There are no near term plans to get into merged cell issues here.
I am trying to read excel files that have merged cells as column names. In the example below, there is no way to determine that
Merged Column Name
applies to onlyColumn Name 1
andColumn Name 2
, or thatColumn name 2
corresponds to two columns of content.It would be helpful if
read_excel
could give information about the number of rows/columns that merged cells span.In Excel:
Data frame in R looks like:
The text was updated successfully, but these errors were encountered: