sfbrigade / analytics

Analytics project, encompassing metrics for engagement and more.
MIT License
3 stars 1 forks source link

Username and email not always displaying in member_analytics #10

Closed gregboyer closed 2 years ago

gregboyer commented 2 years ago

Many usernames and emails are displaying in member_analytics as NaN. When queuing user_list_data (https://api.slack.com/methods/users.list), example id 'U02BF7TJ99V' has neither value populated. However, when exporting the user list from slack admin tools, I see "Cultivate Team" as the name, and an email is present.

gregboyer commented 2 years ago

Users are missing from user list entirely, so NaN when joined

rgowni1 commented 2 years ago

Thanks Greg, I noticed this but didn't realize Slack export generated values but the API didn't. Will take another look.

rgowni1 commented 2 years ago

https://github.com/sfbrigade/analytics/pull/12 - Should fix this, just needed a user list refresh.