Learn R Programming

quincunx (version 0.1.7)

count: Extract the count field from a JSON response

Description

This function takes a string with a JSON response and returns the value of the count field. If it fails to match the pattern then it returns NA_integer_.

Usage

count(json_string)

Value

An integer value.

Arguments

json_string

a string.