USGS-R / gsplot

plotting foundation for timeseries reporting
Other
6 stars 14 forks source link

Add metadata #421

Closed lindsayplatt closed 7 years ago

lindsayplatt commented 7 years ago

Now each gsplot object will have a top-level list called metadata. This PR adds 2 fields: created which is the date the object is/was created and gsplot.version the gsplot version used to create the object. Both can be manually input as arguments to gsplot().

This PR also adds to access functions to get those metadata values - whatDate and whatVersion.

See #304

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.09%) to 82.226% when pulling d0d1e7f5d8e431787f9247aa23e7d1b925dff6df on lindsaycarr:addMetadata into e83939801c276a1aadcc236ddb7a662fb05ad2aa on USGS-R:master.

ldecicco-USGS commented 7 years ago

What is this magic "Approved" that you guys are doing?

lindsayplatt commented 7 years ago

@jiwalker-usgs I think there were other metadata that people suggested, but we decided that #304 would just be the gsplot version and date.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.09%) to 82.226% when pulling 23272800f3d0be1340fbc725d2e295bc7d696800 on lindsaycarr:addMetadata into e83939801c276a1aadcc236ddb7a662fb05ad2aa on USGS-R:master.

lindsayplatt commented 7 years ago

@jread-usgs the appveyor build failed...is that OK?