nancyzhu24 / nis2

An R package that load 2016-2018 NIS data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nis2

A R package that load 2016-2018 National Inpatient Sample (NIS) data

Overview

The National (Nationwide) Inpatient Sample (NIS) is a large publicly available all-payer inpatient care database in the United States, containing data on more than seven million hospital stays each year.

NIS data can be purchased through online HCUP Central Distributor. For details, please read the instructions Here

nis2 contains load function and file specifications to load NIS data from 2016 to 2018. Currently, only SAS, STATA and SPSS load program are available on NIS website. This package provides similar load program in R.

Installation

devtools::install_github("nancyzhu24/nis2")

Usage

#load NIS hospital data in 2016
load_nis(filepath,2016,'hospital')

About

An R package that load 2016-2018 NIS data


Languages

Language:R 100.0%