appreaddata: Read a datafile from the DataMuster database

View source: R/appreaddata.R

appreaddataR Documentation

Read a datafile from the DataMuster database

Description

This function reads cattle data from a file and prepares the data for table display on the DataMuster website

Usage

appreaddata(property, filepath, filetype, username, password)

Arguments

property

the name of the property of the registered user

filepath

the path of the file to be read, determined by navigation by the user to the file after selecting the 'Browse' button

filetype

the type of file to be read, "DataMuster WoW (.txt)", "DataMuster EID (.txt)", "Gallagher TSi Session Data (.csv)" or "Calving Data (.csv)"

username

a username to access the DataMuster database

password

a password to access the DataMuster database

Value

a dataframe containing the data from the file

Author(s)

Dave Swain d.swain@cqu.edu.au and Lauren O'Connor l.r.oconnor@cqu.edu.au


PrecisionLivestockManagement/DMApp documentation built on Aug. 21, 2023, 4:42 p.m.