create_new_data: create_new_data

Description Usage Arguments Value Examples

View source: R/data.R

Description

create_new_data

Usage

1
create_new_data(firstname = NULL, surname = NULL, previous_data = NULL)

Arguments

firstname

First name of your kid. Defaut is NULL leading to John/Jane

surname

Surname of your kid. Defaut is NULLL leading to Doh.

previous_data

Prexisting data. Must be NULL or a csv leading to a dataframe Defaut is NULL leading to an empty data frame

Value

dataframe A dataframe with names as attributes and containing several columns : - Weight (numeric) - Temperature (numeric) - Date (datetime) - Hour (datetime) - Mother milk (numeric) - Powder milk (numeric) - Lactation left (boolean) - Lactation right (boolean) - Vomit (integer) - Urin (integer) - Poop (integer)

Examples

1
create_new_data(firstname = "Test", surname = "Retest")

jcorain/NewBoRn documentation built on Feb. 2, 2021, 11:50 a.m.