Skip to content

Commit

Permalink
Merge pull request #1024 from devinit/feature/oecd-jan-2024
Browse files Browse the repository at this point in the history
Ignore CRS READMEs
  • Loading branch information
akmiller01 committed Jan 3, 2024
2 parents 9121b49 + 52102d6 commit 1af2d7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data_updates/Python/download_oecd.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ def download(scrape_path, download_path, output_folder_prefix):
to_get.sort()

# Download the files in order.
bad_file_names = [" ", "README "]
for file_to_get in to_get:
if file_to_get in bad_file_names:
continue

# Replace the "_" in the file ids with "-".
uri_suffix = files_to_download[file_to_get].replace("_", "-")
Expand Down

0 comments on commit 1af2d7c

Please sign in to comment.