Editing Community Data Science Course (Spring 2023)/Week 6 coding challenges
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 41: | Line 41: | ||
# What specific measures associated with each unit do you want to collect? In other words, what are the columns in the spreadsheet going to be? | # What specific measures associated with each unit do you want to collect? In other words, what are the columns in the spreadsheet going to be? | ||
# Tell us what you've learned about the API: | # Tell us what you've learned about the API: | ||
## Are you going to be able to get the data you want with one API call or many? If more than one, how many? | ## Are you going to be able to get the data you want with one API call or many? If more than one, | ||
how many? | |||
## If it's more than one call, how will you know when you have collected all your data? | ## If it's more than one call, how will you know when you have collected all your data? | ||
# Make one API call and save the output to your desk in either a <code>.json</code> or <code>.jsonl</code> file. Be sure to share the code you used to do this. Be sure not to include any API keys in your notebook! | # Make one API call and save the output to your desk in either a <code>.json</code> or <code>.jsonl</code> file. Be sure to share the code you used to do this. Be sure not to include any API keys in your notebook! | ||
# How big is the JSON file that you saved on your disk (i.e., in bytes or kilobytes)? If it is not your full dataset, what is your estimate for how much larger the full dataset will be? How big will the total dataset be? Is that a problem? | # How big is the JSON file that you saved on your disk (i.e., in bytes or kilobytes)? If it is not your full dataset, what is your estimate for how much larger the full dataset will be? How big will the total dataset be? Is that a problem? |