Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging collected tweets - union #23

Open
geoHeil opened this issue Dec 28, 2016 · 2 comments
Open

Merging collected tweets - union #23

geoHeil opened this issue Dec 28, 2016 · 2 comments

Comments

@geoHeil
Copy link

geoHeil commented Dec 28, 2016

data.table is used under the hood. How can I union multiple tweet sets loaded from disk? Trying to use data.table::funion did not work for me as this function does not seem to be available.

myDataFromDisk1 <- importData("Dez_28_14_33_13_2016_CET_#trump_TwitterData.csv","twitter")
myDataFromDisk2 <- importData("Dez_28_14_33_13_2016_CET_#trump_TwitterData.csv","twitter")
@timothyjgraham
Copy link
Contributor

Hi @geoHeil,

If I recall correctly, SocialMediaLab doesn't import every function in data.table and functions such as funion are not available in the user's global environment unless the data.table package is loaded manually by the user.

Have you tried using the rbind function on your data tables, i.e., newData <- rbind(myDataFromDisk1,myDataFromDisk2) ?

@geoHeil
Copy link
Author

geoHeil commented Jan 9, 2017

Strangely, even when loading data.table, data.table::funion will not become available for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants