{lubridate}
get days component of date-time
{base}
load R packages
{DBI}
return results of database query as data frame
{dplyr}
keep rows based on values of columns
{dplyr}
create a database table from data source
{dplyr}
return current group size
{base}
divide range of vector into intervals
{base}
calculate mean of elements of vector
{dplyr}
group data by levels of column
{lubridate}
return or set month component of a date-time
{base}
create vector of numbers, characters, etc.
{dplyr}
retrieve data from a database into a local tibble
{dplyr}
change order of rows based on values of columns
{DBI}
write a data frame to database table
{dplyr}
find the next values in a vector
{dplyr}
change column order
{dplyr}
find the previous values in a vector
{dplyr}
join two data sets keeping the observations in the left one
{dplyr}
conditionally set values across multiple conditions
{dplyr}
vectorized if statement that checks conditionals and returns different outputs based on answer
{dplyr}
give details about database table object
{dplyr}
summarize data usually by grouping variable
{dplyr}
order in descending order
{stats}
compute sample median
{dplyr}
keep specified columns
{base}
determine whether elements of vector are missing
{DBI}
create connection to database
{tibble}
coerce object into tibble
{dplyr}
create or modify data columns
{lubridate}
return or set year component of a date-time
{dplyr}
rename columns
{DBI}
read database table to data frame
The end!