Package: tidyjson 0.3.2.9000

tidyjson: Tidy Complex 'JSON'

Turn complex 'JSON' data into tidy data frames.

Authors:Jeremy Stanley [aut], Cole Arendt [aut, cre]

tidyjson_0.3.2.9000.tar.gz
tidyjson_0.3.2.9000.zip(r-4.5)tidyjson_0.3.2.9000.zip(r-4.4)tidyjson_0.3.2.9000.zip(r-4.3)
tidyjson_0.3.2.9000.tgz(r-4.4-any)tidyjson_0.3.2.9000.tgz(r-4.3-any)
tidyjson_0.3.2.9000.tar.gz(r-4.5-noble)tidyjson_0.3.2.9000.tar.gz(r-4.4-noble)
tidyjson_0.3.2.9000.tgz(r-4.4-emscripten)tidyjson_0.3.2.9000.tgz(r-4.3-emscripten)
tidyjson.pdf |tidyjson.html
tidyjson/json (API)
NEWS

# Install 'tidyjson' in R:
install.packages('tidyjson', repos = c('https://colearendt.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/colearendt/tidyjson/issues

Datasets:
  • commits - Commit data for the dplyr repo from github API
  • companies - Startup company information for 1,000 companies
  • issues - Issue data for the dplyr repo from github API
  • worldbank - Projects funded by the World Bank

On CRAN:

10.52 score 183 stars 7 packages 498 scripts 3.5k downloads 1 mentions 39 exports 23 dependencies

Last updated 2 years agofrom:797735b7ca. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winNOTENov 02 2024
R-4.5-linuxNOTENov 02 2024
R-4.4-winNOTENov 02 2024
R-4.4-macNOTENov 02 2024
R-4.3-winOKNov 02 2024
R-4.3-macOKNov 02 2024

Exports:%>%append_values_logicalappend_values_numberappend_values_stringas_data_frameas_data_frame.tbl_jsonas_tbl_jsonas_tibbleas.tbl_jsonbind_rowsenter_objectfiltergather_arraygather_keysgather_objectis_json_arrayis_json_logicalis_json_nullis_json_numberis_json_objectis_json_scalaris_json_stringis.tbl_jsonjdoublejintegerjlogicaljnumberjson_complexityjson_getjson_get_columnjson_lengthsjson_schemajson_structurejson_typesjstringread_jsonspread_allspread_valuestbl_json

Dependencies:assertthatclicpp11dplyrfansigenericsgluejsonlitelifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr

Introduction to tidyjson

Rendered fromintroduction-to-tidyjson.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2023-01-12
Started: 2015-04-21

Visualizing JSON schema

Rendered fromvisualizing-json.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2020-04-19
Started: 2016-08-26

Readme and manuals

Help Manual

Help pageTopics
Extract subsets of a tbl_json object (not replace)[.tbl_json
Fundamental JSON types from http://json.org/, where I collapse 'true' and 'false' into 'logical'allowed_json_types
Appends all JSON values with a specified type as a new columnappend_values append_values_logical append_values_number append_values_string
Convert a tbl_json back to a tbl_dfas_data_frame.tbl_json as_tibble.tbl_json
Convert the JSON in an tbl_json object back to a JSON stringas.character.tbl_json
Commit data for the dplyr repo from github APIcommits
Startup company information for 1,000 companiescompanies
Enter into a specific object and discard all other JSON dataenter_object
Gather a JSON array into index-value pairsgather_array
Gather a JSON object into name-value pairsgather_keys gather_object
Predicates to test for specific JSON types in 'tbl_json' objectsis_json is_json_array is_json_logical is_json_null is_json_number is_json_object is_json_scalar is_json_string
Issue data for the dplyr repo from github APIissues
Compute the complexity (recursively unlisted length) of JSON datajson_complexity
Navigates nested objects to get at names of a specific type, to be used as arguments to 'spread_values'jdouble jinteger jlogical jnumber json_functions jstring
Get JSON from a tbl_jsonjson_get
Make the JSON data a persistent columnjson_get_column
Compute the length of JSON datajson_lengths
Create a schema for a JSON document or collectionjson_schema
Recursively structures arbitrary JSON data into a single data framejson_structure
Add a column that tells the 'type' of the JSON datajson_types
Print a tbl_json objectprint.tbl_json
Bind two tbl_json objects together and preserve JSON attributerbind_tbl_json
Reads JSON from an input uri (file, url, ...) and returns a 'tbl_json' objectread_json
Spreads all scalar values of a JSON object into new columnsspread_all
Spreads specific scalar values of a JSON object into new columnsspread_values
Combines structured JSON (as a data.frame) with remaining JSONas.tbl_json as.tbl_json.character as.tbl_json.data.frame as.tbl_json.list as.tbl_json.tbl_json as_tbl_json is.tbl_json tbl_json
tidyjsontidyjson
Projects funded by the World Bankworldbank