Description Usage Arguments Examples
Sometimes (e.g. in a database column) one has a vector of individual JSON dictionaries with the same or similar keys. This is a simple utility to parse them all at once into a data frame. It's substantially more efficient than individually parsing them and then recombining them.
1 |
j |
Character vector containing JSON dictionaries |
1 2 3 4 | input <- c('{"col1": 3, "col2": 10}', '{"col1": 5}',
NA, '{"col1": 50, "col2": 100}')
json_vec_to_df(input)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.