api_fetch: Fetch from the NZ Statistics API

View source: R/statsnz.R

api_fetchR Documentation

Fetch from the NZ Statistics API

Description

Helper function to fetch information from the StatisticsNZ API

Usage

api_fetch(url_path, query = NULL)

Arguments

url_path

The subpath of the base-URL.

query

A query list for the API. Defaults to NULL (no query)

Value

The results of the GET request


jmarshallnz/statsNZ documentation built on Feb. 25, 2023, 4:53 a.m.