Skip to content

to add #19

@tlscherer

Description

@tlscherer

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions