mikejohnson51 / hydrofab

Hydrofabric Fabricator
Creative Commons Zero v1.0 Universal
9 stars 4 forks source link

Working on test data #12

Closed dblodgett-usgs closed 2 years ago

dblodgett-usgs commented 2 years ago

I'm working through hydrofab to add some test data in preparation to use it to merge all the point of interest aggregated hydrofabrics together. A lot of code is in the new_hope_data.R with an eye on incorporating it down the road. I pulled most of it out of the reference fabric workflow and want to work it in here as you've done for parts of the uniform workflow.

dblodgett-usgs commented 2 years ago

@mikejohnson51 -- have a look at the commented code in here: https://github.com/mikejohnson51/hydrofab/pull/12/files#diff-d80f2ba85556607f33d0994714bb3ef78e7ed3cd65dc094d2e3e1cad6141aed1

You should be able to use the new_hope_reference.gpkg and/or new_hope_refactor.gpkg outputs that are cached in inst/extdata and loaded when you do source(system.file("extdata", "new_hope_data.R", package = "hydrofab"))

I added an html file with code coverage which currently shows: image