Skip to contents

Create invented NIS Parquet files

Usage

nis_example(years = 2017:2022)

Arguments

years

Years to create, from 2012 through 2024. Years before 2016 are experimental. The 2015 fixture has separate ICD-9 and ICD-10 slots, with invented codes and version indicators; it is not a clinical crosswalk.

Value

The temporary directory containing NIS_<year>.parquet/ entries.

Examples

path <- nis_example(years = 2019:2020)
list.files(path)
#> [1] "NIS_2019.parquet" "NIS_2020.parquet"