pull_data: Pulling Data

Description Usage Arguments Value

View source: R/pull_data.R

Description

This will pull down data from NSSP's BioSense Platform. It assumes you have a valid connection to BioSense_Platform log-in.

Usage

1
pull_data(username, password, table, mft, start, end)

Arguments

username

Your BioSense username, as a string. This is the same username you may use to log into RStudio or Adminer.

password

Your BioSense password, as a string. This is the same password you may use to log into RStudio or Adminer.

table

The table that you want to retrieve the data from, as a string.

mft

The MFT (master facilities table) from where the facility names will be retrieved, as a string.

start

The start date time that you wish to begin pulling data from, as a string.

end

The end data time that you wish to stop pulling data from, as a string.

Value

A list of two data frames: first, raw data of all columns from the 'table' that was called; second, just the Facility_Name and C_Biosense_Facility_ID from the MFT table.


SophiaLC/IHI_DQ documentation built on Oct. 23, 2020, 2:35 a.m.