def METHOD_NAME():
    descriptor = {
        "name": "capitals-and-schools",
        "resources": [
            {"name": "capital-invalid", "path": "data/invalid.csv"},
        ],
    }
    package = Package(descriptor)
    analysis = package.analyze()
    assert round(analysis["capital-invalid"]["averageRecordSizeInBytes"]) == 12
    assert analysis["capital-invalid"]["fields"] == 4
    assert analysis["capital-invalid"]["fieldStats"] == {}
    assert analysis["capital-invalid"]["rows"] == 4
    assert analysis["capital-invalid"]["rowsWithNullValues"] == 3
    assert analysis["capital-invalid"]["notNullRows"] == 1
    assert analysis["capital-invalid"]["variableTypes"] == {}