![]() If you receive an error message instead, try adding a new line of code at the very top of this file that reads: import pandas.You should see the three most recent texts you sent populate the code. Click on that line of code so that it is surrounded by a green box, and typing SHIFT+ENTER.df = pvh.load_csv(filepath="text_messages.csv", keep_type=False).Again, make sure that you’ve moved that CSV file into the folder you unzipped from GitHub. In the section of the code with a heading that reads “ Importing the text message data”, change the CSV filename in the following line the filename of your text message CSV.In the localhost window opened in your web browser, navigate to the text-message-analysis-notebook-master folder.This will open a terminal window and a browser window. Click the “Launch” icon beneath Jupyter Notebook. Open Anaconda-Navigator in your Applications folder.Drag the CSV file containing your text messages into this folder. Open the folder you unzipped from Jérémie’s GitHub repository, titled text-message-analysis-notebook-master.Then click the icon on the top left, “Copy From iPhone.” Save the CSV file. Once all text messages have populated the “data” column, select the person whose correspondence you’d like to analyze.All data is stored locally on your computer’s hard drive, and nothing will ever be transferred online. Data should begin transferring in PhoneView automatically.You may have to tell your phone that this laptop is a trusted device using an iCloud code sent via text, or by accepting it in a pop up window. Connect your phone with a USB cable to your laptop.Are you sure you want to open it?” click yes. When a message pops up reading “This is an application downloaded from the internet. Open PhoneView from your Applications folder.The installer file will automatically place Anaconda-Navigator in your Applications folder. Once downloaded, double click the installer file Anaconda3-2020.07-MacOSX-x86_64.pkg.Click the ‘Download’ button on this page, and for Mac, select “64-Bit Graphical Installer (462 MB).” Download Anaconda, a free, open-source distribution of Python and R.Click the green “Code ↓” button and select “Download Zip.” Download the code in Jérémie’s GitHub repository.If you have any trouble downloading your texts as a CSV file, if you don’t have the cable to connect your phone to your laptop, or if you would prefer not to use personal text messages for this exercise, feel free to use this sample CSV file adapted from the all-time greatest TV series.zip file and move the program to your Applications folder. ![]() ![]() ![]() Download the full, paid version of PhoneView using the link I shared in our Slack.Use them to visualize patterns in the relationship between you and a friend.Īn exercise designed by Jérémie Lumbroso, who will join us in class.įor those of you with Mac hardware, there are three elements you’ll need for this practicum: 1) PhoneView (software used for downloading text messages from your phone as plain text, CSV files on your laptop), 2) our visitor Jérémie Lumbroso’s code written in Python, and 3) Anaconda for opening and running Jérémie’s code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |