-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Saving dataset with packages (New procedure) #28:
We're switching over to the recommended method of saving and loading datasets from a package
http://r-pkgs.had.co.nz/data.html
See convert_gw_to_nation.r for an example
We save a file locally as part of the package in a /data/ folder using the command
devtools::use_data(object_you_want_to_save,
overwrite = TRUE)
We then load it
data(object_you_want_to_save, package = "NamedEntities")
qdapTools %l% and Error in [.data.frame(key, c("x", "y")) : undefined columns selected #29:
For dumb reasons, qdapTools requires your lookup table to be a data.frame, even though it uses data.tables in the back end.
The error message is not that helpful.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels