Skip to content

Commit

Permalink
initial commit for adding nhgis parser. created new file nhgis_parser…
Browse files Browse the repository at this point in the history
….jl, added imports to IPUMS.jl
  • Loading branch information
00krishna committed Jun 16, 2024
1 parent faf2673 commit d9a7cb0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/IPUMS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ module IPUMS
download as dl
import OpenAPI.Clients:
Client

import Shapefile:
Table
using DataFrames:
DataFrames,
DataFrame,
Expand Down Expand Up @@ -54,7 +55,7 @@ module IPUMS
=#

include("parsers/ddi_parser.jl")

include("parsers/nhgis_parser.jl")
#=
Exports
Expand Down
16 changes: 16 additions & 0 deletions src/parsers/nhgis_parser.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@


function load_nhgis_extract(fname::String)


gdf = DataFrame(Table(fname))

return gdf

end






0 comments on commit d9a7cb0

Please sign in to comment.