2022-10-09This vignette introduces the Show
Data analysis using data.tableData manipulation operations such as subset, group, update, join etc., are all inherently related. Keeping these related operations together allows for:
Briefly, if you are interested in reducing programming and compute time tremendously, then this package is for you. The philosophy that DataIn this vignette, we will use NYC-flights14 data obtained by flights package (available on GitHub only). It contains On-Time flights data from the Bureau of Transporation Statistics for all the flights that departed from New York City airports in 2014 (inspired by nycflights13). The data is available only for Jan-Oct’14. We can use
Aside: IntroductionIn this vignette, we will
1. Basicsa) What is data.table?
You can also convert existing objects to a Note that:
b) General form - in what way is a data.table enhanced?In contrast to a
Users who have an SQL background might perhaps immediately relate to this syntax. The way to read it (out loud) is:Take Let’s begin by looking at c) Subset rows in i– Get all the flights with “JFK” as the origin airport in the month of June.
– Get the first two rows from |