Skip to content

URL Helper Function #4

@TheCedarPrince

Description

@TheCedarPrince

Issue Description

Difficulty: Advanced Beginner

Time: 10 - 20 hours

Description: Create a Julia function that can construct URLs for downloading shapefiles from the TIGER database based on various parameters such as year, resolution, and other attributes. See the link to data files here: https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html

Notes: Although this task may take some time, I should note that the method for the initial implementation for one of these types could probably be repeated for the rest of these data types resulting in this maybe taking less time than anticipated.

Requirements

For each data type as follows:

  • ADDR
  • ADDRFEAT
  • ADDRFN
  • AIANNH
  • AITSN
  • ANRC
  • AREALM
  • AREAWATER
  • BG
  • CBSA
  • CD
  • COASTLINE
  • CONCITY
  • COUNTY
  • COUSUB
  • CSA
  • EDGES
  • ELSD
  • ESTATE
  • FACES
  • FACESAH
  • FACESAL
  • FACESMIL
  • FEATNAMES
  • INTERNATIONALBOUNDARY
  • LINEARWATER
  • METDIV
  • MIL
  • PLACE
  • POINTLM
  • PRIMARYROADS
  • PRISECROADS
  • PUMA
  • RAILS
  • ROADS
  • SCSD
  • SDADM
  • SLDL
  • SLDU
  • STATE
  • SUBBARRIO
  • TABBLOCK20
  • TBG
  • TRACT
  • TTRACT
  • UAC
  • UNSD
  • ZCTA520

The following needs to be performed:

  • Build URLs for different years of Census data, considering:

  • Support various resolution options for each year (500k, 5m, 20m)

Expected Outcomes

The created Julia function should:

  1. Generate a valid URL for downloading shapefiles from the TIGER database based on the provided parameters (year, resolution, etc.)
  2. Handle different years and formats for constructing URLs
  3. Support the different URLs needed to be constructed per datatype
  4. Provide flexibility in formatting URLs based on user preferences or configurations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions