R-CMD-check / R CMD check (push) Failing after 1m32s
- Wrap get_fips/get_stabbr examples in dontrun (tidycensus is Suggests) - Add .gitea to .Rbuildignore (hidden dir note) - Add importFrom(datasets, state.abb/state.name) for postcode_lookup - Remove LazyData: true (no data/ directory)
23 lines
471 B
R
23 lines
471 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/utils.R
|
|
\name{get_stabbr}
|
|
\alias{get_stabbr}
|
|
\title{Get the state abbreviation from a given FIPS Code}
|
|
\usage{
|
|
get_stabbr(fips)
|
|
}
|
|
\arguments{
|
|
\item{fips}{a character value that captures the FIPS code with leading 0}
|
|
}
|
|
\value{
|
|
a character value, length 2, with the state abbreviation
|
|
}
|
|
\description{
|
|
Get the state abbreviation from a given FIPS Code
|
|
}
|
|
\examples{
|
|
\dontrun{
|
|
get_stabbr("06")
|
|
}
|
|
}
|