list_content_areas: List all content areas

View source: R/list_content_areas.R

list_content_areasR Documentation

List all content areas

Description

Lists the content areas available on the CDC Tracking Network. Content areas are the highest level of categorization on the CDC Tracking Network.

Usage

list_content_areas(token = NULL)

Arguments

token

An optional argument to submit a Tracking API token acquired from trackingsupport(AT)cdc.gov as a quoted string. It is recommended that you save your token using the tracking_api_token() function so that you don't need to enter your token when you run this function. It will be automatically pulled from you .Renviron file.

Value

This function returns a data frame containing all content area names, shortNames, and IDs.

Examples

## Not run: 

#return a comprehensive inventory of all content areas
list_content_areas()

## End(Not run)

CDCgov/EPHTrackR documentation built on June 6, 2024, 9:21 a.m.