count: Extract the count field from a JSON response

View source: R/count.R

countR Documentation

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)

Arguments

json_string

a string.

Value

An integer value.


quincunx documentation built on July 9, 2023, 7:32 p.m.