Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
About
People
Publications
Teaching
Resources
Research Blog
Wiki Functions
Recent changes
Help
Licensing
Page
Discussion
Edit
View history
Editing
HCDS (Fall 2017)/Programming resources
From CommunityData
Jump to:
navigation
,
search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== A1: Data curation programming concepts in Python == === API requests and JSON === ''Note that the APIs used in these tutorials and examples are slightly different in structure from the [https://wikimedia.org/api/rest_v1/ Wikimedia REST API] that you will be querying for this assignment.'' * [[Community_Data_Science_Course_(Spring_2017)/Day_6_Notes|An interactive lecture on API requests and JSON]] * [[DS4UX_(Spring_2016)/Day_5_lecture|Another interactive lecture on API requests and JSON]]] * [https://mako.cc/teaching/2014/cdsw-autumn/lecture2-web_apis.pdf Lecture slides introducing APIs, HTTP requests, and JSON] * [https://github.com/makoshark/wikipedia-cdsw/blob/master/building-a-query.md Jupyter notebook on making API requests] * [http://docs.python-requests.org/en/master/ Documentation for the Python requests library]: Excellent source of information on how to use the <tt>requests</tt> library. === Dictionaries === * [[DS4UX_(Spring_2016)/Day_3_lecture#Dictionaries|Intro to dictionaries]]: a short overview of working with Python dictionaries. Download the code examples to play along. === CSVs === * [[DS4UX_(Spring_2016)/Reading_and_writing_files|Reading and writing files to CSV]]: interactive exercise on reading and writing to CSV, with code samples you can download and run. == General resources == * [http://learnpython.org/ Learn Python] provides interactive tutorials for familiarizing yourself with basic Python programming concepts, operations, and syntax. * [https://jsonformatter.curiousconcept.com/ JSON formatter and validator]: a web tool that you can paste JSON into to see it's structure more easily. [[Category:HCDS (Fall 2017)]]
Summary:
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see
CommunityData:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Tools
What links here
Related changes
Special pages
Page information