{"id":{"repo_id":"iastate","oai_identifier":"oai:dr.lib.iastate.edu:20.500.12876/29826"},"canonical_url":"https://search.ndltd.org/etd/iastate/oai:dr.lib.iastate.edu:20.500.12876/29826","repository":{"repo_id":"iastate","name":"Iowa State University","base_url":"https://dr.lib.iastate.edu/server/oai/request"},"display":{"title":"Methods for extracting data from the Internet","abstract":"<p>The advent of the Internet has yielded exciting new opportunities for the collection of large amounts of structured and unstructured social scientific data. This thesis describes two such methods for harvesting data from websites and web services: web-scraping and connecting to an application programming interface (API). I describe the development and implementation of tools for each of these methods. In my review of the two related, yet distinct data collection methods, I provide concrete examples of each. To illustrate the first method, ‘scraping’ data from publicly available data repositories (specifically the Google Books Ngram Corpus), I developed a tool and made it available to the public on a web site. The Google Books Ngram Corpus contains groups of words used in millions of books that were digitized and catalogued. The corpus has been made available for public use, but in current form, accessing the data is tedious, time consuming and error prone. For the second method, utilizing an API from a web service (specifically the Twitter Streaming API), I used a code library and the R programming language to develop a program that connects to the Twitter API to collect public posts known as tweets. I review prior studies that have used these data, after which, I report results from a case study involving references to countries. The relative prestige of nations are compared based on the frequency of mentions in English literature and mentions in tweets.</p>","abstract_html":"&lt;p&gt;The advent of the Internet has yielded exciting new opportunities for the collection of large amounts of structured and unstructured social scientific data. This thesis describes two such methods for harvesting data from websites and web services: web-scraping and connecting to an application programming interface (API). I describe the development and implementation of tools for each of these methods. In my review of the two related, yet distinct data collection methods, I provide concrete examples of each. To illustrate the first method, ‘scraping’ data from publicly available data repositories (specifically the Google Books Ngram Corpus), I developed a tool and made it available to the public on a web site. The Google Books Ngram Corpus contains groups of words used in millions of books that were digitized and catalogued. The corpus has been made available for public use, but in current form, accessing the data is tedious, time consuming and error prone. For the second method, utilizing an API from a web service (specifically the Twitter Streaming API), I used a code library and the R programming language to develop a program that connects to the Twitter API to collect public posts known as tweets. I review prior studies that have used these data, after which, I report results from a case study involving references to countries. The relative prestige of nations are compared based on the frequency of mentions in English literature and mentions in tweets.&lt;/p&gt;","abstract_has_math":false,"creators":["Willers, Joel"],"institution":null,"degree_name":"Master of Science","degree_level":"thesis","degree_discipline":"Sociology","degree_department":"Department of Sociology and Criminal Justice (LAS)","school":null,"contributors":[],"advisors":["Shawn Dorius"],"committee_chairs":[],"committee_members":[],"year":2017,"date_issued":"2017-01-01","date_published":"2017-01-01","updated_at":"2026-11-19T04:35:44Z","subjects":[],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/29826"],"render_values":[{"text":"https://dr.lib.iastate.edu/handle/20.500.12876/29826","href":"https://dr.lib.iastate.edu/handle/20.500.12876/29826","code":true}]},{"key":"dc:identifier","label":"Identifier","values":["archive/lib.dr.iastate.edu/etd/15643/"],"render_values":[{"text":"archive/lib.dr.iastate.edu/etd/15643/","href":null,"code":true}]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["6650","11058420"],"render_values":[{"text":"6650","href":null,"code":true},{"text":"11058420","href":null,"code":true}]},{"key":"mods:identifier.filename","label":"Mods Identifier Filename","values":["archive/lib.dr.iastate.edu/etd/15643/Willers_iastate_0097M_16725.pdf|||Fri Jan 14 20:44:20 UTC 2022"],"render_values":[{"text":"archive/lib.dr.iastate.edu/etd/15643/Willers_iastate_0097M_16725.pdf|||Fri Jan 14 20:44:20 UTC 2022","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31274/etd-180810-5256","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.31274/etd-180810-5256","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":"embargoed","embargo_until":"2001-01-01","access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aiastate%3Aoai%3Adr.lib.iastate.edu%3A20.500.12876%2F29826","prefix":"oai_dc"},"source_record":{"url":"https://dr.lib.iastate.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.lib.iastate.edu%3A20.500.12876%2F29826","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Shawn Dorius"]},{"key":"dc:contributor.department","label":"Department","values":["Department of Sociology and Criminal Justice (LAS)"]},{"key":"dc:creator","label":"Author","values":["Willers, Joel"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2018-08-11T14:44:33.000"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2020-06-30T03:05:24Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2020-06-30T03:05:24Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["Sun Jan 01 00:00:00 UTC 2017"]},{"key":"dc:date.embargo","label":"Dc Date Embargo","values":["2001-01-01"]},{"key":"dc:date.issued","label":"Date","values":["2017-01-01"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["84d83d09-42ff-424d-80f2-a35244368443"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Sociology"]},{"key":"thesis:degree_level","label":"Degree Level","values":["thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.discipline","label":"Dc Subject Discipline","values":["Sociology"]},{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Google Books","national prestige","ngrams","streaming API","Twitter","web scraping"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["archive/lib.dr.iastate.edu/etd/15643/"]},{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.31274/etd-180810-5256"]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["6650","11058420"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/29826"]},{"key":"mods:identifier.filename","label":"Mods Identifier Filename","values":["archive/lib.dr.iastate.edu/etd/15643/Willers_iastate_0097M_16725.pdf|||Fri Jan 14 20:44:20 UTC 2022"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["<p>The advent of the Internet has yielded exciting new opportunities for the collection of large amounts of structured and unstructured social scientific data. This thesis describes two such methods for harvesting data from websites and web services: web-scraping and connecting to an application programming interface (API). I describe the development and implementation of tools for each of these methods. In my review of the two related, yet distinct data collection methods, I provide concrete examples of each. To illustrate the first method, ‘scraping’ data from publicly available data repositories (specifically the Google Books Ngram Corpus), I developed a tool and made it available to the public on a web site. The Google Books Ngram Corpus contains groups of words used in millions of books that were digitized and catalogued. The corpus has been made available for public use, but in current form, accessing the data is tedious, time consuming and error prone. For the second method, utilizing an API from a web service (specifically the Twitter Streaming API), I used a code library and the R programming language to develop a program that connects to the Twitter API to collect public posts known as tweets. I review prior studies that have used these data, after which, I report results from a case study involving references to countries. The relative prestige of nations are compared based on the frequency of mentions in English literature and mentions in tweets.</p>"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Methods for extracting data from the Internet"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:admin","label":"Local Admin","values":["isulib-bepress-aws-west","etd/15643"]}]}],"canonical_facts":{"dc:contributor.advisor":["Shawn Dorius"],"dc:contributor.department":["Department of Sociology and Criminal Justice (LAS)"],"dc:creator":["Willers, Joel"],"dc:date":["2018-08-11T14:44:33.000"],"dc:date.accessioned":["2020-06-30T03:05:24Z"],"dc:date.available":["2020-06-30T03:05:24Z"],"dc:date.copyright":["Sun Jan 01 00:00:00 UTC 2017"],"dc:date.embargo":["2001-01-01"],"dc:date.issued":["2017-01-01"],"dc:description.abstract":["<p>The advent of the Internet has yielded exciting new opportunities for the collection of large amounts of structured and unstructured social scientific data. This thesis describes two such methods for harvesting data from websites and web services: web-scraping and connecting to an application programming interface (API). I describe the development and implementation of tools for each of these methods. In my review of the two related, yet distinct data collection methods, I provide concrete examples of each. To illustrate the first method, ‘scraping’ data from publicly available data repositories (specifically the Google Books Ngram Corpus), I developed a tool and made it available to the public on a web site. The Google Books Ngram Corpus contains groups of words used in millions of books that were digitized and catalogued. The corpus has been made available for public use, but in current form, accessing the data is tedious, time consuming and error prone. For the second method, utilizing an API from a web service (specifically the Twitter Streaming API), I used a code library and the R programming language to develop a program that connects to the Twitter API to collect public posts known as tweets. I review prior studies that have used these data, after which, I report results from a case study involving references to countries. The relative prestige of nations are compared based on the frequency of mentions in English literature and mentions in tweets.</p>"],"dc:format.mimetype":["application/pdf"],"dc:identifier":["archive/lib.dr.iastate.edu/etd/15643/"],"dc:identifier.doi":["https://doi.org/10.31274/etd-180810-5256"],"dc:identifier.other":["6650","11058420"],"dc:identifier.uri":["https://dr.lib.iastate.edu/handle/20.500.12876/29826"],"dc:language.iso":["en"],"dc:relation.orgunit":["84d83d09-42ff-424d-80f2-a35244368443"],"dc:subject.discipline":["Sociology"],"dc:subject.keyword":["Google Books","national prestige","ngrams","streaming API","Twitter","web scraping"],"dc:title":["Methods for extracting data from the Internet"],"dc:type":["thesis"],"dspace:entity.type":["Publication"],"local:admin":["isulib-bepress-aws-west","etd/15643"],"mods:identifier.filename":["archive/lib.dr.iastate.edu/etd/15643/Willers_iastate_0097M_16725.pdf|||Fri Jan 14 20:44:20 UTC 2022"],"thesis:degree_discipline":["Sociology"],"thesis:degree_level":["thesis"],"thesis:degree_name":["Master of Science"]},"updated_at":"2026-11-19T04:35:44Z"}