neuprint_list2df | R Documentation |
Parse neuprint return list to a data frame
neuprint_list2df(
x,
cols = NULL,
return_empty_df = FALSE,
check.names = FALSE,
stringsAsFactors = FALSE,
...
)
x |
A list returned by |
cols |
Character vector specifying which columns to include (by default
all of those named in |
return_empty_df |
Return a zero row data frame when there is no result. |
check.names |
Whether to convert column names into R friendly form. This
is not necessary but would be the default for |
stringsAsFactors |
Whether to return character vector columns as
factors. Note that the default of |
... |
Additional arguments passed to |
A low level function tailored to the standard neuprint list return
format. Should handle those times when jsonlite's simplification doesn't
work. The normal return value of neuprint_fetch_custom
is a
list formatted as follows:
columns List of column names
data Nested list of data, with each row formatted as a single sublist
debug Character vector containing query
If neuprint_list2df
receives such a list it will use the
columns
to define the names for a data.frame constructed from the
data
field.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.