Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

Assignment - Develop technical documentation, including the development of the code & detailing the results.

Provide a report on the findings that includes research into the ethics & security ramifications of your ability to data scrape, and any suggested mitigations (if required).

During the process of development of this code, the following functions were developed:

lexical_diversity - It returns the lexical diversity of the tokens passed to it

average_words - It returns the average number of words per tweet of the array passed to it

plotGraph - It makes the graph i.e. A line based on the arguments passed to t

Get_all_tweets - It returns the following arguments:

  • Set of tokens of the text of all the tweets of the person given as a parameter
  • Sensitive tweets by the person
  • Retweet Count of the person
  • Favourite Count of the person
  • TextArr of the person

The Number of tweets is given as a constant.

For the analysis, I have taken the number of tweets to be 100

Steps undertaken:

First our application is authenticated using twitter's modules

Then get_all_tweets is passed

  • Donald Trump's Twitter handle
  • Barack Obama's Twitter Handle

Their parameters are extracted

Then Favourite Count and Retweet Count is plotted for both of them

The average of the following attributes is also printed

  • Number of retweets
  • Number of Sensitive Tweets
  • Favourite Count of their tweets
  • Lexical Diversity
  • Words used in the tweet

Then tokens used by both people are plotted

Inferences -

  • It can be inferred comfortably that Obama is much more famous than Trump
  • The lexical diversity of Obama is greater than Trump
  • The number of words used by Trump is greater than Obama in his tweets
  • The number of retweets and favourite count of Obama is almost 10x of that of Trump
  • Both the leaders have 0 sensitive tweets

Ethics and Security Ramifications

  • It is said that a tool can be used both for helping the humanity as well as destroying it.
  • For example, a knife can be used for both cutting vegetables as well as harming humans
  • Similar is this tool developed above
  • Using this tool, we can search for patterns in the tweets, analyse them , generate useful conclusion etc but the same program can be used to take out patterns which can potentially harm the person
  • In addition to this, though some people complain about privacy regarding this program but people must understand that twitter is an online public platform thus your tweets are already in public domain just program parsing it and analysing it does no harm.

Attachment:- Assignment File.rar

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M92478349

Have any Question?


Related Questions in Homework Help/Study Tips

Question you will provide a comprehensive discussion of

Question: You will provide a comprehensive discussion of place or distribution strategies of Netflix and Competitive Advantage. Place -This section will provide a comprehensive look at the distribution strategy of your o ...

Question the most effective presentations are customized to

Question: The most effective presentations are customized to the intended audience. Consider how the audience can influence the messaging for a presentation topic. Part A: Select one topic and one audience from the follo ...

Questions read each question and select the correct answer1

Questions: Read each question and select the correct answer. 1. Susie has never felt comfortable with her therapist. While she has no reason for her feelings, she is easily angered by his questions and feels as though he ...

Manual recording and computerised accounts using myob case

Manual Recording and Computerised Accounts using MYOB Case Study - Brisbane Divers Part A: Manual Recording To record transactions manually, you must use the Excel files provided on the unit Canvas. Handwritten work or E ...

Perspectives Perspectives in Child and Family Studies Ethical Dilemmas Paper In this

Perspectives in Child and Family Studies Ethical Dilemmas Paper In this paper, you will (1) discuss potential ethical issues in working with children, adults, and  families, (2) develop ethical decision-making skills and ...

Question why are people easily fooled by false information

Question: Why are people easily fooled by false information, why are we gullible to advertising, or to conspiracy theories and superstitions? Give an example from your own experience, 250 words, The response must be type ...

Question essay answers must be attached as word documents

Question: Essay answers must be attached as Word documents to the appropriate assignment page. In addition to writing a 300 word answer to each essay question with APA formatted citations and references (APA title page a ...

Provide financial business recommendationsperformance

Provide financial business recommendations Performance objective You are required to demonstrate the ability to collect and analyse financial data to make practical financial business recommendations as well as identify ...

Question you are a business consultant to the national

Question: You are a business consultant to the National Minority Supplier Development Council. An international petroleum products distribution company, based in the U.S., consults with you on cultural diversity matters. ...

Please review this essay for grammar hitting the topic

Please review this essay for grammar, hitting the topic asked, and clarity. Question that I am answering is in the document. Rating Criteria - 1. Student used standard essay format: Introduction/Body/Conclusion. 2. Stude ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As