swim_db_data_load: Load college swimming results into a database.

Description Usage Arguments Details

Description

Load college swimming results into a database.

Usage

1
swim_db_data_load(con, data, conference_name)

Arguments

con

A SQLiteConnection object.

data

A data.frame containing swimming results. The data.frame should follow the form of a USA Swimming Top Times report and been cleaned by clean_swim().

conference_name

A character string providing the name of the conference repersented in /emphdata.

Details

swim_db_data_load() allows users to easily load swimming results data into a database. It is specifically designed to load data from from USA Swimmings Top Times Report. Conference data, team data, athlete data, meet data and result data is loaded into the database with the function.

The function is set up so only distinct data is stored. If a the function encounters a duplicate record it skips the records and moves on to the next record.


warlicks/swimR documentation built on May 4, 2019, 12:59 a.m.