Learn R Programming

lares (version 4.7)

json2vector: Convert JSON string to vector (data.frame with 1 row)

Description

This function lets the user transform a JSON string into vector (data.frame with 1 row). You can also pass a Python's dictionary.

Usage

json2vector(json)

Arguments

json

Character. JSON string. Example of a string: '"feat1": null, "feat2": "M"'

See Also

Other Tools: autoline, bindfiles, bring_api, db_download, db_upload, export_plot, export_results, get_credentials, get_currency, h2o_predict_API, h2o_predict_MOJO, h2o_predict_binary, h2o_predict_model, h2o_selectmodel, h2o_update, haveInternet, importxlsx, ip_country, iter_seeds, listfiles, mailSend, matrixwd, msplit, myip, pass, quiet, read.file, statusbar, try_require, updateLares, zerovar