Data.table: Various enhancements to print.data.table

Created on 6 Feb 2016  ·  63Comments  ·  Source: Rdatatable/data.table

Current task list:

  • [x] 1. Add .Rd file for print.data.table
  • [x] 2. Ability to turn off row numbers [1) from [#645/R-F#1957](https://github.com/Rdatatable/data.table/issues/645) - Yike Lu; handled in [this](https://github.com/Rdatatable/data.table/commit/ac2180ef17b8a46245261349f05f5967318407cf) commit, Nov. 12, 2013]
  • 3. Ability to turn off smart table wrapping [2) from #645/R-F#1957 - Yike Lu]
  • [x] 4. Ability to force-print all entries [3) from [#645/R-F#1957](https://github.com/Rdatatable/data.table/issues/645) - Yike Lu; handled in [this](https://github.com/Rdatatable/data.table/commit/a82bfff820d77fbb7ba445e65972e059e036f5150) commit, Sep. 14, 2012]
  • [ ] 5. Ability to demarcate by-groupings [4) from [#645/R-F#1957](https://github.com/Rdatatable/data.table/issues/645) - Yike Lu]
  • [ ] 6. Demarcation of table border [part of 5) from [#645/R-F#1957](https://github.com/Rdatatable/data.table/issues/645) - Yike Lu]
  • 7. Demarcation of key columns [part of 5) from #645/R-F#1957 - Yike Lu]
  • [x] 8. Fungible option for whether row numbers are printed [[#1097](https://github.com/Rdatatable/data.table/issues/1097) - @smcinerney]
  • [x] 9. Options for whether/which registers of column names to print [[#1482](https://github.com/Rdatatable/data.table/issues/1482) - [Oleg Bondar on SO](http://stackoverflow.com/questions/34511495/how-to-disable-data-table-names-at-the-bottom)]
  • [x] 10. Option for dplyr-like printing [see below - @MichaelChirico]
  • [ ] 11. Facilities for compact glance at data _a la_ dplyr tbl_df [#1497 - @nverno; #2608 - @vlulla]
  • [ ] 12. Option for specifying a truncation character [#1374 - @jangorecki]
  • [x] 13. Handling of empty-named data.table [[#545/R-F#5253](https://github.com/Rdatatable/data.table/issues/545) - @arunsrinivasan]
  • [x] 14. Improve printing of list/non-atomic columns [see below - @franknarf1 via [SO](https://stackoverflow.com/questions/47679701/r-data-table-why-are-values-of-concatenated-list-lost); also #605; handled in #2562]
  • [x] 15. POSIXct columns with timezones should include that information in printed output [#2842 - @MichaelChirico]
  • [x] 16. Limit number of columns printed for very wide tables (i.e. where print.data.table would exceed max.print)

Some Notes

3 (tabled pending clarification)

As I understand it, this issue is a request to prevent the console output from wrapping around (i.e., to force all columns to appear parallel, regardless of how wide the table is).

If that's the case, this is (AFAICT) impossible, since that's something done by RStudio/R itself. I for one certainly don't know of any way to alter this behavior.

If someone _does_ know of a way to affect this, or if they think I'm mis-interpreting, please pipe up and we can have this taken care of.

7

As I see it there are two options here. One is to treat all key columns the same; the other is to treat secondary, tertiary, etc. keys separately.

Example output:

set.seed(01394)
DT <- data.table(key1 = rep(c("A","B"), each = 4),
                 key2 = rep(c("a","b"), 4),
                 V1 = nrorm(8), key = c("key1","key2"))

# Only demarcate key columns
DT
#    | key1 | | key2 |         V1
#1: |    A | |    a |  0.5994579
#2: |    A | |    a | -1.0898775
#3: |    A | |    b | -0.2285326
#4: |    A | |    b | -1.7858472
#5: |    B | |    a | -0.6269875
#6: |    B | |    a | -0.6633084
#7: |    B | |    b |  1.0367084
#8: |    B | |    b |  0.7364276

# Separately "emboss" keys based on key order
DT
#    | key1 | || key2 ||         V1
#1: |    A | ||    a ||  0.5994579
#2: |    A | ||    a || -1.0898775
#3: |    A | ||    b || -0.2285326
#4: |    A | ||    b || -1.7858472
#5: |    B | ||    a || -0.6269875
#6: |    B | ||    a || -0.6633084
#7: |    B | ||    b ||  1.0367084
#8: |    B | ||    b ||  0.7364276

And of course, add an option for deciding whether to demarcate with | or some other user's-choice character (*, +, etc.)

9 [DONE]

Some feedback from a closed PR that was a first stab at solving this:

From Arun regarding preferred options:

col.names = c("auto", "top", "none")

"auto": current behaviour

"top": only on top, data.frame-like

"none": no column names -- exclude rows in which column names would have been printed.

10 [DONE]

It would be nice to have an option to print a row under the row of column names which gives each column's stored type, as is currently (I understand) the default for the output of dplyr operations.

Example from dplyr:

library(dplyr)
DF <- data.frame(n = numeric(1), c1 = complex(1), i = integer(1),
                 f = factor(1), D = as.Date("2016-02-06"), c2 = character(1),
                 stringsAsFactors = FALSE)
tbl_df(DF)
# Source: local data frame [1 x 6]
#
#       n     c1     i      f          D    c2
#   (dbl) (cmpl) (int) (fctr)     (date) (chr) # <- this row
#1     0   0+0i     0      1 2016-02-06      

Current best alternative is to do sapply(DF, class), but it's nice to have a preview of the data wit this extra information.

11

This seems closely related to 3. Current plan is to implement this as an alternative to 3 since it seems more tangible/doable.

Via @nverno:

Would it be useful for head.data.table to have an option to print only the head of columns that fit the screen width, and summarise the rest? I was imagining something like the printed output from the head of a tbl_df in dplyr. I think it is nice for tables with many columns.

and the guiding example from Arun:

require(data.table)
dt = setDT(lapply(1:100, function(x) 1:3))
dt
dplyr::tbl_dt(dt)

12

Currently covered by @jangorecki's PR #1448; Jan, assuming #1529 is merged first, could you edit the print.data.table man page for your PR?

enhancement non-atomic column

Most helpful comment

As an extension to @fparages' https://github.com/Rdatatable/data.table/pull/3500 (addressing the timezone display item in the OP of this issue/thread), it might be nice to also support the tz being printed in the class header, <POSc:-07:00> or <POSc:PDT>, and not in the column (to save horizontal space), eg when class=tz=TRUE.

All 63 comments

Just brilliant!

No idea about 3 and 5 (as to what they mean).
I think a PR for 6 would be nice (seems straightforward from what Jan wrote there). Perhaps ?print.data.table is the time consuming part? Do you think you'd be up for this, @MichaelChirico ?
No idea as to what 7 means either..
8 is another great idea. PR would be great!

It'd be really nice if Github would allow assigning tasks to project who aren't necessarily members :-(.

@arunsrinivasan should I try and PR this one issue at a time? Or in a fell swoop? I've got 8 basically taken care of, just need to add tests.

Michael, separate PRs.

Very nice! Sorry to get back to you late on this, but Arun provided a nice example. It is just a nice convenience when interactively looking at tables with lots columns so your console isn't engulfed by a huge data dump when you take a look at the head. Ill close that other one.

It'd be also nice to print:

primary key:
secondary indices: , etc..

by default. It's definitely informative to know what the keys and secondary indices are..

Also, I think this is better output for:

print(DT, class=TRUE)
   <char> <int> <num>
     site  date     x
1:      A     1    10
2:      A     2    20
3:      A     3    30
4:      B     1    10
5:      B     2    20
6:      B     3    30

It's easier to copy/paste the data.table without the classes in the way. If we can do that, we can turn on printing classes by default.

Thoughts?

@arunsrinivasan about printing keys:

  • Isn't that the point of tables()? (though TBH I almost never use this function) BTW tables, to the extent that it's useful, could go for an update to add a secondary_indices column...
  • You don't consider this subsumed by point # 7 here? See this chat (interrupted in the middle) b/w Frank and I about possibilities for filling # 7. Or perhaps you'd like to replace point # 7 with your idea. What do you think?

About class:

This can be done, but will require a step of wrangling -- basically toprint <- rbind(rownames(toprint), toprint); rownames(toprint) <- abbs. Which is fine, I'm just curious why you're thinking of easier copy-pasting as a clear advantage? Not sure the cost of including class info in copy-pasted output. Happy to hear feedback.

About class: -- copy pasting from SO, for example to provide input to fread(). I also find it easier without the separation between column name and value (just used to seeing it).

On printing keys:

  • Yes, but it gives it for _all_ tables, which is useful in itself. But if I'd like to see just the keys retained after a join operation, I don't necessarily want to have a look at all the tables' key.
  • I don't think point 7 (drawing lines) would work well.. since it can not (AFAICT) tell the order of key columns.. But stating:

primary key:

clearly tells the first key column is "a", then "b"..

Does this clarify things a bit?

I agree tables() could use an update.

@arunsrinivasan OK, I think I can get on board with that. Can ditch point # 7 then. I agree distinguishing key order at a glance was going to be tough. So how about:

  • If a table has a key, say c("key1", "key2"), print the following above the output of print.data.table:
keys: key1, key2
  • If there is no key, print:
keys: <unkeyed>
  • Secondary index printing is optional, but if activated will come below keys _a la_:
Secondary indices: key2.1, key2.2, ...
                   key3.1, key3.2, ...

Lastly, I propose sending this output through message to help distinguish it from the data.table itself visually.

My suggestion would be this:

  1. If either of these attributes are not present, don't print them. I think people will quickly learn that no keys are set (if it isn't displayed).
  2. Since there can be more than 1 secondary index, I suggest the format be:

Keys: (only one)
Secondary Indices: , , , ...
If there are more than 'x' (=5 to begin with?) indices, use a "...". They can always access it using key2().

I don't mind "<>" being replaced with "" if that'd be more aesthetically pleasing.. e.g., "col1,col2", "col1" etc..

Last proposal: seems nice, but I wonder if it might create issues wth knitr when people suppress 'messages' in chunk.. and print the output?

It'd be great to have this and class=TRUE default for v1.9.8 already.. we'll see.

One other thought:

Many people use "numeric" type when an integer type would suffice, and when "integer64" would fit the bill better. How about marking those columns somehow while printing?

instead of , perhaps >num< ?? that'll allow people to be aware of such optimisations as well..

OR "!num!"? There's a function isReallyReal that checks this. But this'll perhaps be too time consuming to run on all rows every time..

@arunsrinivasan Hmm I think it's definitely not something to be used as a part of print.data.table default.

Some initial musings:

  • Could add an option to do so, and a companion function (check_num_cols or the like) which runs this on an input table and spits out the candidate columns.
  • Could do this the first time only -- have some sort of global variable associated with each data.table in memory which we use to trigger the evaluation
  • Could have this as part of the standard (or verbose) output of fread (since I imagine that's where most data.tables are created in general. I guess setDT is the other big source.

Are you thinking of pushing 1.9.8 soon?

Oh, one more thing, what do you think about porting print.data.table to its own .R file?

Hm, yes, let's forget the marking of columns for now.

On pushing 1.9.8: trying as much as possible to wrap the other issues marked as quick as possible. I'd like to work on non-equi joins for this release.

On print.data.table to separate file, sure, sounds good.

@arunsrinivasan just a heads up that setting class = TRUE as the default is causing 100s of errors in the tests

Okay thanks, will take a look.

@arunsrinivasan nvm, on second glance, it's a lot, but manageable. Have to fix ~ 25 tests. Working now...

Great! No hurry. Take your time.

I'm not really convinced about changing default on printing class. I'm not finding it useful in print, I use str to see classes (in dplyr for some reason they have glimpse function for that purpose).
Isn't that better for print to by default just print the data, and use str to print classes and key/indexes?

I agree with @jangorecki that class=FALSE default is preferable. I value my screen real estate and usually don't need reminders about columns' classes. Ditto for keys and indices. I like these features, but would expect them to be off by default.

Thanks for your input. I do think it's useful. Unless there's a strong reason (+ vote) against this, I'd like to give it a go. Maybe a lot others might prefer it.

Perhaps we can put the keys / indices on hold. But I don't think 1 row for class types is taking away your screen's real estate.

@MichaelChirico can we make the 'keys' argument FALSE for this release? Perhaps we can turn it on in the next one seeing how this one goes.

@arunsrinivasan sure. Will handle this after we iron out the update to class.

I agree with Frank that having it by default may be somewhat information overload... perhaps there's a middle ground (only print class if there's been a change in class for some column, e.g.).

Anyway happy to give setting class = TRUE as default a whirl.

Do we have any script that can be run to check packages that depends on data.table? Asking because potentially any package that tests output with Rout - Rout.save (or capture.output - I have 2 such non-CRAN pkgs) could be broken after changing default print. It is valuable to run such tests before and after to see the impact precisely. Then depending on the percentage of affected CRAN package would be best to decide.

@jangorecki, good point. class=FALSE then for now. I'll come back to these issues later. Not important for now.

Any plans for minimalistic version of print key with * star prefix? or other nice ascii symbol? something like:

setkey(DT, site, date)
options("datatable.key.note"=TRUE)
print(DT)
#    *site *date     x
#1:      A     1    10
#2:      A     2    20

It would be my preferred one.

@jangorecki I'm fine with any way, but the resistance that cropped up with an approach like that is some people preferred to see key order as well, e.g.:

#    *site **date     x

In any case, if implemented, I would: set * as the default, and leave an option for making it whatever you want.

@MichaelChirico On one hand multiple starts are OK but if you would have on 20 columns in key? Maybe single star only if the order of key columns is the same as data columns, for me that would be in ~99% cases.

up to 3 elements there are ascii numbers:

#    ¹*site ²*date     x

@MichaelChirico about 3) above, one can use R global options:

width.user <- options("width")
options(width=as.integer(howWideIsDT)) # temporarily resize the output console
print(DT)
options(width=width.user) # reset to user's preferences

@mbacou thanks for the input!

In RStudio, at least, I don't see a difference in output having done that.

@MichaelChirico You should see a difference. Try

library(data.table)
options(width=500)
(DT = data.table(matrix(1:1e3,1)))

RStudio wraps console output and offers no option to disable this "feature"; while base R console overflows with no wrapping until options()$width. Either way you should see a difference. Try resizing your console window to see the wrapping in action.

Might be useful to add an optional format argument similar to knitr::kable() or type in ascii::print() to generate markdown, pandoc, rst, textile, (etc.) and org-mode compatible table formats?

I often use snippets like these to paste results into e-mails and org or markdown documents:

print(ascii(x, digits=2), type="org")
# |   | ISO3 | ADM0_NAME                   | ELEVATION     | whea_h   |
# |---+------+-----------------------------+---------------+----------|
# | 1 | TZA  | United Republic of Tanzania |               | 19.00    |
# | 2 | TZA  | United Republic of Tanzania | (3e+02,5e+02] | 0.00     |
# | 3 | TZA  | United Republic of Tanzania | (5e+02,9e+02] | 743.00   |
# | 4 | TZA  | United Republic of Tanzania | (9e+02,1e+03] | 9519.00  |
# | 5 | TZA  | United Republic of Tanzania | (1e+03,2e+03] | 29814.00 |
# | 6 | TZA  | United Republic of Tanzania | (2e+03,5e+03] | 894.00   |

knitr::kable(x, format="markdown")
# |ISO3 |ADM0_NAME                   |ELEVATION     | whea_h|
# |:----|:---------------------------|:-------------|------:|
# |TZA  |United Republic of Tanzania |NA            |     19|
# |TZA  |United Republic of Tanzania |(3e+02,5e+02] |      0|
# |TZA  |United Republic of Tanzania |(5e+02,9e+02] |    743|
# |TZA  |United Republic of Tanzania |(9e+02,1e+03] |   9519|
# |TZA  |United Republic of Tanzania |(1e+03,2e+03] |  29814|
# |TZA  |United Republic of Tanzania |(2e+03,5e+03] |    894|

@mbacou not quite convinced of the utility of adding this to print.data.table when ascii::print and knitr::kable already seem to do a fine job...

Agreed. I'd vote for minimal output as well, but if you plan to provide more fancy printing options, then using a table format that pandoc can process would make sense.

A minor thing, but it might be a good idea to export print.data.table. I only noticed it was hidden when typing args(print.data.table) just now.

@franknarf1 any other reason? we have ?print.data.table now and args(data.table:::print.data.table) have that covered. was just about to file the export in a PR, but stopped myself. i don't think it's uncommon for print methods to be hidden (see print.lm/print.glm in base, e.g.)

@MichaelChirico Nope. Not a problem unexported as you say; thanks for asking.

Another idea: an option dput = TRUE, that will write reproducible code (since dput(DT) doesn't work). Something like

dtput = function(DT){
  d0 = capture.output(dput(setattr(data.table:::shallow(DT), ".internal.selfref", NULL)))
  cat("data.table::alloc.col(", d0, ")\n", sep="\n")
}

# example
library(data.table)
DT = as.data.table(as.list(1:10))
dtput(DT)
# which writes...
data.table::alloc.col(
structure(list(V1 = 1L, V2 = 2L, V3 = 3L, V4 = 4L, V5 = 5L, V6 = 6L, 
    V7 = 7L, V8 = 8L, V9 = 9L, V10 = 10L), .Names = c("V1", "V2", 
"V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10"), row.names = c(NA, 
-1L), class = c("data.table", "data.frame"))
)

... except less hacky and embedded in print.data.table. I guess if dput = TRUE, all the others can be ignored. Getting fancy, maybe allow dput = "file.txt" like dput() does. I figure it makes enough sense to put it in print, and it's not worth it to add a new function.

Another idea similar to those in #645 : turn off smart truncation of list column display: example from SO.

I see this truncation pretty frequently, and in some cases it'd be nice to see printing as if list column v was sapply(v, toString) instead.

@franknarf1 i think a very easy fix would be here:

paste(c(format(head(x,6), justify=justify, ...), if(length(x)>6)""),collapse=",")

change "" to "...". What do you think? I like toString, but should also come with a default width parameter, I'm not sure how to do that robustly.


actually, re-reading toString.default:

function (x, width = NULL, ...) 
{
    string <- paste(x, collapse = ", ")
    if (missing(width) || is.null(width) || width == 0) 
        return(string)
    if (width < 0) 
        stop("'width' must be positive")
    if (nchar(string, type = "w") > width) {
        width <- max(6, width)
        string <- paste0(strtrim(string, width - 4), "....")
    }
    string
}

It seems the default way of handling width is similar to what's currently implemented. I think limiting output based on on-screen width rather than truncating to the first few elements is better, no?

This approach also allows better user interaction since toString is S3-registered -- we (or end users) could write/customize toString.* methods for any use cases that arise. Perhaps add a colWidth parameter to print.data.table which would be dropped into width of toString.default...

@MichaelChirico One point in favor of the trailing "," over a ",..." is that it saves horizontal space. Nonetheless, that seems like a good change, since most users won't guess what the "," means.

Rather than that change, I was more interested in was printing a higher number of entries in place of 6 in head(x, 6), like your colWidth idea.

Re methods, I'd find an argument like formatters = list(character = function(x) toString(x), lm = function(x) x$qr$tol) easy to use (to be used for list columns provided every element matches the named class or is NULL). Not sure if that's what you meant.

Thought I would drop a mention of #2893 here as the two seem closely related.

(Similar to my last comment...) Having a data.table like...

library(data.table)
(DT <- data.table(id = 1:2, v = numeric_version("0.0.0")))
#   id                 v
# 1:  1 <numeric_version>
# 2:  2 <numeric_version>

I cannot really read the contents of my list column, even though there is a print method for it.

It would be nice to have a way to tell data.table how I want a list column of a certain class printed, like ...

library(magrittr)

formatters = list(numeric_version = as.character)

printDT = data.table:::shallow(DT)
left_cols = which(sapply(DT, is.list))
for (i in seq_along(formatters)){
    if (length(left_cols) == 0L) break 
    alt_cols = left_cols[ sapply(DT[, ..left_cols], inherits, names(formatters)[i]) ]    
    if (length(alt_cols)){
      printDT[, (alt_cols) := lapply(.SD, formatters[[i]]), .SDcols = alt_cols][]
      left_cols = setdiff(left_cols, alt_cols)
    }
}
print(printDT)

   id     v
1:  1 0.0.0
2:  2 0.0.0

Could have that list passed by the user in options(datatable.print.formatters = formatters). To reduce the computational burden, I guess this would be done after filtering with nrows= and topn=.

(If I want to suggest an addition to this list, do I add it here or add it as a discrete issue?)

you can just add it here. feel free to edit initial post but also include a
comment w some exposition please

On Mon, Feb 4, 2019, 10:19 AM HughParsonage

(If I want to suggest an addition to this list, do I add it here or add it
as a discrete issue?)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Rdatatable/data.table/issues/1523#issuecomment-460113509,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHQQdd5pO_1tQjE7BL_B2i2dGeRN4p5yks5vJ5jNgaJpZM4HUz9_
.

The less points is defined in scope the more easy is to merge a PR for it. Definitely it make sense to separate points which may result in breaking change (if any) from those for which default behaviour will not change.

this won't be done in a single PR though, but rather one by one

On Mon, Feb 4, 2019, 12:23 PM Jan Gorecki <[email protected] wrote:

The less points is defined in scope the more easy is to merge a PR for it.
Definitely it make sense to separate points which may result in breaking
change (if any) from those for which default behaviour will not change.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Rdatatable/data.table/issues/1523#issuecomment-460127326,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHQQdeNB5EZPMn44zsIfag--2jsQwZTyks5vJ7WmgaJpZM4HUz9_
.

As an extension to @fparages' https://github.com/Rdatatable/data.table/pull/3500 (addressing the timezone display item in the OP of this issue/thread), it might be nice to also support the tz being printed in the class header, <POSc:-07:00> or <POSc:PDT>, and not in the column (to save horizontal space), eg when class=tz=TRUE.

^ related: #2842

That would be awesome!

hi all I don't know if you care but I noticed a bug in print.data.table(col.names="none") when there are lots of columns. minimal code is:

library(data.table)
x <- 1:30
DT <- data.table(t(x))
print(DT, col.names="none")

output on my system is:

th798@cmp2986 MINGW64 ~/R
$ R --vanilla < datatable-print-bug.R

R version 3.6.1 (2019-07-05) -- "Action of the Toes"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(data.table)
> x <- 1:30
> DT <- data.table(t(x))
> print(DT, col.names="none")
1:  1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21
   V22 V23 V24 V25 V26 V27 V28 V29 V30
1:  22  23  24  25  26  27  28  29  30
> 
]0;MINGW64:/c/Users/th798/R
th798@cmp2986 MINGW64 ~/R
$ 

You can see in the output above that the column names V22 through V30 are printed, but I expected they should not be. What I expected:

> print(DT, col.names="none")
1:  1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21
1:  22  23  24  25  26  27  28  29  30
> 

Is there any scope to add a dplyr::glimpse equivalent (I don't see it in the list)? While I most certainly can use dplyr for this purpose, I will need to install a bunch of dependencies to get the function. A use case is highlighted below (note: downloads ~4MB to system).

download.file(
  "https://download.cms.gov/nppes/NPPES_Data_Dissemination_120720_121320_Weekly.zip",
  "file.zip")

data <- fread("unzip -cq file.zip npidata_pfile_20201207-20201213.csv")

data.table's default print method gives a very long output that is not really helpful in understanding the contents of the file.

View output

> data
              NPI Entity Type Code Replacement NPI Employer Identification Number (EIN)
    1: 1134691124                2              NA                            <UNAVAIL>
    2: 1124623970                2              NA                            <UNAVAIL>
    3: 1154927192                2              NA                            <UNAVAIL>
       Provider Organization Name (Legal Business Name) Provider Last Name (Legal Name) Provider First Name Provider Middle Name
    1:                        SOCAL BEHAVIORAL MEDICINE                                                                         
    2:       FULL OF GREATS TRANSPORT LLC FOG TRANSPORT                                                                         
    3:         4000 MOUNT ELENA CIRCLE CORONA, CA 92882                                                                         
       Provider Name Prefix Text Provider Name Suffix Text Provider Credential Text Provider Other Organization Name
    1:                                                                                     SOCAL BEHAVIORAL MEDICINE
    2:                                                                                                              
    3:                                                                                                              
       Provider Other Organization Name Type Code Provider Other Last Name Provider Other First Name Provider Other Middle Name
    1:                                          3                                                                              
    2:                                         NA                                                                              
    3:                                         NA                                                                              
       Provider Other Name Prefix Text Provider Other Name Suffix Text Provider Other Credential Text
    1:                                                                                               
    2:                                                                                               
    3:                                                                                               
       Provider Other Last Name Type Code Provider First Line Business Mailing Address
    1:                                 NA                     10650 REAGAN ST UNIT 824
    2:                                 NA                         6609 W BROOKHART WAY
    3:                                 NA                         4000 MOUNT ELENA CIR
       Provider Second Line Business Mailing Address Provider Business Mailing Address City Name
    1:                                                                              LOS ALAMITOS
    2:                                                                                   PHOENIX
    3:                                                                                    CORONA
       Provider Business Mailing Address State Name Provider Business Mailing Address Postal Code
    1:                                           CA                                     907208844
    2:                                           AZ                                     850837403
    3:                                           CA                                     928827916
       Provider Business Mailing Address Country Code (If outside U.S.) Provider Business Mailing Address Telephone Number
    1:                                                               US                                                   
    2:                                                               US                                         5053079984
    3:                                                               US                                         6269935823
       Provider Business Mailing Address Fax Number Provider First Line Business Practice Location Address
    1:                                         <NA>                        234 S PACIFIC COAST HWY STE 202
    2:                                   4807187714                                   6609 W BROOKHART WAY
    3:                                         <NA>                                   4000 MOUNT ELENA CIR
       Provider Second Line Business Practice Location Address Provider Business Practice Location Address City Name
    1:                                                                                                 REDONDO BEACH
    2:                                                                                                       PHOENIX
    3:                                                                                                        CORONA
       Provider Business Practice Location Address State Name Provider Business Practice Location Address Postal Code
    1:                                                     CA                                               902777001
    2:                                                     AZ                                               850837403
    3:                                                     CA                                               928827916
       Provider Business Practice Location Address Country Code (If outside U.S.)
    1:                                                                         US
    2:                                                                         US
    3:                                                                         US
       Provider Business Practice Location Address Telephone Number Provider Business Practice Location Address Fax Number
    1:                                                   3106985252                                                   <NA>
    2:                                                   5053079984                                             4807187714
    3:                                                   6269935823                                                   <NA>
       Provider Enumeration Date Last Update Date NPI Deactivation Reason Code NPI Deactivation Date NPI Reactivation Date
    1:                01/01/2019       12/07/2020                           NA                                            
    2:                12/01/2020       12/07/2020                           NA                                            
    3:                12/07/2020       12/07/2020                           NA                                            
       Provider Gender Code Authorized Official Last Name Authorized Official First Name Authorized Official Middle Name
    1:                                              HULST                         GINGER                                
    2:                                               HURT                        TYRREIA                               S
    3:                                            YOUSSEF                          ALICE                               K
       Authorized Official Title or Position Authorized Official Telephone Number Healthcare Provider Taxonomy Code_1
    1:                              CO-OWNER                           3106985252                          363LF0000X
    2:                                MEMBER                           5053079984                          343900000X
    3:                                 OWNER                           6269935823                          172V00000X
       Provider License Number_1 Provider License Number State Code_1 Healthcare Provider Primary Taxonomy Switch_1
    1:                                                                                                            N
    2:                                                                                                            Y
    3:                                                                                                            Y
       Healthcare Provider Taxonomy Code_2 Provider License Number_2 Provider License Number State Code_2
    1:                          207RA0401X                                                               
    2:                                                                                                   
    3:                                                                                                   
       Healthcare Provider Primary Taxonomy Switch_2 Healthcare Provider Taxonomy Code_3 Provider License Number_3
    1:                                             Y                                                              
    2:                                                                                                            
    3:                                                                                                            
       Provider License Number State Code_3 Healthcare Provider Primary Taxonomy Switch_3 Healthcare Provider Taxonomy Code_4
    1:                                                                                                                       
    2:                                                                                                                       
    3:                                                                                                                       
       Provider License Number_4 Provider License Number State Code_4 Healthcare Provider Primary Taxonomy Switch_4
    1:                                                                                                             
    2:                                                                                                             
    3:                                                                                                             
       Healthcare Provider Taxonomy Code_5 Provider License Number_5 Provider License Number State Code_5
    1:                                                                                                   
    2:                                                                                                   
    3:                                                                                                   
       Healthcare Provider Primary Taxonomy Switch_5 Healthcare Provider Taxonomy Code_6 Provider License Number_6
    1:                                                                                                            
    2:                                                                                                            
    3:                                                                                                            
       Provider License Number State Code_6 Healthcare Provider Primary Taxonomy Switch_6 Healthcare Provider Taxonomy Code_7
    1:                                                                                                                       
    2:                                                                                                                       
    3:                                                                                                                       
       Provider License Number_7 Provider License Number State Code_7 Healthcare Provider Primary Taxonomy Switch_7
    1:                                                                                                             
    2:                                                                                                             
    3:                                                                                                             
       Healthcare Provider Taxonomy Code_8 Provider License Number_8 Provider License Number State Code_8
    1:                                                                                                   
    2:                                                                                                   
    3:                                                                                                   
       Healthcare Provider Primary Taxonomy Switch_8 Healthcare Provider Taxonomy Code_9 Provider License Number_9
    1:                                                                                                            
    2:                                                                                                            
    3:                                                                                                            
       Provider License Number State Code_9 Healthcare Provider Primary Taxonomy Switch_9 Healthcare Provider Taxonomy Code_10
    1:                                                                                                                        
    2:                                                                                                                        
    3:                                                                                                                        
       Provider License Number_10 Provider License Number State Code_10 Healthcare Provider Primary Taxonomy Switch_10
    1:                                                                                                                
    2:                                                                                                                
    3:                                                                                                                
       Healthcare Provider Taxonomy Code_11 Provider License Number_11 Provider License Number State Code_11
    1:                                                                                                      
    2:                                                                                                      
    3:                                                                                                      
       Healthcare Provider Primary Taxonomy Switch_11 Healthcare Provider Taxonomy Code_12 Provider License Number_12
    1:                                                                                                               
    2:                                                                                                               
    3:                                                                                                               
       Provider License Number State Code_12 Healthcare Provider Primary Taxonomy Switch_12 Healthcare Provider Taxonomy Code_13
    1:                                                                                                                          
    2:                                                                                                                          
    3:                                                                                                                          
       Provider License Number_13 Provider License Number State Code_13 Healthcare Provider Primary Taxonomy Switch_13
    1:                                                                                                                
    2:                                                                                                                
    3:                                                                                                                
       Healthcare Provider Taxonomy Code_14 Provider License Number_14 Provider License Number State Code_14
    1:                                                                                                      
    2:                                                                                                      
    3:                                                                                                      
       Healthcare Provider Primary Taxonomy Switch_14 Healthcare Provider Taxonomy Code_15 Provider License Number_15
    1:                                                                                                               
    2:                                                                                                               
    3:                                                                                                               
       Provider License Number State Code_15 Healthcare Provider Primary Taxonomy Switch_15 Other Provider Identifier_1
    1:                                                                                                                 
    2:                                                                                                                 
    3:                                                                                                                 
       Other Provider Identifier Type Code_1 Other Provider Identifier State_1 Other Provider Identifier Issuer_1
    1:                                    NA                                                                     
    2:                                    NA                                                                     
    3:                                    NA                                                                     
       Other Provider Identifier_2 Other Provider Identifier Type Code_2 Other Provider Identifier State_2
    1:                                                                NA                                  
    2:                                                                NA                                  
    3:                                                                NA                                  
       Other Provider Identifier Issuer_2 Other Provider Identifier_3 Other Provider Identifier Type Code_3
    1:                                                                                                   NA
    2:                                                                                                   NA
    3:                                                                                                   NA
       Other Provider Identifier State_3 Other Provider Identifier Issuer_3 Other Provider Identifier_4
    1:                                                                                                 
    2:                                                                                                 
    3:                                                                                                 
       Other Provider Identifier Type Code_4 Other Provider Identifier State_4 Other Provider Identifier Issuer_4
    1:                                    NA                                                                     
    2:                                    NA                                                                     
    3:                                    NA                                                                     
       Other Provider Identifier_5 Other Provider Identifier Type Code_5 Other Provider Identifier State_5
    1:                                                                NA                                  
    2:                                                                NA                                  
    3:                                                                NA                                  
       Other Provider Identifier Issuer_5 Other Provider Identifier_6 Other Provider Identifier Type Code_6
    1:                                                                                                   NA
    2:                                                                                                   NA
    3:                                                                                                   NA
       Other Provider Identifier State_6 Other Provider Identifier Issuer_6 Other Provider Identifier_7
    1:                                                                                                 
    2:                                                                                                 
    3:                                                                                                 
       Other Provider Identifier Type Code_7 Other Provider Identifier State_7 Other Provider Identifier Issuer_7
    1:                                    NA                                                                     
    2:                                    NA                                                                     
    3:                                    NA                                                                     
       Other Provider Identifier_8 Other Provider Identifier Type Code_8 Other Provider Identifier State_8
    1:                                                                NA                                  
    2:                                                                NA                                  
    3:                                                                NA                                  
       Other Provider Identifier Issuer_8 Other Provider Identifier_9 Other Provider Identifier Type Code_9
    1:                                                                                                   NA
    2:                                                                                                   NA
    3:                                                                                                   NA
       Other Provider Identifier State_9 Other Provider Identifier Issuer_9 Other Provider Identifier_10
    1:                                                                                                  
    2:                                                                                                  
    3:                                                                                                  
       Other Provider Identifier Type Code_10 Other Provider Identifier State_10 Other Provider Identifier Issuer_10
    1:                                     NA                                                                       
    2:                                     NA                                                                       
    3:                                     NA                                                                       
       Other Provider Identifier_11 Other Provider Identifier Type Code_11 Other Provider Identifier State_11
    1:                                                                  NA                                   
    2:                                                                  NA                                   
    3:                                                                  NA                                   
       Other Provider Identifier Issuer_11 Other Provider Identifier_12 Other Provider Identifier Type Code_12
    1:                                                                                                      NA
    2:                                                                                                      NA
    3:                                                                                                      NA
       Other Provider Identifier State_12 Other Provider Identifier Issuer_12 Other Provider Identifier_13
    1:                                                                                                    
    2:                                                                                                    
    3:                                                                                                    
       Other Provider Identifier Type Code_13 Other Provider Identifier State_13 Other Provider Identifier Issuer_13
    1:                                     NA                                                                       
    2:                                     NA                                                                       
    3:                                     NA                                                                       
       Other Provider Identifier_14 Other Provider Identifier Type Code_14 Other Provider Identifier State_14
    1:                                                                  NA                                   
    2:                                                                  NA                                   
    3:                                                                  NA                                   
       Other Provider Identifier Issuer_14 Other Provider Identifier_15 Other Provider Identifier Type Code_15
    1:                                                                                                      NA
    2:                                                                                                      NA
    3:                                                                                                      NA
       Other Provider Identifier State_15 Other Provider Identifier Issuer_15 Other Provider Identifier_16
    1:                                                                                                    
    2:                                                                                                    
    3:                                                                                                    
       Other Provider Identifier Type Code_16 Other Provider Identifier State_16 Other Provider Identifier Issuer_16
    1:                                     NA                                                                       
    2:                                     NA                                                                       
    3:                                     NA                                                                       
       Other Provider Identifier_17 Other Provider Identifier Type Code_17 Other Provider Identifier State_17
    1:                                                                  NA                                   
    2:                                                                  NA                                   
    3:                                                                  NA                                   
       Other Provider Identifier Issuer_17 Other Provider Identifier_18 Other Provider Identifier Type Code_18
    1:                                                                                                      NA
    2:                                                                                                      NA
    3:                                                                                                      NA
       Other Provider Identifier State_18 Other Provider Identifier Issuer_18 Other Provider Identifier_19
    1:                                                                                                    
    2:                                                                                                    
    3:                                                                                                    
       Other Provider Identifier Type Code_19 Other Provider Identifier State_19 Other Provider Identifier Issuer_19
    1:                                     NA                                                                       
    2:                                     NA                                                                       
    3:                                     NA                                                                       
       Other Provider Identifier_20 Other Provider Identifier Type Code_20 Other Provider Identifier State_20
    1:                           NA                                     NA                                   
    2:                           NA                                     NA                                   
    3:                           NA                                     NA                                   
       Other Provider Identifier Issuer_20 Other Provider Identifier_21 Other Provider Identifier Type Code_21
    1:                                                                                                      NA
    2:                                                                                                      NA
    3:                                                                                                      NA
       Other Provider Identifier State_21 Other Provider Identifier Issuer_21 Other Provider Identifier_22
    1:                                                                                                  NA
    2:                                                                                                  NA
    3:                                                                                                  NA
       Other Provider Identifier Type Code_22 Other Provider Identifier State_22 Other Provider Identifier Issuer_22
    1:                                     NA                                 NA                                  NA
    2:                                     NA                                 NA                                  NA
    3:                                     NA                                 NA                                  NA
       Other Provider Identifier_23 Other Provider Identifier Type Code_23 Other Provider Identifier State_23
    1:                           NA                                     NA                                 NA
    2:                           NA                                     NA                                 NA
    3:                           NA                                     NA                                 NA
       Other Provider Identifier Issuer_23 Other Provider Identifier_24 Other Provider Identifier Type Code_24
    1:                                  NA                           NA                                     NA
    2:                                  NA                           NA                                     NA
    3:                                  NA                           NA                                     NA
       Other Provider Identifier State_24 Other Provider Identifier Issuer_24 Other Provider Identifier_25
    1:                                 NA                                  NA                           NA
    2:                                 NA                                  NA                           NA
    3:                                 NA                                  NA                           NA
       Other Provider Identifier Type Code_25 Other Provider Identifier State_25 Other Provider Identifier Issuer_25
    1:                                     NA                                 NA                                  NA
    2:                                     NA                                 NA                                  NA
    3:                                     NA                                 NA                                  NA
       Other Provider Identifier_26 Other Provider Identifier Type Code_26 Other Provider Identifier State_26
    1:                           NA                                     NA                                 NA
    2:                           NA                                     NA                                 NA
    3:                           NA                                     NA                                 NA
       Other Provider Identifier Issuer_26 Other Provider Identifier_27 Other Provider Identifier Type Code_27
    1:                                  NA                           NA                                     NA
    2:                                  NA                           NA                                     NA
    3:                                  NA                           NA                                     NA
       Other Provider Identifier State_27 Other Provider Identifier Issuer_27 Other Provider Identifier_28
    1:                                 NA                                  NA                           NA
    2:                                 NA                                  NA                           NA
    3:                                 NA                                  NA                           NA
       Other Provider Identifier Type Code_28 Other Provider Identifier State_28 Other Provider Identifier Issuer_28
    1:                                     NA                                 NA                                  NA
    2:                                     NA                                 NA                                  NA
    3:                                     NA                                 NA                                  NA
       Other Provider Identifier_29 Other Provider Identifier Type Code_29 Other Provider Identifier State_29
    1:                           NA                                     NA                                 NA
    2:                           NA                                     NA                                 NA
    3:                           NA                                     NA                                 NA
       Other Provider Identifier Issuer_29 Other Provider Identifier_30 Other Provider Identifier Type Code_30
    1:                                  NA                           NA                                     NA
    2:                                  NA                           NA                                     NA
    3:                                  NA                           NA                                     NA
       Other Provider Identifier State_30 Other Provider Identifier Issuer_30 Other Provider Identifier_31
    1:                                 NA                                  NA                           NA
    2:                                 NA                                  NA                           NA
    3:                                 NA                                  NA                           NA
       Other Provider Identifier Type Code_31 Other Provider Identifier State_31 Other Provider Identifier Issuer_31
    1:                                     NA                                 NA                                  NA
    2:                                     NA                                 NA                                  NA
    3:                                     NA                                 NA                                  NA
       Other Provider Identifier_32 Other Provider Identifier Type Code_32 Other Provider Identifier State_32
    1:                           NA                                     NA                                 NA
    2:                           NA                                     NA                                 NA
    3:                           NA                                     NA                                 NA
       Other Provider Identifier Issuer_32 Other Provider Identifier_33 Other Provider Identifier Type Code_33
    1:                                  NA                           NA                                     NA
    2:                                  NA                           NA                                     NA
    3:                                  NA                           NA                                     NA
       Other Provider Identifier State_33 Other Provider Identifier Issuer_33 Other Provider Identifier_34
    1:                                 NA                                  NA                           NA
    2:                                 NA                                  NA                           NA
    3:                                 NA                                  NA                           NA
       Other Provider Identifier Type Code_34 Other Provider Identifier State_34 Other Provider Identifier Issuer_34
    1:                                     NA                                 NA                                  NA
    2:                                     NA                                 NA                                  NA
    3:                                     NA                                 NA                                  NA
       Other Provider Identifier_35 Other Provider Identifier Type Code_35 Other Provider Identifier State_35
    1:                           NA                                     NA                                 NA
    2:                           NA                                     NA                                 NA
    3:                           NA                                     NA                                 NA
       Other Provider Identifier Issuer_35 Other Provider Identifier_36 Other Provider Identifier Type Code_36
    1:                                  NA                           NA                                     NA
    2:                                  NA                           NA                                     NA
    3:                                  NA                           NA                                     NA
       Other Provider Identifier State_36 Other Provider Identifier Issuer_36 Other Provider Identifier_37
    1:                                 NA                                  NA                           NA
    2:                                 NA                                  NA                           NA
    3:                                 NA                                  NA                           NA
       Other Provider Identifier Type Code_37 Other Provider Identifier State_37 Other Provider Identifier Issuer_37
    1:                                     NA                                 NA                                  NA
    2:                                     NA                                 NA                                  NA
    3:                                     NA                                 NA                                  NA
       Other Provider Identifier_38 Other Provider Identifier Type Code_38 Other Provider Identifier State_38
    1:                           NA                                     NA                                 NA
    2:                           NA                                     NA                                 NA
    3:                           NA                                     NA                                 NA
       Other Provider Identifier Issuer_38 Other Provider Identifier_39 Other Provider Identifier Type Code_39
    1:                                  NA                           NA                                     NA
    2:                                  NA                           NA                                     NA
    3:                                  NA                           NA                                     NA
       Other Provider Identifier State_39 Other Provider Identifier Issuer_39 Other Provider Identifier_40
    1:                                 NA                                  NA                           NA
    2:                                 NA                                  NA                           NA
    3:                                 NA                                  NA                           NA
       Other Provider Identifier Type Code_40 Other Provider Identifier State_40 Other Provider Identifier Issuer_40
    1:                                     NA                                 NA                                  NA
    2:                                     NA                                 NA                                  NA
    3:                                     NA                                 NA                                  NA
       Other Provider Identifier_41 Other Provider Identifier Type Code_41 Other Provider Identifier State_41
    1:                           NA                                     NA                                 NA
    2:                           NA                                     NA                                 NA
    3:                           NA                                     NA                                 NA
       Other Provider Identifier Issuer_41 Other Provider Identifier_42 Other Provider Identifier Type Code_42
    1:                                  NA                           NA                                     NA
    2:                                  NA                           NA                                     NA
    3:                                  NA                           NA                                     NA
       Other Provider Identifier State_42 Other Provider Identifier Issuer_42 Other Provider Identifier_43
    1:                                 NA                                  NA                           NA
    2:                                 NA                                  NA                           NA
    3:                                 NA                                  NA                           NA
       Other Provider Identifier Type Code_43 Other Provider Identifier State_43 Other Provider Identifier Issuer_43
    1:                                     NA                                 NA                                  NA
    2:                                     NA                                 NA                                  NA
    3:                                     NA                                 NA                                  NA
       Other Provider Identifier_44 Other Provider Identifier Type Code_44 Other Provider Identifier State_44
    1:                           NA                                     NA                                 NA
    2:                           NA                                     NA                                 NA
    3:                           NA                                     NA                                 NA
       Other Provider Identifier Issuer_44 Other Provider Identifier_45 Other Provider Identifier Type Code_45
    1:                                  NA                           NA                                     NA
    2:                                  NA                           NA                                     NA
    3:                                  NA                           NA                                     NA
       Other Provider Identifier State_45 Other Provider Identifier Issuer_45 Other Provider Identifier_46
    1:                                 NA                                  NA                           NA
    2:                                 NA                                  NA                           NA
    3:                                 NA                                  NA                           NA
       Other Provider Identifier Type Code_46 Other Provider Identifier State_46 Other Provider Identifier Issuer_46
    1:                                     NA                                 NA                                  NA
    2:                                     NA                                 NA                                  NA
    3:                                     NA                                 NA                                  NA
       Other Provider Identifier_47 Other Provider Identifier Type Code_47 Other Provider Identifier State_47
    1:                           NA                                     NA                                 NA
    2:                           NA                                     NA                                 NA
    3:                           NA                                     NA                                 NA
       Other Provider Identifier Issuer_47 Other Provider Identifier_48 Other Provider Identifier Type Code_48
    1:                                  NA                           NA                                     NA
    2:                                  NA                           NA                                     NA
    3:                                  NA                           NA                                     NA
       Other Provider Identifier State_48 Other Provider Identifier Issuer_48 Other Provider Identifier_49
    1:                                 NA                                  NA                           NA
    2:                                 NA                                  NA                           NA
    3:                                 NA                                  NA                           NA
       Other Provider Identifier Type Code_49 Other Provider Identifier State_49 Other Provider Identifier Issuer_49
    1:                                     NA                                 NA                                  NA
    2:                                     NA                                 NA                                  NA
    3:                                     NA                                 NA                                  NA
       Other Provider Identifier_50 Other Provider Identifier Type Code_50 Other Provider Identifier State_50
    1:                           NA                                     NA                                 NA
    2:                           NA                                     NA                                 NA
    3:                           NA                                     NA                                 NA
       Other Provider Identifier Issuer_50 Is Sole Proprietor Is Organization Subpart Parent Organization LBN
    1:                                  NA                                          N                        
    2:                                  NA                                          N                        
    3:                                  NA                                          N                        
       Parent Organization TIN Authorized Official Name Prefix Text Authorized Official Name Suffix Text
    1:                                                                                                  
    2:                                                         MRS.                                     
    3:                                                                                                  
       Authorized Official Credential Text       Healthcare Provider Taxonomy Group_1 Healthcare Provider Taxonomy Group_2
    1:                                  NP           193200000X MULTI-SPECIALTY GROUP     193200000X MULTI-SPECIALTY GROUP
    2:                                                                                                                    
    3:                                               193200000X MULTI-SPECIALTY GROUP                                     
       Healthcare Provider Taxonomy Group_3 Healthcare Provider Taxonomy Group_4 Healthcare Provider Taxonomy Group_5
    1:                                                                                                               
    2:                                                                                                               
    3:                                                                                                               
       Healthcare Provider Taxonomy Group_6 Healthcare Provider Taxonomy Group_7 Healthcare Provider Taxonomy Group_8
    1:                                                                                                               
    2:                                                                                                               
    3:                                                                                                               
       Healthcare Provider Taxonomy Group_9 Healthcare Provider Taxonomy Group_10 Healthcare Provider Taxonomy Group_11
    1:                                                                                                                 
    2:                                                                                                                 
    3:                                                                                                                 
       Healthcare Provider Taxonomy Group_12 Healthcare Provider Taxonomy Group_13 Healthcare Provider Taxonomy Group_14
    1:                                                                                                                  
    2:                                                                                                                  
    3:                                                                                                                  
       Healthcare Provider Taxonomy Group_15 Certification Date
    1:                                               12/07/2020
    2:                                               12/07/2020
    3:                                               12/07/2020
 [ reached getOption("max.print") -- omitted 8 rows ]
 ```
</p></details>

`dplyr::glimpse` *also* gives a long output, but still very much readable.

<details><summary>View output</summary><p>

```R
> dplyr::glimpse(data)
Rows: 21,806
Columns: 330
$ NPI                                                                          <int> 1134691124, 1124623970, 1154927192, 1144...
$ `Entity Type Code`                                                           <int> 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1...
$ `Replacement NPI`                                                            <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Employer Identification Number (EIN)`                                       <chr> "<UNAVAIL>", "<UNAVAIL>", "<UNAVAIL>", "...
$ `Provider Organization Name (Legal Business Name)`                           <chr> "SOCAL BEHAVIORAL MEDICINE", "FULL OF GR...
$ `Provider Last Name (Legal Name)`                                            <chr> "", "", "", "SLAT", "", "CARABBACAN", ""...
$ `Provider First Name`                                                        <chr> "", "", "", "STACY", "", "NICCOLO MCWIN"...
$ `Provider Middle Name`                                                       <chr> "", "", "", "KING", "", "MADRIGAL", "", ...
$ `Provider Name Prefix Text`                                                  <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider Name Suffix Text`                                                  <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider Credential Text`                                                   <chr> "", "", "", "MD", "", "", "", "", "", "D...
$ `Provider Other Organization Name`                                           <chr> "SOCAL BEHAVIORAL MEDICINE", "", "", "",...
$ `Provider Other Organization Name Type Code`                                 <int> 3, NA, NA, NA, NA, NA, NA, NA, 3, NA, NA...
$ `Provider Other Last Name`                                                   <chr> "", "", "", "KING", "", "", "", "", "", ...
$ `Provider Other First Name`                                                  <chr> "", "", "", "STACY", "", "", "", "", "",...
$ `Provider Other Middle Name`                                                 <chr> "", "", "", "MARIE", "", "", "", "", "",...
$ `Provider Other Name Prefix Text`                                            <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider Other Name Suffix Text`                                            <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider Other Credential Text`                                             <chr> "", "", "", "M.D.", "", "", "", "", "", ...
$ `Provider Other Last Name Type Code`                                         <int> NA, NA, NA, 1, NA, NA, NA, NA, NA, NA, N...
$ `Provider First Line Business Mailing Address`                               <chr> "10650 REAGAN ST UNIT 824", "6609 W BROO...
$ `Provider Second Line Business Mailing Address`                              <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider Business Mailing Address City Name`                                <chr> "LOS ALAMITOS", "PHOENIX", "CORONA", "NE...
$ `Provider Business Mailing Address State Name`                               <chr> "CA", "AZ", "CA", "VA", "NJ", "CA", "CO"...
$ `Provider Business Mailing Address Postal Code`                              <chr> "907208844", "850837403", "928827916", "...
$ `Provider Business Mailing Address Country Code (If outside U.S.)`           <chr> "US", "US", "US", "US", "US", "US", "US"...
$ `Provider Business Mailing Address Telephone Number`                         <chr> "", "5053079984", "6269935823", "7573165...
$ `Provider Business Mailing Address Fax Number`                               <int64> NA, 4807187714, NA, NA, NA, NA, 970484...
$ `Provider First Line Business Practice Location Address`                     <chr> "234 S PACIFIC COAST HWY STE 202", "6609...
$ `Provider Second Line Business Practice Location Address`                    <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider Business Practice Location Address City Name`                      <chr> "REDONDO BEACH", "PHOENIX", "CORONA", "W...
$ `Provider Business Practice Location Address State Name`                     <chr> "CA", "AZ", "CA", "VA", "NJ", "CA", "CO"...
$ `Provider Business Practice Location Address Postal Code`                    <chr> "902777001", "850837403", "928827916", "...
$ `Provider Business Practice Location Address Country Code (If outside U.S.)` <chr> "US", "US", "US", "US", "US", "US", "US"...
$ `Provider Business Practice Location Address Telephone Number`               <chr> "3106985252", "5053079984", "6269935823"...
$ `Provider Business Practice Location Address Fax Number`                     <int64> NA, 4807187714, NA, NA, NA, 8585389751...
$ `Provider Enumeration Date`                                                  <chr> "01/01/2019", "12/01/2020", "12/07/2020"...
$ `Last Update Date`                                                           <chr> "12/07/2020", "12/07/2020", "12/07/2020"...
$ `NPI Deactivation Reason Code`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `NPI Deactivation Date`                                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `NPI Reactivation Date`                                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider Gender Code`                                                       <chr> "", "", "", "F", "", "M", "", "", "", "F...
$ `Authorized Official Last Name`                                              <chr> "HULST", "HURT", "YOUSSEF", "", "TIMOTHE...
$ `Authorized Official First Name`                                             <chr> "GINGER", "TYRREIA", "ALICE", "", "BEBYT...
$ `Authorized Official Middle Name`                                            <chr> "", "S", "K", "", "", "", "LYNN", "LYNN"...
$ `Authorized Official Title or Position`                                      <chr> "CO-OWNER", "MEMBER", "OWNER", "", "MANA...
$ `Authorized Official Telephone Number`                                       <int64> 3106985252, 5053079984, 6269935823, NA...
$ `Healthcare Provider Taxonomy Code_1`                                        <chr> "363LF0000X", "343900000X", "172V00000X"...
$ `Provider License Number_1`                                                  <chr> "", "", "", "48977", "", "83591", "", ""...
$ `Provider License Number State Code_1`                                       <chr> "", "", "", "CT", "", "CA", "", "", "MN"...
$ `Healthcare Provider Primary Taxonomy Switch_1`                              <chr> "N", "Y", "Y", "Y", "N", "Y", "Y", "Y", ...
$ `Healthcare Provider Taxonomy Code_2`                                        <chr> "207RA0401X", "", "", "", "", "", "", ""...
$ `Provider License Number_2`                                                  <chr> "", "", "", "", "", "", "", "", "", "156...
$ `Provider License Number State Code_2`                                       <chr> "", "", "", "", "", "", "", "", "", "MA"...
$ `Healthcare Provider Primary Taxonomy Switch_2`                              <chr> "Y", "", "", "", "", "", "", "", "", "N"...
$ `Healthcare Provider Taxonomy Code_3`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_3`                                                  <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_3`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_3`                              <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_4`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_4`                                                  <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_4`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_4`                              <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_5`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_5`                                                  <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_5`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_5`                              <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_6`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_6`                                                  <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_6`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_6`                              <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_7`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_7`                                                  <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_7`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_7`                              <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_8`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_8`                                                  <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_8`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_8`                              <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_9`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_9`                                                  <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_9`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_9`                              <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_10`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_10`                                                 <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_10`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_10`                             <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_11`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_11`                                                 <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_11`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_11`                             <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_12`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_12`                                                 <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_12`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_12`                             <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_13`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_13`                                                 <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_13`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_13`                             <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_14`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_14`                                                 <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_14`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_14`                             <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Code_15`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number_15`                                                 <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Provider License Number State Code_15`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Primary Taxonomy Switch_15`                             <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_1`                                                <chr> "", "", "", "", "", "", "", "", "381417"...
$ `Other Provider Identifier Type Code_1`                                      <int> NA, NA, NA, NA, NA, NA, NA, NA, 1, NA, N...
$ `Other Provider Identifier State_1`                                          <chr> "", "", "", "", "", "", "", "", "MN", ""...
$ `Other Provider Identifier Issuer_1`                                         <chr> "", "", "", "", "", "", "", "", "MINNESO...
$ `Other Provider Identifier_2`                                                <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_2`                                      <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_2`                                          <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_2`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_3`                                                <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_3`                                      <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_3`                                          <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_3`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_4`                                                <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_4`                                      <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_4`                                          <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_4`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_5`                                                <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_5`                                      <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_5`                                          <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_5`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_6`                                                <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_6`                                      <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_6`                                          <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_6`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_7`                                                <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_7`                                      <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_7`                                          <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_7`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_8`                                                <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_8`                                      <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_8`                                          <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_8`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_9`                                                <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_9`                                      <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_9`                                          <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_9`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_10`                                               <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_10`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_10`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_10`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_11`                                               <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_11`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_11`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_11`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_12`                                               <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_12`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_12`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_12`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_13`                                               <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_13`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_13`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_13`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_14`                                               <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_14`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_14`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_14`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_15`                                               <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_15`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_15`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_15`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_16`                                               <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_16`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_16`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_16`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_17`                                               <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_17`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_17`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_17`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_18`                                               <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_18`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_18`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_18`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_19`                                               <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_19`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_19`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_19`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_20`                                               <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_20`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_20`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_20`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_21`                                               <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Type Code_21`                                     <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_21`                                         <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier Issuer_21`                                        <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Other Provider Identifier_22`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_22`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_22`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_22`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_23`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_23`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_23`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_23`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_24`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_24`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_24`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_24`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_25`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_25`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_25`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_25`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_26`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_26`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_26`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_26`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_27`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_27`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_27`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_27`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_28`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_28`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_28`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_28`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_29`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_29`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_29`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_29`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_30`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_30`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_30`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_30`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_31`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_31`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_31`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_31`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_32`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_32`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_32`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_32`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_33`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_33`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_33`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_33`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_34`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_34`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_34`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_34`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_35`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_35`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_35`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_35`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_36`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_36`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_36`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_36`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_37`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_37`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_37`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_37`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_38`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_38`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_38`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_38`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_39`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_39`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_39`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_39`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_40`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_40`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_40`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_40`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_41`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_41`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_41`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_41`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_42`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_42`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_42`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_42`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_43`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_43`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_43`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_43`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_44`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_44`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_44`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_44`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_45`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_45`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_45`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_45`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_46`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_46`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_46`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_46`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_47`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_47`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_47`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_47`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_48`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_48`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_48`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_48`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_49`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_49`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_49`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_49`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier_50`                                               <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Type Code_50`                                     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier State_50`                                         <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Other Provider Identifier Issuer_50`                                        <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, ...
$ `Is Sole Proprietor`                                                         <chr> "", "", "", "N", "", "N", "", "", "", "N...
$ `Is Organization Subpart`                                                    <chr> "N", "N", "N", "", "N", "", "N", "N", "N...
$ `Parent Organization LBN`                                                    <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Parent Organization TIN`                                                    <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Authorized Official Name Prefix Text`                                       <chr> "", "MRS.", "", "", "", "", "", "", "", ...
$ `Authorized Official Name Suffix Text`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Authorized Official Credential Text`                                        <chr> "NP", "", "", "", "LPN", "", "", "", "RN...
$ `Healthcare Provider Taxonomy Group_1`                                       <chr> "193200000X MULTI-SPECIALTY GROUP", "", ...
$ `Healthcare Provider Taxonomy Group_2`                                       <chr> "193200000X MULTI-SPECIALTY GROUP", "", ...
$ `Healthcare Provider Taxonomy Group_3`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_4`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_5`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_6`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_7`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_8`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_9`                                       <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_10`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_11`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_12`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_13`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_14`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Healthcare Provider Taxonomy Group_15`                                      <chr> "", "", "", "", "", "", "", "", "", "", ...
$ `Certification Date`                                                         <chr> "12/07/2020", "12/07/2020", "12/07/2020"...

In my opinion, the latter gives a summary of the dataset that proves helpful, from understanding the contents as well as column names of the data. Note that this isn't a dataset that can be melted down. I could use str as an alternative, but it doesn't print very neatly i.e. data from a single column is shown on the next row on the console (not seen here), eg:

View output

Classes ‘data.table’ and 'data.frame':  21806 obs. of  330 variables:
 $ NPI                                                                       : int  1134691124 1124623970 1154927192 1144411422 1245836287 1376144014 1063018000 1972109916 1649792151 1275649105 ...
 $ Entity Type Code                                                          : int  2 2 2 1 2 1 2 2 2 1 ...
 $ Replacement NPI                                                           : logi  NA NA NA NA NA NA ...
 $ Employer Identification Number (EIN)                                      : chr  "<UNAVAIL>" "<UNAVAIL>" "<UNAVAIL>" "" ...
 $ Provider Organization Name (Legal Business Name)                          : chr  "SOCAL BEHAVIORAL MEDICINE" "FULL OF GREATS TRANSPORT LLC FOG TRANSPORT" "4000 MOUNT ELENA CIRCLE CORONA, CA 92882" "" ...
 $ Provider Last Name (Legal Name)                                           : chr  "" "" "" "SLAT" ...
 $ Provider First Name                                                       : chr  "" "" "" "STACY" ...
 $ Provider Middle Name                                                      : chr  "" "" "" "KING" ...
 $ Provider Name Prefix Text                                                 : chr  "" "" "" "" ...
 $ Provider Name Suffix Text                                                 : chr  "" "" "" "" ...
 $ Provider Credential Text                                                  : chr  "" "" "" "MD" ...
 $ Provider Other Organization Name                                          : chr  "SOCAL BEHAVIORAL MEDICINE" "" "" "" ...
 $ Provider Other Organization Name Type Code                                : int  3 NA NA NA NA NA NA NA 3 NA ...
 $ Provider Other Last Name                                                  : chr  "" "" "" "KING" ...
 $ Provider Other First Name                                                 : chr  "" "" "" "STACY" ...
 $ Provider Other Middle Name                                                : chr  "" "" "" "MARIE" ...
 $ Provider Other Name Prefix Text                                           : chr  "" "" "" "" ...
 $ Provider Other Name Suffix Text                                           : chr  "" "" "" "" ...
 $ Provider Other Credential Text                                            : chr  "" "" "" "M.D." ...
 $ Provider Other Last Name Type Code                                        : int  NA NA NA 1 NA NA NA NA NA NA ...
 $ Provider First Line Business Mailing Address                              : chr  "10650 REAGAN ST UNIT 824" "6609 W BROOKHART WAY" "4000 MOUNT ELENA CIR" "856 J CLYDE MORRIS BLVD STE A" ...
 $ Provider Second Line Business Mailing Address                             : chr  "" "" "" "" ...
 $ Provider Business Mailing Address City Name                               : chr  "LOS ALAMITOS" "PHOENIX" "CORONA" "NEWPORT NEWS" ...
 $ Provider Business Mailing Address State Name                              : chr  "CA" "AZ" "CA" "VA" ...
 $ Provider Business Mailing Address Postal Code                             : chr  "907208844" "850837403" "928827916" "236011318" ...
 $ Provider Business Mailing Address Country Code (If outside U.S.)          : chr  "US" "US" "US" "US" ...
 $ Provider Business Mailing Address Telephone Number                        : chr  "" "5053079984" "6269935823" "7573165800" ...
 $ Provider Business Mailing Address Fax Number                              :integer64 NA 4807187714 NA NA NA NA 9704842251 9704842251 ... 
 $ Provider First Line Business Practice Location Address                    : chr  "234 S PACIFIC COAST HWY STE 202" "6609 W BROOKHART WAY" "4000 MOUNT ELENA CIR" "120 KINGS WAY STE 3400" ...
 $ Provider Second Line Business Practice Location Address                   : chr  "" "" "" "" ...
 $ Provider Business Practice Location Address City Name                     : chr  "REDONDO BEACH" "PHOENIX" "CORONA" "WILLIAMSBURG" ...
 $ Provider Business Practice Location Address State Name                    : chr  "CA" "AZ" "CA" "VA" ...
 $ Provider Business Practice Location Address Postal Code                   : chr  "902777001" "850837403" "928827916" "231852511" ...
 $ Provider Business Practice Location Address Country Code (If outside U.S.): chr  "US" "US" "US" "US" ...
 $ Provider Business Practice Location Address Telephone Number              : chr  "3106985252" "5053079984" "6269935823" "7572535600" ...
 $ Provider Business Practice Location Address Fax Number                    :integer64 NA 4807187714 NA NA NA 8585389751 3036660911 3036660911 ... 
 $ Provider Enumeration Date                                                 : chr  "01/01/2019" "12/01/2020" "12/07/2020" "08/05/2007" ...
 $ Last Update Date                                                          : chr  "12/07/2020" "12/07/2020" "12/07/2020" "12/07/2020" ...
 $ NPI Deactivation Reason Code                                              : logi  NA NA NA NA NA NA ...
 $ NPI Deactivation Date                                                     : chr  "" "" "" "" ...
 $ NPI Reactivation Date                                                     : chr  "" "" "" "" ...
 $ Provider Gender Code                                                      : chr  "" "" "" "F" ...
 $ Authorized Official Last Name                                             : chr  "HULST" "HURT" "YOUSSEF" "" ...
 $ Authorized Official First Name                                            : chr  "GINGER" "TYRREIA" "ALICE" "" ...
 $ Authorized Official Middle Name                                           : chr  "" "S" "K" "" ...
 $ Authorized Official Title or Position                                     : chr  "CO-OWNER" "MEMBER" "OWNER" "" ...
 $ Authorized Official Telephone Number                                      :integer64 3106985252 5053079984 6269935823 NA 8626840895 NA 9704304431 9704304431 ... 
 $ Healthcare Provider Taxonomy Code_1                                       : chr  "363LF0000X" "343900000X" "172V00000X" "207V00000X" ...
 $ Provider License Number_1                                                 : chr  "" "" "" "48977" ...
 $ Provider License Number State Code_1                                      : chr  "" "" "" "CT" ...
 $ Healthcare Provider Primary Taxonomy Switch_1                             : chr  "N" "Y" "Y" "Y" ...
 $ Healthcare Provider Taxonomy Code_2                                       : chr  "207RA0401X" "" "" "" ...
 $ Provider License Number_2                                                 : chr  "" "" "" "" ...
 $ Provider License Number State Code_2                                      : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_2                             : chr  "Y" "" "" "" ...
 $ Healthcare Provider Taxonomy Code_3                                       : chr  "" "" "" "" ...
 $ Provider License Number_3                                                 : chr  "" "" "" "" ...
 $ Provider License Number State Code_3                                      : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_3                             : chr  "" "" "" "" ...
 $ Healthcare Provider Taxonomy Code_4                                       : chr  "" "" "" "" ...
 $ Provider License Number_4                                                 : chr  "" "" "" "" ...
 $ Provider License Number State Code_4                                      : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_4                             : chr  "" "" "" "" ...
 $ Healthcare Provider Taxonomy Code_5                                       : chr  "" "" "" "" ...
 $ Provider License Number_5                                                 : chr  "" "" "" "" ...
 $ Provider License Number State Code_5                                      : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_5                             : chr  "" "" "" "" ...
 $ Healthcare Provider Taxonomy Code_6                                       : chr  "" "" "" "" ...
 $ Provider License Number_6                                                 : chr  "" "" "" "" ...
 $ Provider License Number State Code_6                                      : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_6                             : chr  "" "" "" "" ...
 $ Healthcare Provider Taxonomy Code_7                                       : chr  "" "" "" "" ...
 $ Provider License Number_7                                                 : chr  "" "" "" "" ...
 $ Provider License Number State Code_7                                      : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_7                             : chr  "" "" "" "" ...
 $ Healthcare Provider Taxonomy Code_8                                       : chr  "" "" "" "" ...
 $ Provider License Number_8                                                 : chr  "" "" "" "" ...
 $ Provider License Number State Code_8                                      : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_8                             : chr  "" "" "" "" ...
 $ Healthcare Provider Taxonomy Code_9                                       : chr  "" "" "" "" ...
 $ Provider License Number_9                                                 : chr  "" "" "" "" ...
 $ Provider License Number State Code_9                                      : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_9                             : chr  "" "" "" "" ...
 $ Healthcare Provider Taxonomy Code_10                                      : chr  "" "" "" "" ...
 $ Provider License Number_10                                                : chr  "" "" "" "" ...
 $ Provider License Number State Code_10                                     : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_10                            : chr  "" "" "" "" ...
 $ Healthcare Provider Taxonomy Code_11                                      : chr  "" "" "" "" ...
 $ Provider License Number_11                                                : chr  "" "" "" "" ...
 $ Provider License Number State Code_11                                     : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_11                            : chr  "" "" "" "" ...
 $ Healthcare Provider Taxonomy Code_12                                      : chr  "" "" "" "" ...
 $ Provider License Number_12                                                : chr  "" "" "" "" ...
 $ Provider License Number State Code_12                                     : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_12                            : chr  "" "" "" "" ...
 $ Healthcare Provider Taxonomy Code_13                                      : chr  "" "" "" "" ...
 $ Provider License Number_13                                                : chr  "" "" "" "" ...
 $ Provider License Number State Code_13                                     : chr  "" "" "" "" ...
 $ Healthcare Provider Primary Taxonomy Switch_13                            : chr  "" "" "" "" ...
  [list output truncated]
 - attr(*, ".internal.selfref")=<externalptr>

Will it be possible to add something like this for data.table to avoid the additional dependency that dplyr requires?

I also see that print.data.table is almost entirely R code - if this is something feasible without delving into C, I might be able to give it a stab - can someone provide some guidance on this? It can be a separate function (much better idea), or available as an option from getOption.

I think str is really good. It might not be polished as much as glimpse but maybe there is a possibility to improve it? changes in this function should be pretty safe because I don't think there are reasonable use cases to parse output of str. Its output is strictly to be read by humans and not a program. For me str works well enough already, but you can list your ideas for improvement and propose on R-devel.

Oh, I wasn't planning on proposing any changes to R devel - only restricting it to data.table. Basically, creating a polished version of it for use in data.table without dependencies to help with the use case mentioned above. I just did a quick check online, it might be possible to implement it in R itself - would that be something that would be worth integrating into data.table?

I understand, my point was very subjective. That str does the job nicely, therefore might not be worth to re-implement it in data.table. And if something is missing in str, then maybe could be improved there before duplicating functionality in data.table. If R core will find suggested changes not relevant, and we agree that they are nice to have, then it will be good reason to implement as a part of data.table.

Got it. The enhancement I am proposing makes sense only to tabular data. Matrices, vectors and lists wouldn't really benefit from it, so I doubt R core will really care about these changes. We wouldn't really be duplicating the functionality, but rather polishing it for a very specific use case of tabular data.

str has a method for data.frames -- what about data.table makes the proposed update not apply to data.frames?

By the way, are you aware of the trunc.cols argument to print.data.table? e.g. print(data, trunc.cols=TRUE). The default can be controlled by an option; I think we are undecided about whether to change the default at some point.

I wasn't referring to the proposed update not applying to data.frame, but to tabular data in general. For example (purely subjective), in str, it makes sense to expand the components of a list column into its constituents. In my use-case, I am required to sometimes take a very superficial look on multiple wide tables with long columns, such as the one mentioned in my example, which glimpse provides for (albeit with the extra dependencies that I need to install). Such a kind of modification would require adjustments specific for data.frames and derived data types (eg. max.levels = 1 instead of NA, or truncating column names if they are too long that the data moves to the next line), which is probably not in line with suggesting a change for R base.

I am aware of the trunc.cols argument to print, and it isn't quite what I'm looking for, and I'm not really a fan of making it the default - I understand the use case in #2608, however, in my case I actually need to glimpse the entire table because it'll contain multiple different columns of interest, as well as the data types that it holds.

I did go ahead an create a hack-y function for my own use, however, so this request can be considered addressed. This is the output it provides (colours to differentiate data types, not to identify them and truncating very long column names so that data can be seen on the same line), which I find particularly useful for very wide tables. I hope this clears up my use case - it is something that can be implemented without many additional dependencies (currently using crayon and stringi because I wanted to avoid the slight extra effort).

Was this page helpful?
0 / 5 - 0 ratings