import_db1b | R Documentation |
Imports data from BTS/RITA/Transtats files
import_db1b(c, t, zip = FALSE, auto = TRUE)
c |
Coupon csv file to be imported, in case of DB1B database |
t |
Ticket csv file to be imported, in case of DB1B database |
zip |
Should equal TRUE if original file comes from the BTS prezipped option. |
auto |
Automatically assigns object |
Coupon files can be found at https://www.transtats.bts.gov/Fields.asp?gnoyr_VQ=FLM. Ticket files can be found at https://www.transtats.bts.gov/Fields.asp?gnoyr_VQ=FKF. Both files should belong to the same year and same quarter. Note: We do recommend sparklyr to be used for larger sets of data. More information on variables to select and type of files to use can be found here
## Not run: import_db1b(skynet_example("Coupon_2001Q1.csv"), skynet_example("Ticket_2001Q1.csv")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.