Learn R Programming

edfinr (version 0.1.1)

get_states: Get list of valid state codes

Description

Returns the valid two-letter state codes that can be used with get_finance_data

Usage

get_states()

Arguments

Value

A character vector of state codes

Examples

Run this code
# Get all valid state codes
states <- get_states()
head(states)

Run the code above in your browser using DataLab