Skip to content

Commit 3aa4ac6

Browse files
authored
Add 'data/portal-teachingdb-master.zip' with all data files used in the lesson
2 parents 54f5926 + c9e124a commit 3aa4ac6

3 files changed

Lines changed: 13 additions & 14 deletions

File tree

_episodes/05-merging-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ new_output = pd.read_csv('data_output/out.csv', keep_default_na=False, na_values
139139

140140
> ## Challenge - Combine Data
141141
>
142-
> In the data folder, there are two survey data files: `survey2001.csv` and
143-
> `survey2002.csv`. Read the data into Python and combine the files to make one
142+
> In the data folder, there are two survey data files: `surveys2001.csv` and
143+
> `surveys2002.csv`. Read the data into Python and combine the files to make one
144144
> new data frame. Create a plot of average plot weight by year grouped by sex.
145145
> Export your results as a CSV and make sure it reads back into Python properly.
146146
{: .challenge}

data/portal-teachingdb-master.zip

673 KB
Binary file not shown.

setup.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,22 @@ title: Setup
44
---
55

66
> ## Data
7-
> Data for this lesson is from the Portal Project Teaching Database -
8-
> [available on FigShare](https://figshare.com/articles/Portal_Project_Teaching_Database/1314459).
9-
>
10-
> We will use the six files listed below for the data in this lesson.
11-
> Download these files to your computer either by clicking
12-
> [this link](https://github.com/weecology/portal-teachingdb/archive/master.zip),
13-
> which will give you everything in a single compressed file.
14-
> You'll need to unzip this file after downloading it.
15-
>
16-
> Or download each file individually with the following links:
17-
>
7+
> Data for this lesson is from the
8+
> [Portal Project Teaching Database](https://figshare.com/articles/Portal_Project_Teaching_Database/1314459).
9+
> Specifically, we use the following eight data files:
1810
> - [surveys.csv](https://ndownloader.figshare.com/files/10717177)
11+
> - [surveys2001.csv]({{ page.root }}/data/yearly_files/surveys2001.csv)
12+
> - [surveys2002.csv]({{ page.root }}/data/yearly_files/surveys2002.csv)
1913
> - [species.csv](https://ndownloader.figshare.com/files/3299483)
2014
> - [speciesSubset.csv]({{ page.root }}/data/speciesSubset.csv)
2115
> - [plots.csv](https://ndownloader.figshare.com/files/3299474)
2216
> - [bouldercreek_09_2013.txt]({{ page.root }}/data/bouldercreek_09_2013.txt)
23-
> - [SQL Database](https://ndownloader.figshare.com/files/11188550)
17+
> - [portal_mammals.sqlite](https://ndownloader.figshare.com/files/11188550)
18+
>
19+
> Please download them (by clicking on the corresponding links) and move them to the same directory, or
20+
> [download all the files as a zip]({{ page.root }}/data/portal-teachingdb-master.zip)
21+
> which will give you everything in a single compressed file. You'll need to unzip
22+
> this file after downloading it.
2423
{: .prereq}
2524

2625

0 commit comments

Comments
 (0)