-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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:
- Pre-2000 census data (1990, 2000) with suffixes
st99_dandst - Post-2013 census data with year-specific suffixes
- Other years with specific URL formats
- See this as an example of the complicated nature of building URLs: https://github.com/walkerke/tigris/blob/master/R/states.R
- Pre-2000 census data (1990, 2000) with suffixes
-
Support various resolution options for each year (500k, 5m, 20m)
Expected Outcomes
The created Julia function should:
- Generate a valid URL for downloading shapefiles from the TIGER database based on the provided parameters (year, resolution, etc.)
- Handle different years and formats for constructing URLs
- Support the different URLs needed to be constructed per datatype
- Provide flexibility in formatting URLs based on user preferences or configurations
Metadata
Metadata
Assignees
Labels
Type
Projects
Status